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/ktrace_test.c
521
CHILD_REQUIRE(shm_open("/ktrace_shm", O_RDWR | O_CREAT,
tests/sys/posixshm/posixshm_test.c
1003
fd = shm_open(SHM_ANON, O_RDWR, 0777);
tests/sys/posixshm/posixshm_test.c
1009
fd = shm_open(test_path, O_CREAT | O_RDWR, 0600);
tests/sys/posixshm/posixshm_test.c
1026
fd = shm_open(test_path, O_CREAT | O_RDWR, 0600);
tests/sys/posixshm/posixshm_test.c
1033
fd = shm_open(test_path, O_CREAT | O_RDWR, 0660);
tests/sys/posixshm/posixshm_test.c
1040
fd = shm_open(test_path, O_CREAT | O_RDWR, 0666);
tests/sys/posixshm/posixshm_test.c
1061
fd = shm_open(SHM_ANON, O_RDWR, 0666);
tests/sys/posixshm/posixshm_test.c
1099
fd = shm_open("/testtest", O_RDWR | O_CREAT, 0666);
tests/sys/posixshm/posixshm_test.c
1175
fd = shm_open("/testtest1", O_RDWR | O_CREAT, 0666);
tests/sys/posixshm/posixshm_test.c
1204
fd = shm_open(test_path, O_RDONLY | O_CREAT, 0644);
tests/sys/posixshm/posixshm_test.c
126
fd = shm_open(path, O_CREAT|O_EXCL|O_RDWR, 0777);
tests/sys/posixshm/posixshm_test.c
130
fd = shm_open(test_path, O_CREAT | O_EXCL | O_RDWR, 0777);
tests/sys/posixshm/posixshm_test.c
1310
fd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0);
tests/sys/posixshm/posixshm_test.c
161
fd = shm_open(path, O_RDONLY, 0777);
tests/sys/posixshm/posixshm_test.c
1914
fd = shm_open(test_path, O_RDWR, 0);
tests/sys/posixshm/posixshm_test.c
546
fd = shm_open(test_path, O_RDONLY, 0777);
tests/sys/posixshm/posixshm_test.c
574
fd = shm_open(test_path, O_RDONLY | O_CREAT, 0777);
tests/sys/posixshm/posixshm_test.c
598
fd = shm_open(test_path, O_RDONLY | O_CREAT, 0777);
tests/sys/posixshm/posixshm_test.c
638
fd = shm_open(SHM_ANON, O_RDWR, 0777);
tests/sys/posixshm/posixshm_test.c
683
fd = shm_open(test_path, O_RDONLY|O_CREAT, 0777);
tests/sys/posixshm/posixshm_test.c
703
fd = shm_open(test_path, O_RDWR | O_CREAT, 0777);
tests/sys/posixshm/posixshm_test.c
713
fd = shm_open(test_path, O_RDWR | O_TRUNC, 0777);
tests/sys/posixshm/posixshm_test.c
754
fd = shm_open(SHM_ANON, O_CREAT|O_RDWR, 0777);
tests/sys/posixshm/posixshm_test.c
923
desc = shm_open(test_path, O_EXCL | O_CREAT | O_RDWR, 0600);
tests/sys/posixshm/posixshm_test.c
94
fd = shm_open(path, flags, mode);
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);