| /openbsd-src/gnu/llvm/compiler-rt/utils/ |
| H A D | generate_netbsd_syscalls.awk | 543 function syscall_body(syscall, mode) 547 if (syscall == "syscall") { 549 } else if (syscall == "exit") { 551 } else if (syscall == "fork") { 557 } else if (syscall == "read") { 567 } else if (syscall == "write") { 577 } else if (syscall == "open") { 591 } else if (syscall == "close") { 597 } else if (syscall == "compat_50_wait4") { 599 } else if (syscall == "compat_43_ocreat") { [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/safestack/ |
| H A D | safestack_platform.h | 77 return syscall(SYS_gettid); in GetTid() 87 return syscall(SYS_thr_kill2, pid, tid, sig); in TgKill() 89 return syscall(SYS_tgkill, pid, tid, sig); in TgKill() 100 return (void *)syscall(SYS_mmap, addr, length, prot, flags, fd, offset); in Mmap() 109 return syscall(SYS_munmap, addr, length); in Munmap() 118 return syscall(SYS_mprotect, addr, length, prot); in Mprotect()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_syscall_linux_x86_64.inc | 17 asm volatile("syscall" : "=a"(retval) : "a"(nr) : "rcx", "r11", 25 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1) : 33 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1), 41 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1), 50 "syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1), 62 "syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1), 76 "syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
|
| H A D | sanitizer_syscall_linux_loongarch64.inc | 19 // syscall number is placed in a7 33 __asm__ volatile("syscall 0\n\t" 44 __asm__ volatile("syscall 0\n\t" 56 __asm__ volatile("syscall 0\n\t" 70 __asm__ volatile("syscall 0\n\t" 86 __asm__ volatile("syscall 0\n\t" 103 __asm__ volatile("syscall 0\n\t" 122 __asm__ volatile("syscall 0\n\t" 142 __asm__ volatile("syscall 0\n\t"
|
| H A D | sanitizer_linux_s390.cpp | 52 return syscall(__NR_mmap, ¶ms); in internal_mmap() 54 return syscall(__NR_mmap2, ¶ms); in internal_mmap()
|
| /openbsd-src/regress/usr.sbin/btrace/ |
| H A D | filters.bt | 1 syscall:open:entry 7 syscall:close:entry 13 syscall:open:return
|
| H A D | empty-stmts.bt | 7 syscall:open:return 11 syscall:close:return
|
| /openbsd-src/lib/libc/arch/amd64/sys/ |
| H A D | syscall.S | 42 SYSENTRY(syscall) 48 SYSTRAP(syscall) 56 SYSCALL_END(syscall)
|
| H A D | tfork_thread.S | 59 99: syscall 94 98: syscall
|
| /openbsd-src/gnu/usr.bin/perl/ |
| H A D | gen_syscall_emulator.pl | 190 sub parse_syscalls($syscall, $args) 192 my %s = parse_syscall_h($syscall)->%*; 253 if (my ($syscall) = /^struct \s+ sys_(\w+)_args \s+ \{/x) { 254 $args{$syscall} = []; 261 push @{$args{$syscall}}, {%+};
|
| H A D | config.over | 68 # Enable the syscall emulator, 69 # enabling syscall even if we don't have it
|
| /openbsd-src/lib/libc/arch/m88k/sys/ |
| H A D | syscall.S | 38 SYSENTRY(syscall) 43 SYSCALL_END(syscall)
|
| /openbsd-src/lib/libc/arch/i386/sys/ |
| H A D | syscall.S | 36 SYSENTRY(syscall) 44 SYSCALL_END(syscall)
|
| /openbsd-src/gnu/llvm/lldb/tools/debugserver/scripts/ |
| H A D | diagnose-termination.d | 8 syscall::kill:entry 14 syscall::__pthread_kill:entry
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
| H A D | linux.cpp | 117 syscall(SYS_futex, reinterpret_cast<uptr>(&M), FUTEX_WAIT_PRIVATE, Sleeping, in lockSlow() 126 syscall(SYS_futex, reinterpret_cast<uptr>(&M), FUTEX_WAKE_PRIVATE, 1, in unlock() 151 return static_cast<u32>(syscall(SYS_gettid)); in getThreadID() 166 syscall(SYS_getrandom, Buffer, Length, Blocking ? 0 : GRND_NONBLOCK); in getRandom()
|
| /openbsd-src/regress/sys/arch/amd64/fpu/ |
| H A D | fenv.S | 60 syscall 65 syscall
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/tsan/benchmarks/ |
| H A D | mop.cpp | 27 syscall(SYS_futex, &turn, FUTEX_WAIT, t, 0, 0, 0); in thread() 41 syscall(SYS_futex, &turn, FUTEX_WAKE, 0, 0, 0, 0); in thread()
|
| /openbsd-src/gnu/gcc/libgomp/config/linux/ |
| H A D | lock.c | 91 return syscall (SYS_gettid); in gomp_tid() 104 tid_cache = tid = syscall (SYS_gettid); in gomp_tid()
|
| /openbsd-src/regress/sys/kern/pledge/generic/ |
| H A D | manager.c | 326 int syscall = grab_syscall(pid, pty_buffer(&pty)); in _start_test() local 327 switch (syscall) { in _start_test() 339 printf(" pledged_syscall=%d", syscall); in _start_test()
|
| /openbsd-src/libexec/ld.so/ |
| H A D | Makefile | 30 syscall=close exit fstat getdents getentropy getthrid issetugid kbind \ macro 36 syscall+=mquery 43 .for _i in ${syscall}
|
| /openbsd-src/sys/sys/ |
| H A D | syscall_mi.h | 38 #include <sys/syscall.h> 63 /* point at start of syscall instruction */ in pin_check() 149 DT_ENTER(syscall, code, callp->sy_argsize, argp); in mi_syscall() 196 DT_LEAVE(syscall, code, error, retval[0], retval[1]); in mi_syscall_return() 228 DT_LEAVE(syscall, code, 0, child_retval[0], child_retval[1]); in mi_child_return() 256 * hppa calls ast() in syscall return and sh calls in mi_ast()
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | i386-linux-nat.c | 789 int syscall = read_register_pid (LINUX_SYSCALL_REGNUM, in child_resume() local 793 if (syscall == SYS_sigreturn || syscall == SYS_rt_sigreturn) in child_resume() 799 if (syscall == SYS_rt_sigreturn) in child_resume()
|
| /openbsd-src/lib/libc/arch/amd64/gen/ |
| H A D | setjmp.S | 67 99: syscall 104 98: syscall
|
| H A D | sigsetjmp.S | 65 99: syscall 104 98: syscall
|
| /openbsd-src/sys/kern/ |
| H A D | kern_ktrace.c | 50 #include <sys/syscall.h> 396 ktrpledge(struct proc *p, int error, uint64_t code, int syscall) in ktrpledge() 405 kp.syscall = syscall; in ktrpinsyscall() argument 414 ktrpinsyscall(struct proc *p, int error, int syscall, vaddr_t addr) in ktrpinsyscall() 422 kp.syscall = syscall; 387 ktrpledge(struct proc * p,int error,uint64_t code,int syscall) ktrpledge() argument
|