Home
last modified time | relevance | path

Searched refs:replace_fd (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/kernel/
H A Dusermode_driver.c107 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()
/openbmc/linux/include/linux/
H A Dfile.h87 extern int replace_fd(unsigned fd, struct file *file, unsigned flags);
/openbmc/linux/tools/lib/bpf/
H A Dbpf.h326 int replace_fd; member
H A Dbpf.c655 attr.replace_bpf_fd = OPTS_GET(opts, replace_fd, 0); in bpf_prog_attach_opts()
/openbmc/linux/fs/
H A Dfile.c1149 int replace_fd(unsigned fd, struct file *file, unsigned flags) in replace_fd() function
1219 error = replace_fd(new_fd, file, o_flags); in receive_fd_replace()
H A Dcoredump.c511 err = replace_fd(0, files[0], 0); in umh_pipe_setup()
/openbmc/linux/security/apparmor/
H A Dfile.c701 replace_fd(n - 1, devnull, 0); in aa_inherit_files()
/openbmc/linux/security/selinux/
H A Dhooks.c2447 replace_fd(n - 1, devnull, 0); in flush_unauthorized_files()