Searched refs:pidfd_file (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/include/net/ |
H A 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()
|
/openbmc/linux/kernel/ |
H A 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()
|
H A D | fork.c | 2131 struct file *pidfd_file; in __pidfd_prepare() local 2140 pidfd_file = anon_inode_getfile("[pidfd]", &pidfd_fops, pid, in __pidfd_prepare() 2142 if (IS_ERR(pidfd_file)) { in __pidfd_prepare() 2144 return PTR_ERR(pidfd_file); in __pidfd_prepare() 2147 *ret = pidfd_file; in __pidfd_prepare()
|
/openbmc/linux/fs/notify/fanotify/ |
H A D | fanotify_user.c | 659 struct file *f = NULL, *pidfd_file = NULL; in copy_event_to_user() local 741 pidfd = pidfd_prepare(event->pid, 0, &pidfd_file); in copy_event_to_user() 771 if (pidfd_file) in copy_event_to_user() 772 fd_install(pidfd, pidfd_file); in copy_event_to_user() 785 if (pidfd_file) { in copy_event_to_user() 787 fput(pidfd_file); in copy_event_to_user()
|
/openbmc/linux/net/core/ |
H A D | sock.c | 1784 struct file *pidfd_file = NULL; in sk_getsockopt() local 1797 pidfd = pidfd_prepare(peer_pid, 0, &pidfd_file); in sk_getsockopt() 1805 fput(pidfd_file); in sk_getsockopt() 1810 fd_install(pidfd, pidfd_file); in sk_getsockopt()
|