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 _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies