| /NextBSD/tools/regression/sysvshm/ |
| HD | shmtest.c | 117 if (shmctl(sender_shmid, IPC_STAT, &s_ds) == -1) in main() 124 if (shmctl(sender_shmid, IPC_SET, &s_ds) == -1) in main() 129 if (shmctl(sender_shmid, IPC_STAT, &s_ds) == -1) in main() 202 if (shmctl(sender_shmid, IPC_STAT, &s_ds) == -1) in sigchld_handler() 218 if (shmctl(sender_shmid, IPC_RMID, NULL) == -1) in cleanup()
|
| /NextBSD/contrib/apr/shmem/unix/ |
| HD | shm.c | 125 if (shmctl(m->shmid, IPC_RMID, NULL) == -1 && errno != EINVAL) { in shm_cleanup_owner() 245 if (shmctl(new_m->shmid, IPC_STAT, &shmbuf) == -1) { in apr_shm_create() 251 if (shmctl(new_m->shmid, IPC_SET, &shmbuf) == -1) { in apr_shm_create() 259 if (shmctl(new_m->shmid, IPC_RMID, NULL) == -1) { in apr_shm_create() 392 if (shmctl(new_m->shmid, IPC_STAT, &shmbuf) == -1) { in apr_shm_create() 399 if (shmctl(new_m->shmid, IPC_SET, &shmbuf) == -1) { in apr_shm_create() 478 if (shmctl(shmid, IPC_RMID, NULL) == -1) { in apr_shm_remove()
|
| /NextBSD/contrib/netbsd-tests/kernel/ |
| HD | t_sysv.c | 711 ATF_REQUIRE_MSG(shmctl(sender_shmid, IPC_STAT, &s_ds) != -1, in ATF_TC_BODY() 718 ATF_REQUIRE_MSG(shmctl(sender_shmid, IPC_SET, &s_ds) != -1, in ATF_TC_BODY() 723 ATF_REQUIRE_MSG(shmctl(sender_shmid, IPC_STAT, &s_ds) != -1, in ATF_TC_BODY() 767 ATF_REQUIRE_MSG(shmctl(sender_shmid, IPC_STAT, in ATF_TC_BODY() 787 if (shmctl(sender_shmid, IPC_RMID, NULL) == -1) in ATF_TC_CLEANUP()
|
| /NextBSD/usr.bin/ipcrm/ |
| HD | ipcrm.c | 130 if (shmctl(id, IPC_RMID, NULL) < 0) { in shmrm() 150 return shmctl(id, IPC_RMID, NULL); in shmrm()
|
| /NextBSD/lib/libc/include/ |
| HD | compat.h | 43 __sym_compat(shmctl, freebsd7_shmctl, FBSD_1.0);
|
| /NextBSD/sys/sys/ |
| HD | shm.h | 163 int shmctl(int, int, struct shmid_ds *);
|
| HD | syscall.mk | 390 shmctl.o \
|
| /NextBSD/contrib/openbsm/etc/ |
| HD | audit_event | 115 91:AUE_SHMCTL:shmctl(2) - illegal command:ip 116 92:AUE_SHMCTL_RMID:shmctl(2) - IPC_RMID command:ip 117 93:AUE_SHMCTL_SET:shmctl(2) - IPC_SET command:ip 118 94:AUE_SHMCTL_STAT:shmctl(2) - IPC_STAT command:ip
|
| /NextBSD/contrib/netbsd-tests/lib/libc/sys/ |
| HD | t_mincore.c | 322 ATF_REQUIRE(shmctl(shmid, IPC_RMID, NULL) == 0); in ATF_TC_BODY()
|
| /NextBSD/contrib/gcclibs/libmudflap/ |
| HD | mf-runtime.h | 217 #pragma redefine_extname shmctl __mfwrap_shmctl
|
| HD | mf-hooks2.c | 1799 WRAPPER2(int, shmctl, int shmid, int cmd, struct shmid_ds *buf) in WRAPPER2() argument 1814 return shmctl (shmid, cmd, buf); in WRAPPER2() 1826 __mf_register (p, shmctl (shmid, IPC_STAT, &buf) ? 0 : buf.shm_segsz, in WRAPPER2()
|
| HD | ChangeLog | 846 (semop, semctl, shmctl, shmat, shmdt): New hooks.
|
| /NextBSD/lib/libc/sys/ |
| HD | Makefile.inc | 281 shmctl.2 \
|
| HD | Symbol.map | 352 shmctl;
|
| /NextBSD/contrib/compiler-rt/lib/msan/tests/ |
| HD | msan_test.cc | 32 int shmctl(int, int, struct shmid_ds *); 1190 TEST(MemorySanitizer, shmctl) { in TEST() argument 1195 int res = shmctl(id, IPC_STAT, &ds); in TEST() 1202 res = shmctl(id, IPC_INFO, (struct shmid_ds *)&si); in TEST() 1207 res = shmctl(id, SHM_INFO, (struct shmid_ds *)&s_i); in TEST() 1212 res = shmctl(id, IPC_RMID, 0); in TEST() 1240 res = shmctl(id, IPC_RMID, 0); in TEST()
|
| /NextBSD/contrib/compiler-rt/lib/msan/ |
| HD | msan_interceptors.cc | 1297 DECLARE_REAL(int, shmctl, int shmid, int cmd, void *buf) in DECLARE_REAL() argument 1304 int res = REAL(shmctl)(shmid, shmctl_ipc_stat, &ds); in DECLARE_REAL()
|
| /NextBSD/sys/kern/ |
| HD | sysv_shm.c | 814 SYSCALL_INIT_HELPER(shmctl),
|
| /NextBSD/contrib/gcc/ |
| HD | sys-protos.h | 1010 extern int shmctl(int, int, ...);
|
| /NextBSD/contrib/apr/ |
| HD | configure.in | 1135 AC_CHECK_FUNCS([mmap munmap shm_open shm_unlink shmget shmat shmdt shmctl \ 1179 func:shmget func:shmat func:shmdt func:shmctl, 1260 func:shmget func:shmat func:shmdt func:shmctl,
|
| /NextBSD/contrib/apr/include/arch/unix/ |
| HD | apr_private.h.in | 445 /* Define to 1 if you have the `shmctl' function. */
|
| /NextBSD/contrib/compiler-rt/lib/sanitizer_common/ |
| HD | sanitizer_common_syscalls.inc | 2153 PRE_SYSCALL(shmctl)(long shmid, long cmd, void *buf) {} 2155 POST_SYSCALL(shmctl)(long res, long shmid, long cmd, void *buf) {
|
| HD | sanitizer_common_interceptors.inc | 3497 INTERCEPTOR(int, shmctl, int shmid, int cmd, void *buf) { 3499 COMMON_INTERCEPTOR_ENTER(ctx, shmctl, shmid, cmd, buf); 3503 int res = REAL(shmctl)(shmid, cmd, buf); 3516 #define INIT_SHMCTL COMMON_INTERCEPT_FUNCTION(shmctl);
|
| /NextBSD/contrib/compiler-rt/lib/dfsan/ |
| HD | libc_ubuntu1404_abilist.txt | 2889 fun:shmctl=uninstrumented
|