Home
last modified time | relevance | path

Searched refs:devnull (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/security/apparmor/
Dfile.c690 struct file *devnull = NULL; in aa_inherit_files() local
700 devnull = dentry_open(&aa_null, O_RDWR, cred); in aa_inherit_files()
701 if (IS_ERR(devnull)) in aa_inherit_files()
702 devnull = NULL; in aa_inherit_files()
705 replace_fd(n - 1, devnull, 0); in aa_inherit_files()
707 if (devnull) in aa_inherit_files()
708 fput(devnull); in aa_inherit_files()
/Linux-v6.1/tools/perf/scripts/python/
Dintel-pt-events.py383 sys.stdout = open(os.devnull, 'w')
402 sys.stdout = open(os.devnull, 'w')
/Linux-v6.1/security/selinux/
Dhooks.c2402 struct file *file, *devnull = NULL; in flush_unauthorized_files() local
2436 devnull = dentry_open(&selinux_null, O_RDWR, cred); in flush_unauthorized_files()
2437 if (IS_ERR(devnull)) in flush_unauthorized_files()
2438 devnull = NULL; in flush_unauthorized_files()
2441 replace_fd(n - 1, devnull, 0); in flush_unauthorized_files()
2443 if (devnull) in flush_unauthorized_files()
2444 fput(devnull); in flush_unauthorized_files()