Searched refs:replace_fd (Results 1 – 7 of 7) sorted by relevance
| /linux/include/linux/ |
| H A D | file.h | 88 extern int replace_fd(unsigned fd, struct file *file, unsigned flags);
|
| /linux/tools/lib/bpf/ |
| H A D | bpf.h | 355 int replace_fd; 347 int replace_fd; global() member
|
| H A D | bpf.c | 665 attr.replace_bpf_fd = OPTS_GET(opts, replace_fd, 0); in bpf_prog_attach_opts()
|
| /linux/fs/ |
| H A D | file.c | 1347 int replace_fd(unsigned fd, struct file *file, unsigned flags) in replace_fd() function 1418 error = replace_fd(new_fd, file, o_flags); in receive_fd_replace()
|
| H A D | coredump.c | 643 err = replace_fd(COREDUMP_PIDFD_NUMBER, pidfs_file, 0); in umh_coredump_setup() 654 err = replace_fd(0, files[0], 0); in umh_coredump_setup()
|
| /linux/security/apparmor/ |
| H A D | file.c | 741 replace_fd(n - 1, devnull, 0); in aa_inherit_files()
|
| /linux/security/selinux/ |
| H A D | hooks.c | 2485 replace_fd(n - 1, devnull, 0); in flush_unauthorized_files()
|