Searched refs:devnull (Results 1 – 9 of 9) 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 | 267 FILE *devnull; in test_uprobe_sleepable() 293 devnull = fopen("/dev/null", "r"); in test_attach_probe() 294 fclose(devnull); in test_attach_probe() 162 FILE *devnull; test_uprobe_lib() local
|
| /linux/scripts/clang-tools/ |
| H A D | run-clang-tools.py | 94 devnull = os.open(os.devnull, os.O_WRONLY) 95 os.dup2(devnull, sys.stdout.fileno())
|
| /linux/scripts/ |
| H A D | diffconfig | 138 devnull = os.open(os.devnull, os.O_WRONLY) 139 os.dup2(devnull, sys.stdout.fileno())
|
| H A D | checkkconfigsymbols.py | 476 devnull = os.open(os.devnull, os.O_WRONLY) 477 os.dup2(devnull, sys.stdout.fileno())
|
| /linux/security/apparmor/ |
| H A D | file.c | 726 struct file *devnull = NULL; in aa_inherit_files() local 736 devnull = dentry_open(&aa_null, O_RDWR, cred); in aa_inherit_files() 737 if (IS_ERR(devnull)) in aa_inherit_files() 738 devnull = NULL; in aa_inherit_files() 741 replace_fd(n - 1, devnull, 0); in aa_inherit_files() 743 if (devnull) in aa_inherit_files() 744 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/tools/testing/kunit/ |
| H A D | kunit_tool_test.py | 482 tree = kunit_kernel.LinuxSourceTree('', kunitconfig_paths=[os.devnull], 495 tree = kunit_kernel.LinuxSourceTree(build_dir, kunitconfig_paths=[os.devnull]) 517 kunitconfig_paths=[os.devnull])
|
| /linux/security/selinux/ |
| H A D | hooks.c | 2446 struct file *file, *devnull = NULL; in flush_unauthorized_files() local 2480 devnull = dentry_open(&selinux_null, O_RDWR, cred); in flush_unauthorized_files() 2481 if (IS_ERR(devnull)) in flush_unauthorized_files() 2482 devnull = NULL; in flush_unauthorized_files() 2485 replace_fd(n - 1, devnull, 0); in flush_unauthorized_files() 2487 if (devnull) in flush_unauthorized_files() 2488 fput(devnull); in flush_unauthorized_files()
|