Symbol: shm_open
lib/libc/sys/shm_open.c
42
__weak_reference(shm_open, _shm_open);
lib/libc/sys/shm_open.c
43
__weak_reference(shm_open, __sys_shm_open);
lib/libc/tests/sys/sendfile_test.c
415
fd = shm_open(SHM_ANON, O_RDWR|O_CREAT, 0600);
sys/compat/freebsd32/freebsd32_sysent.c
552
{ compat12(AS(freebsd12_shm_open_args),shm_open), .sy_auevent = AUE_SHMOPEN, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 482 = freebsd12 shm_open */
sys/kern/init_sysent.c
551
{ compat12(AS(freebsd12_shm_open_args),shm_open), .sy_auevent = AUE_SHMOPEN, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 482 = freebsd12 shm_open */
sys/sys/mman.h
349
int shm_open(const char *, int, mode_t);
tests/sys/audit/inter-process.c
1413
ATF_REQUIRE(shm_open(SHM_ANON, O_CREAT | O_TRUNC | O_RDWR, 0600) != -1);
tests/sys/audit/inter-process.c
1435
ATF_REQUIRE_EQ(-1, shm_open(path, O_TRUNC | O_RDWR, 0600));
tests/sys/audit/inter-process.c
1458
ATF_REQUIRE(shm_open(dirpath, O_CREAT | O_TRUNC | O_RDWR, 0600) != -1);
tests/sys/capsicum/fcntl.cc
36
files["SHM"] = shm_open(shm_name, (O_CREAT|O_RDWR), 0600);
tests/sys/kern/ktls_test.c
2986
ATF_REQUIRE((shm = shm_open(SHM_ANON, O_RDWR, 0600)) > 0);
tests/sys/kern/ktrace_test.c
521
CHILD_REQUIRE(shm_open("/ktrace_shm", O_RDWR | O_CREAT,
tests/sys/posixshm/posixshm_test.c
1013
fd = shm_open(SHM_ANON, O_RDWR, 0777);
tests/sys/posixshm/posixshm_test.c
1019
fd = shm_open(test_path, O_CREAT | O_RDWR, 0600);
tests/sys/posixshm/posixshm_test.c
1036
fd = shm_open(test_path, O_CREAT | O_RDWR, 0600);
tests/sys/posixshm/posixshm_test.c
104
fd = shm_open(path, flags, mode);
tests/sys/posixshm/posixshm_test.c
1043
fd = shm_open(test_path, O_CREAT | O_RDWR, 0660);
tests/sys/posixshm/posixshm_test.c
1050
fd = shm_open(test_path, O_CREAT | O_RDWR, 0666);
tests/sys/posixshm/posixshm_test.c
1071
fd = shm_open(SHM_ANON, O_RDWR, 0666);
tests/sys/posixshm/posixshm_test.c
1109
fd = shm_open("/testtest", O_RDWR | O_CREAT, 0666);
tests/sys/posixshm/posixshm_test.c
1185
fd = shm_open("/testtest1", O_RDWR | O_CREAT, 0666);
tests/sys/posixshm/posixshm_test.c
1214
fd = shm_open(test_path, O_RDONLY | O_CREAT, 0644);
tests/sys/posixshm/posixshm_test.c
1320
fd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0);
tests/sys/posixshm/posixshm_test.c
136
fd = shm_open(path, O_CREAT|O_EXCL|O_RDWR, 0777);
tests/sys/posixshm/posixshm_test.c
140
fd = shm_open(test_path, O_CREAT | O_EXCL | O_RDWR, 0777);
tests/sys/posixshm/posixshm_test.c
171
fd = shm_open(path, O_RDONLY, 0777);
tests/sys/posixshm/posixshm_test.c
2130
fd = shm_open(test_path, O_RDWR, 0);
tests/sys/posixshm/posixshm_test.c
2260
fd = shm_open(test_path, O_RDWR | O_TRUNC, 0);
tests/sys/posixshm/posixshm_test.c
2264
fd = shm_open(test_path, O_RDWR, 0);
tests/sys/posixshm/posixshm_test.c
556
fd = shm_open(test_path, O_RDONLY, 0777);
tests/sys/posixshm/posixshm_test.c
584
fd = shm_open(test_path, O_RDONLY | O_CREAT, 0777);
tests/sys/posixshm/posixshm_test.c
608
fd = shm_open(test_path, O_RDONLY | O_CREAT, 0777);
tests/sys/posixshm/posixshm_test.c
648
fd = shm_open(SHM_ANON, O_RDWR, 0777);
tests/sys/posixshm/posixshm_test.c
693
fd = shm_open(test_path, O_RDONLY|O_CREAT, 0777);
tests/sys/posixshm/posixshm_test.c
713
fd = shm_open(test_path, O_RDWR | O_CREAT, 0777);
tests/sys/posixshm/posixshm_test.c
723
fd = shm_open(test_path, O_RDWR | O_TRUNC, 0777);
tests/sys/posixshm/posixshm_test.c
764
fd = shm_open(SHM_ANON, O_CREAT|O_RDWR, 0777);
tests/sys/posixshm/posixshm_test.c
933
desc = shm_open(test_path, O_EXCL | O_CREAT | O_RDWR, 0600);
tests/sys/vm/mlock_test.c
203
shmfd = shm_open(SHM_ANON, O_RDWR | O_CREAT, 0600);
tests/sys/vm/mmap_test.c
141
ATF_REQUIRE((shmfd = shm_open(SHM_ANON, O_RDWR, 0644)) >= 0);
tests/sys/vm/mmap_test.c
330
fd = shm_open(SHM_ANON, O_RDWR, 0644);
tests/sys/vm/page_fault_signal.c
130
fd = shm_open(SHM_ANON, O_RDWR | O_CREAT, 0600);
tests/sys/vm/page_fault_signal.c
153
fd = shm_open(SHM_ANON, O_RDWR | O_CREAT, 0600);
tools/regression/security/cap_test/cap_test_fcntl.c
72
{ "SHM", shm_open(SHM_ANON, O_RDWR, 0600) },
tools/tools/syscall_timing/syscall_timing.c
698
shmfd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0600);
tools/tools/syscall_timing/syscall_timing.c
704
shmfd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0600);
tools/tools/syscall_timing/syscall_timing.c
719
shmfd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0600);
tools/tools/syscall_timing/syscall_timing.c
743
shmfd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0600);
usr.bin/posixshmcontrol/posixshmcontrol.c
306
fd = shm_open(kif->kf_path, O_RDONLY, 0);
usr.bin/posixshmcontrol/posixshmcontrol.c
353
fd = shm_open(path, O_RDONLY, 0);
usr.bin/posixshmcontrol/posixshmcontrol.c
409
fd = shm_open(path, O_RDONLY, 0);
usr.bin/posixshmcontrol/posixshmcontrol.c
503
fd = shm_open(path, O_RDWR, 0);
usr.bin/posixshmcontrol/posixshmcontrol.c
67
fd = shm_open(path, O_RDWR | O_CREAT, mode);