Searched refs:replace_fd (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/kernel/ |
D | usermode_driver.c | 107 err = replace_fd(0, to_umh[0], 0); in umd_setup() 118 replace_fd(0, NULL, 0); in umd_setup() 121 err = replace_fd(1, from_umh[1], 0); in umd_setup() 125 replace_fd(0, NULL, 0); in umd_setup()
|
/linux-6.12.1/include/linux/ |
D | file.h | 92 extern int replace_fd(unsigned fd, struct file *file, unsigned flags);
|
/linux-6.12.1/tools/lib/bpf/ |
D | bpf.h | 341 int replace_fd; member
|
D | bpf.c | 662 attr.replace_bpf_fd = OPTS_GET(opts, replace_fd, 0); in bpf_prog_attach_opts()
|
/linux-6.12.1/fs/ |
D | file.c | 1243 int replace_fd(unsigned fd, struct file *file, unsigned flags) in replace_fd() function 1314 error = replace_fd(new_fd, file, o_flags); in receive_fd_replace()
|
D | coredump.c | 515 err = replace_fd(0, files[0], 0); in umh_pipe_setup()
|
/linux-6.12.1/security/apparmor/ |
D | file.c | 688 replace_fd(n - 1, devnull, 0); in aa_inherit_files()
|
/linux-6.12.1/security/selinux/ |
D | hooks.c | 2460 replace_fd(n - 1, devnull, 0); in flush_unauthorized_files()
|