Home
last modified time | relevance | path

Searched refs:shmctl (Results 1 – 23 of 23) sorted by relevance

/NextBSD/tools/regression/sysvshm/
HDshmtest.c117 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/
HDshm.c125 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/
HDt_sysv.c711 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/
HDipcrm.c130 if (shmctl(id, IPC_RMID, NULL) < 0) { in shmrm()
150 return shmctl(id, IPC_RMID, NULL); in shmrm()
/NextBSD/lib/libc/include/
HDcompat.h43 __sym_compat(shmctl, freebsd7_shmctl, FBSD_1.0);
/NextBSD/sys/sys/
HDshm.h163 int shmctl(int, int, struct shmid_ds *);
HDsyscall.mk390 shmctl.o \
/NextBSD/contrib/openbsm/etc/
HDaudit_event115 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/
HDt_mincore.c322 ATF_REQUIRE(shmctl(shmid, IPC_RMID, NULL) == 0); in ATF_TC_BODY()
/NextBSD/contrib/gcclibs/libmudflap/
HDmf-runtime.h217 #pragma redefine_extname shmctl __mfwrap_shmctl
HDmf-hooks2.c1799 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()
HDChangeLog846 (semop, semctl, shmctl, shmat, shmdt): New hooks.
/NextBSD/lib/libc/sys/
HDMakefile.inc281 shmctl.2 \
HDSymbol.map352 shmctl;
/NextBSD/contrib/compiler-rt/lib/msan/tests/
HDmsan_test.cc32 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/
HDmsan_interceptors.cc1297 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/
HDsysv_shm.c814 SYSCALL_INIT_HELPER(shmctl),
/NextBSD/contrib/gcc/
HDsys-protos.h1010 extern int shmctl(int, int, ...);
/NextBSD/contrib/apr/
HDconfigure.in1135 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/
HDapr_private.h.in445 /* Define to 1 if you have the `shmctl' function. */
/NextBSD/contrib/compiler-rt/lib/sanitizer_common/
HDsanitizer_common_syscalls.inc2153 PRE_SYSCALL(shmctl)(long shmid, long cmd, void *buf) {}
2155 POST_SYSCALL(shmctl)(long res, long shmid, long cmd, void *buf) {
HDsanitizer_common_interceptors.inc3497 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/
HDlibc_ubuntu1404_abilist.txt2889 fun:shmctl=uninstrumented