Searched refs:devnull (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
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()
|
D | attach_probe.c | 162 FILE *devnull; in test_uprobe_lib() local 188 devnull = fopen("/dev/null", "r"); in test_uprobe_lib() 189 fclose(devnull); in test_uprobe_lib()
|
/Linux-v6.6/scripts/clang-tools/ |
D | run-clang-tools.py | 76 devnull = os.open(os.devnull, os.O_WRONLY) 77 os.dup2(devnull, sys.stdout.fileno())
|
/Linux-v6.6/scripts/ |
D | diffconfig | 138 devnull = os.open(os.devnull, os.O_WRONLY) 139 os.dup2(devnull, sys.stdout.fileno())
|
D | checkkconfigsymbols.py | 476 devnull = os.open(os.devnull, os.O_WRONLY) 477 os.dup2(devnull, sys.stdout.fileno())
|
/Linux-v6.6/security/apparmor/ |
D | file.c | 641 struct file *devnull = NULL; in aa_inherit_files() local 651 devnull = dentry_open(&aa_null, O_RDWR, cred); in aa_inherit_files() 652 if (IS_ERR(devnull)) in aa_inherit_files() 653 devnull = NULL; in aa_inherit_files() 656 replace_fd(n - 1, devnull, 0); in aa_inherit_files() 658 if (devnull) in aa_inherit_files() 659 fput(devnull); in aa_inherit_files()
|
/Linux-v6.6/tools/perf/scripts/python/ |
D | intel-pt-events.py | 442 sys.stdout = open(os.devnull, 'w') 463 sys.stdout = open(os.devnull, 'w')
|
/Linux-v6.6/security/selinux/ |
D | hooks.c | 2410 struct file *file, *devnull = NULL; in flush_unauthorized_files() local 2444 devnull = dentry_open(&selinux_null, O_RDWR, cred); in flush_unauthorized_files() 2445 if (IS_ERR(devnull)) in flush_unauthorized_files() 2446 devnull = NULL; in flush_unauthorized_files() 2449 replace_fd(n - 1, devnull, 0); in flush_unauthorized_files() 2451 if (devnull) in flush_unauthorized_files() 2452 fput(devnull); in flush_unauthorized_files()
|