Searched refs:pidfd_file (Results 1 – 4 of 4) sorted by relevance
| /linux/net/core/ |
| H A D | scm.c | 491 struct file *pidfd_file = NULL; in scm_pidfd_recv() local 510 pidfd = pidfd_prepare(scm->pid, PIDFD_STALE, &pidfd_file); in scm_pidfd_recv() 513 if (pidfd_file) { in scm_pidfd_recv() 515 fput(pidfd_file); in scm_pidfd_recv() 521 if (pidfd_file) in scm_pidfd_recv() 522 fd_install(pidfd, pidfd_file); in scm_pidfd_recv()
|
| H A D | sock.c | 1920 struct file *pidfd_file = NULL; in sk_getsockopt() local 1941 pidfd = pidfd_prepare(peer_pid, flags, &pidfd_file); in sk_getsockopt() 1949 fput(pidfd_file); in sk_getsockopt() 1954 fd_install(pidfd, pidfd_file); in sk_getsockopt()
|
| /linux/kernel/ |
| H A D | pid.c | 674 struct file *pidfd_file; in pidfd_create() local 676 pidfd = pidfd_prepare(pid, flags, &pidfd_file); in pidfd_create() 680 fd_install(pidfd, pidfd_file); in pidfd_create()
|
| /linux/fs/notify/fanotify/ |
| H A D | fanotify_user.c | 845 struct file *f = NULL, *pidfd_file = NULL; in copy_event_to_user() local 915 pidfd = pidfd_prepare(event->pid, pidfd_flags, &pidfd_file); in copy_event_to_user() 943 if (pidfd_file) in copy_event_to_user() 944 fd_install(pidfd, pidfd_file); in copy_event_to_user() 957 if (pidfd_file) { in copy_event_to_user() 959 fput(pidfd_file); in copy_event_to_user()
|