File Descriptor allocation
Jan. 26, 2017
1:56 p.m.
Hi, i would like to know how a fd is allocated to a process? Flow chat of function calling, i.e which function are called during allocation of fd to a process. please help with this. Thanx in advance Regards, Vishal Chopra +91-7837583269
Jan. 26, 2017
2:33 p.m.
Hi, Le jeudi 26 janvier 2017 à 19:26 +0530, vish chopra a écrit :
i would like to know how a fd is allocated to a process? Flow chat of function calling, i.e which function are called during allocation of fd to a process.
Have a look at get_unused_fd_flags() and fd_install() (also anon_inode_getfd(), but you should probably not use it). Regards. -- Yann Droneaud OPTEYA
3487
Age (days ago)
3487
Last active (days ago)
1 comments
2 participants
participants (2)
-
vish chopra -
Yann Droneaud