/openbsd/sys/kern/ |
H A D | sysv_shm.c | 198 shmmap_s->va == (vaddr_t)SCARG(uap, shmaddr)) in sys_shmdt() 254 if (SCARG(uap, shmaddr)) { in sys_shmat() 258 (vaddr_t)SCARG(uap, shmaddr) & ~(SHMLBA-1); in sys_shmat() 259 else if (((vaddr_t)SCARG(uap, shmaddr) & (SHMLBA-1)) == 0) in sys_shmat() 260 attach_va = (vaddr_t)SCARG(uap, shmaddr); in sys_shmat()
|
/openbsd/gnu/llvm/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 1337 #define __sanitizer_syscall_pre_shmat(shmid, shmaddr, shmflg) \ argument 1338 __sanitizer_syscall_pre_impl_shmat((long)(shmid), (long)(shmaddr), \ 1340 #define __sanitizer_syscall_post_shmat(res, shmid, shmaddr, shmflg) \ argument 1341 __sanitizer_syscall_post_impl_shmat(res, (long)(shmid), (long)(shmaddr), \ 1348 #define __sanitizer_syscall_pre_shmdt(shmaddr) \ argument 1349 __sanitizer_syscall_pre_impl_shmdt((long)(shmaddr)) 1351 __sanitizer_syscall_post_impl_shmdt(res, (long)(shmaddr)) 2772 void __sanitizer_syscall_pre_impl_shmat(long shmid, long shmaddr, long shmflg); 2773 void __sanitizer_syscall_post_impl_shmat(long res, long shmid, long shmaddr, 2778 void __sanitizer_syscall_pre_impl_shmdt(long shmaddr); [all …]
|
H A D | netbsd_syscall_hooks.h | 1196 #define __sanitizer_syscall_pre_shmat(shmid, shmaddr, shmflg) \ argument 1197 __sanitizer_syscall_pre_impl_shmat((long long)(shmid), (long long)(shmaddr), \ 1199 #define __sanitizer_syscall_post_shmat(res, shmid, shmaddr, shmflg) \ argument 1201 res, (long long)(shmid), (long long)(shmaddr), (long long)(shmflg)) 1208 #define __sanitizer_syscall_pre_shmdt(shmaddr) \ argument 1209 __sanitizer_syscall_pre_impl_shmdt((long long)(shmaddr)) 1211 __sanitizer_syscall_post_impl_shmdt(res, (long long)(shmaddr)) 3756 void __sanitizer_syscall_pre_impl_shmat(long long shmid, long long shmaddr, 3759 long long shmaddr, long long shmflg); 3767 void __sanitizer_syscall_pre_impl_shmdt(long long shmaddr); [all …]
|
/openbsd/gnu/gcc/libmudflap/ |
H A D | mf-hooks2.c | 1818 WRAPPER2(void *, shmat, int shmid, const void *shmaddr, int shmflg) in WRAPPER2() argument 1822 p = shmat (shmid, shmaddr, shmflg); in WRAPPER2() 1834 WRAPPER2(int, shmdt, const void *shmaddr) in WRAPPER2() argument 1838 resp = shmdt (shmaddr); in WRAPPER2() 1840 __mf_unregister ((void *)shmaddr, 0, MF_REGISTER_shmat); in WRAPPER2()
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 2320 PRE_SYSCALL(shmat)(long shmid, void *shmaddr, long shmflg) {} 2322 POST_SYSCALL(shmat)(long res, long shmid, void *shmaddr, long shmflg) { 2324 if (shmaddr) 2325 POST_WRITE(shmaddr, 2326 __sanitizer::internal_strlen((const char *)shmaddr) + 1); 2334 PRE_SYSCALL(shmdt)(void *shmaddr) {} 2336 POST_SYSCALL(shmdt)(long res, void *shmaddr) { 2338 if (shmaddr) 2339 POST_WRITE(shmaddr, 2340 __sanitizer::internal_strlen((const char *)shmaddr) + 1);
|
/openbsd/sys/sys/ |
H A D | syscallargs.h | 921 syscallarg(const void *) shmaddr; 926 syscallarg(const void *) shmaddr;
|
/openbsd/gnu/usr.bin/perl/ |
H A D | syscall_emulator.c | 1126 const void * shmaddr = (const void *)va_arg(args, long); in syscall_emulator() local 1128 ret = (long)shmat(shmid, shmaddr, shmflg); in syscall_emulator()
|
/openbsd/gnu/llvm/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cpp | 1554 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) { in INTERCEPTOR() argument 1556 void *p = REAL(shmat)(shmid, shmaddr, shmflg); in INTERCEPTOR()
|