Searched refs:devnull (Results 1 – 7 of 7) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | uprobe_autoattach.c | 21 FILE *devnull; in test_uprobe_autoattach() local 38 devnull = fopen(devnull_str, "r"); in test_uprobe_autoattach() 48 ASSERT_EQ(skel->bss->uretprobe_byname2_rc, (__u64)(long)devnull, in test_uprobe_autoattach() 71 fclose(devnull); in test_uprobe_autoattach()
|
H A D | attach_probe.c | 241 FILE *devnull; in test_uprobe_lib() local 267 devnull = fopen("/dev/null", "r"); in test_uprobe_lib() 268 fclose(devnull); in test_uprobe_lib()
|
/linux/scripts/ |
H A D | diffconfig | 137 # to devnull to avoid another BrokenPipeError at shutdown 138 devnull = os.open(os.devnull, os.O_WRONLY) 139 os.dup2(devnull, sys.stdout.fileno())
|
H A D | checkkconfigsymbols.py | 475 # to devnull to avoid another BrokenPipeError at shutdown 476 devnull = os.open(os.devnull, os.O_WRONLY) 477 os.dup2(devnull, sys.stdout.fileno())
|
/linux/security/apparmor/ |
H A D | file.c | 707 struct file *devnull = NULL; in aa_inherit_files() local 717 devnull = dentry_open(&aa_null, O_RDWR, cred); in aa_inherit_files() 718 if (IS_ERR(devnull)) in aa_inherit_files() 719 devnull = NULL; in aa_inherit_files() 722 replace_fd(n - 1, devnull, 0); in aa_inherit_files() 724 if (devnull) in aa_inherit_files() 725 fput(devnull); in aa_inherit_files()
|
/linux/tools/perf/scripts/python/ |
H A D | intel-pt-events.py | 442 sys.stdout = open(os.devnull, 'w') 463 sys.stdout = open(os.devnull, 'w')
|
/linux/security/selinux/ |
H A D | hooks.c | 2432 struct file *file, *devnull = NULL; in flush_unauthorized_files() local 2466 devnull = dentry_open(&selinux_null, O_RDWR, cred); in flush_unauthorized_files() 2467 if (IS_ERR(devnull)) in flush_unauthorized_files() 2468 devnull = NULL; in flush_unauthorized_files() 2471 replace_fd(n - 1, devnull, 0); in flush_unauthorized_files() 2473 if (devnull) in flush_unauthorized_files() 2474 fput(devnull); in flush_unauthorized_files()
|