Thread (2 messages) 2 messages, 2 authors, 2017-01-26

File Descriptor allocation

From: Yann Droneaud <hidden>
Date: 2017-01-26 14:33:22

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help