Searched refs:pidfd_file (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/include/net/ |
D | scm.h | 126 struct file *pidfd_file = NULL; in scm_pidfd_recv() local 145 pidfd = pidfd_prepare(scm->pid, 0, &pidfd_file); in scm_pidfd_recv() 148 if (pidfd_file) { in scm_pidfd_recv() 150 fput(pidfd_file); in scm_pidfd_recv() 156 if (pidfd_file) in scm_pidfd_recv() 157 fd_install(pidfd, pidfd_file); in scm_pidfd_recv()
|
/Linux-v6.6/kernel/ |
D | pid.c | 601 struct file *pidfd_file; in pidfd_create() local 603 pidfd = pidfd_prepare(pid, flags, &pidfd_file); in pidfd_create() 607 fd_install(pidfd, pidfd_file); in pidfd_create()
|
D | fork.c | 2132 struct file *pidfd_file; in __pidfd_prepare() local 2141 pidfd_file = anon_inode_getfile("[pidfd]", &pidfd_fops, pid, in __pidfd_prepare() 2143 if (IS_ERR(pidfd_file)) { in __pidfd_prepare() 2145 return PTR_ERR(pidfd_file); in __pidfd_prepare() 2148 *ret = pidfd_file; in __pidfd_prepare()
|
/Linux-v6.6/fs/notify/fanotify/ |
D | fanotify_user.c | 666 struct file *f = NULL, *pidfd_file = NULL; in copy_event_to_user() local 721 pidfd = pidfd_prepare(event->pid, 0, &pidfd_file); in copy_event_to_user() 754 if (pidfd_file) in copy_event_to_user() 755 fd_install(pidfd, pidfd_file); in copy_event_to_user() 767 fput(pidfd_file); in copy_event_to_user()
|
/Linux-v6.6/net/core/ |
D | sock.c | 1772 struct file *pidfd_file = NULL; in sk_getsockopt() local 1785 pidfd = pidfd_prepare(peer_pid, 0, &pidfd_file); in sk_getsockopt() 1793 fput(pidfd_file); in sk_getsockopt() 1798 fd_install(pidfd, pidfd_file); in sk_getsockopt()
|