Searched refs:devnull (Results 1 – 3 of 3) sorted by relevance
| /linux/security/apparmor/ |
| A D | file.c | 690 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/tools/perf/scripts/python/ |
| A D | intel-pt-events.py | 327 sys.stdout = open(os.devnull, 'w') 336 sys.stdout = open(os.devnull, 'w')
|
| /linux/security/selinux/ |
| A D | hooks.c | 2460 struct file *file, *devnull = NULL; in flush_unauthorized_files() local 2494 devnull = dentry_open(&selinux_null, O_RDWR, cred); in flush_unauthorized_files() 2495 if (IS_ERR(devnull)) in flush_unauthorized_files() 2496 devnull = NULL; in flush_unauthorized_files() 2499 replace_fd(n - 1, devnull, 0); in flush_unauthorized_files() 2501 if (devnull) in flush_unauthorized_files() 2502 fput(devnull); in flush_unauthorized_files()
|
Completed in 17 milliseconds