/freebsd/tools/test/stress2/misc/ |
H A D | shm_open.sh | 37 sed '1,/^EOF/d' < $odir/$0 > $dir/shm_open.c 38 mycc -o shm_open -Wall -Wextra -O2 -g shm_open.c || exit 1 39 rm -f shm_open.c 43 su $testuser -c /tmp/shm_open 48 rm -f /tmp/shm_open 72 if ((fd = shm_open(name, O_RDWR | O_CREAT, 0644)) == -1)
|
H A D | shm3.sh | 33 shmfd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0600);
|
H A D | shm_super.sh | 55 shmfd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0600);
|
H A D | largepage.sh | 101 if ((fd = shm_open(path, O_RDWR, 0)) == -1)
|
H A D | radix.sh | 78 perhaps, using shm_open() + ftruncate(), and touches pages 0, 1, 8, 9, function
|
H A D | sendfile_shm.sh | 171 shmfd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0600);
|
/freebsd/lib/libc/sys/ |
H A D | shm_open.c | 42 __weak_reference(shm_open, _shm_open); 43 __weak_reference(shm_open, __sys_shm_open); 46 shm_open(const char *path, int flags, mode_t mode) in shm_open() function
|
H A D | Symbol.map | 23 shm_open;
|
H A D | Makefile.inc | 32 shm_open.c \
|
/freebsd/tests/sys/posixshm/ |
H A D | posixshm_test.c | 92 fd = shm_open(path, flags, mode); in shm_open_should_fail() 124 fd = shm_open(path, O_CREAT|O_EXCL|O_RDWR, 0777); in scribble_object() 128 fd = shm_open(test_path, O_CREAT | O_EXCL | O_RDWR, 0777); in scribble_object() 159 fd = shm_open(path, O_RDONLY, 0777); in verify_object() 544 fd = shm_open(test_path, O_RDONLY, 0777); in ATF_TC_BODY() 572 fd = shm_open(test_path, O_RDONLY | O_CREAT, 0777); in ATF_TC_BODY() 596 fd = shm_open(test_path, O_RDONLY | O_CREAT, 0777); in ATF_TC_BODY() 636 fd = shm_open(SHM_ANON, O_RDWR, 0777); in ATF_TC_BODY() 681 fd = shm_open(test_path, O_RDONLY|O_CREAT, 0777); in ATF_TC_BODY() 701 fd = shm_open(test_path, O_RDWR | O_CREAT, 0777); in ATF_TC_BODY() [all …]
|
/freebsd/usr.bin/posixshmcontrol/ |
H A D | posixshmcontrol.c | 67 fd = shm_open(path, O_RDWR | O_CREAT, mode); in create_one_shm() 306 fd = shm_open(kif->kf_path, O_RDONLY, 0); in list_shm() 353 fd = shm_open(path, O_RDONLY, 0); in read_one_shm() 409 fd = shm_open(path, O_RDONLY, 0); in stat_one_shm() 503 fd = shm_open(path, O_RDWR, 0); in truncate_one_shm()
|
/freebsd/lib/libsys/ |
H A D | Makefile.sys | 326 shm_open.2 \ 510 MLINKS+=shm_open.2 memfd_create.3 \ 511 shm_open.2 shm_create_largepage.3 \ 512 shm_open.2 shm_unlink.2 \ 513 shm_open.2 shm_rename.2
|
/freebsd/tests/sys/vm/ |
H A D | page_fault_signal.c | 130 fd = shm_open(SHM_ANON, O_RDWR | O_CREAT, 0600); in ATF_TC_BODY() 153 fd = shm_open(SHM_ANON, O_RDWR | O_CREAT, 0600); in ATF_TC_BODY()
|
H A D | mmap_test.c | 140 ATF_REQUIRE((shmfd = shm_open(SHM_ANON, O_RDWR, 0644)) >= 0); in ATF_TC_BODY() 329 fd = shm_open(SHM_ANON, O_RDWR, 0644); in ATF_TC_BODY()
|
H A D | mlock_test.c | 203 shmfd = shm_open(SHM_ANON, O_RDWR | O_CREAT, 0600); in ATF_TC_BODY()
|
/freebsd/tools/regression/security/cap_test/ |
H A D | cap_test_fcntl.c | 72 { "SHM", shm_open(SHM_ANON, O_RDWR, 0600) }, in test_fcntl()
|
/freebsd/tools/tools/syscall_timing/ |
H A D | syscall_timing.c | 698 shmfd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0600); in test_shmfd() 704 shmfd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0600); in test_shmfd() 719 shmfd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0600); in test_shmfd_dup() 743 shmfd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0600); in test_shmfd_fstat()
|
/freebsd/sys/sys/ |
H A D | mman.h | 347 int shm_open(const char *, int, mode_t);
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/ |
H A D | ExecutorSharedMemoryMapperService.cpp | 82 shm_open(SharedMemoryName.c_str(), O_RDWR | O_CREAT | O_EXCL, 0700); in reserve()
|
/freebsd/tests/sys/audit/ |
H A D | inter-process.c | 1413 ATF_REQUIRE(shm_open(SHM_ANON, O_CREAT | O_TRUNC | O_RDWR, 0600) != -1); in ATF_TC_BODY() 1435 ATF_REQUIRE_EQ(-1, shm_open(path, O_TRUNC | O_RDWR, 0600)); in ATF_TC_BODY() 1458 ATF_REQUIRE(shm_open(dirpath, O_CREAT | O_TRUNC | O_RDWR, 0600) != -1); in ATF_TC_BODY()
|
/freebsd/contrib/capsicum-test/ |
H A D | fcntl.cc | 36 files["SHM"] = shm_open(shm_name, (O_CREAT|O_RDWR), 0600); in FORK_TEST()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | MemoryMapper.cpp | 264 int SharedMemoryFile = shm_open(SharedMemoryName.c_str(), O_RDWR, 0700); in reserve()
|
/freebsd/tests/sys/kern/ |
H A D | ktrace_test.c | 522 CHILD_REQUIRE(shm_open("/ktrace_shm", O_RDWR | O_CREAT, in ATF_TC_BODY()
|
/freebsd/contrib/openbsm/etc/ |
H A D | audit_event | 341 345:AUE_DARWIN_SHMOPEN:shm_open(2):ip 395 43035:AUE_SHMOPEN:shm_open(2):ip
|
/freebsd/lib/libc/tests/sys/ |
H A D | sendfile_test.c | 415 fd = shm_open(SHM_ANON, O_RDWR|O_CREAT, 0600); in fd_positive_shm_test()
|