Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Duprobe_autoattach.c22 FILE *devnull; in test_uprobe_autoattach() local
39 devnull = fopen(devnull_str, "r"); in test_uprobe_autoattach()
49 ASSERT_EQ(skel->bss->uretprobe_byname2_rc, (__u64)(long)devnull, in test_uprobe_autoattach()
72 fclose(devnull); in test_uprobe_autoattach()
A Dattach_probe.c36 FILE *devnull; in test_attach_probe() local
198 devnull = fopen("/dev/null", "r"); in test_attach_probe()
199 fclose(devnull); in test_attach_probe()
/linux-6.3-rc2/scripts/clang-tools/
A Drun-clang-tools.py76 devnull = os.open(os.devnull, os.O_WRONLY)
77 os.dup2(devnull, sys.stdout.fileno())
/linux-6.3-rc2/scripts/
A Ddiffconfig138 devnull = os.open(os.devnull, os.O_WRONLY)
139 os.dup2(devnull, sys.stdout.fileno())
A Dcheckkconfigsymbols.py476 devnull = os.open(os.devnull, os.O_WRONLY)
477 os.dup2(devnull, sys.stdout.fileno())
/linux-6.3-rc2/security/apparmor/
A Dfile.c641 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-6.3-rc2/tools/perf/scripts/python/
A Dintel-pt-events.py442 sys.stdout = open(os.devnull, 'w')
463 sys.stdout = open(os.devnull, 'w')
/linux-6.3-rc2/security/selinux/
A 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()

Completed in 22 milliseconds