HomeSort by relevance Sort by last modified time
    Searched refs:syscall (Results 1 - 25 of 952) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/
syscall.h 1 #include <sys/syscall.h>
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
syscall.h 1 #include <sys/syscall.h>
  /external/strace/tests/
select.test 3 # Check select syscall decoding.
7 syscall=
8 $STRACE -epselect6 -h > /dev/null && syscall=$syscall,pselect6
9 $STRACE -eselect -h > /dev/null && syscall=$syscall,select
10 test -n "$syscall" ||
11 fail_ 'neither select not pselect6 syscall is supported on this architecture'
14 run_strace -e$syscall $args
pipe.test 7 syscall=pipe2
9 $STRACE -e$n -h > /dev/null && syscall=$syscall,$n
13 run_strace -e$syscall $args
getrandom.c 2 #include <sys/syscall.h>
10 if (syscall(__NR_getrandom, buf, sizeof(buf) - 1, 0) != sizeof(buf) - 1)
12 if (syscall(__NR_getrandom, buf, sizeof(buf), 1) != sizeof(buf))
14 if (syscall(__NR_getrandom, buf, sizeof(buf), 0x3003) != -1)
uid.c 7 #include <sys/syscall.h>
23 uid = syscall(__NR_getuid);
24 assert(syscall(__NR_setuid, uid) == 0);
31 assert(syscall(__NR_getresuid, &r, &e, &s) == 0);
33 assert(syscall(__NR_setreuid, -1, -1L) == 0);
34 assert(syscall(__NR_setresuid, uid, -1, -1L) == 0);
35 assert(syscall(__NR_fchown, 1, -1, -1L) == 0);
36 assert((size = syscall(__NR_getgroups, 0, list)) >= 0);
38 assert(syscall(__NR_getgroups, size, list) == size);
uid32.c 7 #include <sys/syscall.h>
23 r = syscall(__NR_getuid32);
24 assert(syscall(__NR_setuid32, r) == 0);
25 assert(syscall(__NR_getresuid32, &r, &e, &s) == 0);
26 assert(syscall(__NR_setreuid32, -1, -1L) == 0);
27 assert(syscall(__NR_setresuid32, r, -1, -1L) == 0);
28 assert(syscall(__NR_fchown32, 1, -1, -1L) == 0);
29 assert((size = syscall(__NR_getgroups32, 0, list)) >= 0);
31 assert(syscall(__NR_getgroups32, size, list) == size);
mmap.test 7 syscall=mprotect,munmap
9 $STRACE -e$n -h > /dev/null && syscall=$syscall,$n
15 run_strace -e$syscall $args > "$OUT"
uid16.c 8 #include <sys/syscall.h>
41 uid = syscall(__NR_getuid);
57 assert(syscall(__NR_setuid, uid) == 0);
64 assert(syscall(__NR_getresuid, &r, &e, &s) == 0);
66 assert(syscall(__NR_setreuid, -1, 0xffff) == 0);
67 assert(syscall(__NR_setresuid, uid, -1, 0xffff) == 0);
68 assert(syscall(__NR_fchown, 1, -1, 0xffff) == 0);
69 assert((size = syscall(__NR_getgroups, 0, list)) >= 0);
71 assert(syscall(__NR_getgroups, size, list) == size);
  /bionic/tests/
sys_syscall_test.cpp 19 #include <sys/syscall.h>
21 TEST(unistd, syscall) {
22 ASSERT_EQ(getpid(), syscall(SYS_getpid));
  /bionic/libc/arch-mips/bionic/
_exit_with_stack_teardown.S 34 syscall
39 syscall
40 // The exit syscall does not return.
  /bionic/libc/arch-mips64/bionic/
_exit_with_stack_teardown.S 34 syscall
39 syscall
40 // The exit syscall does not return.
  /bionic/libc/arch-x86_64/bionic/
_exit_with_stack_teardown.S 34 syscall
39 syscall
40 // The exit syscall does not return.
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sys/
syscall.h 30 we scan the kernel's list and produce <bits/syscall.h> with macros for
32 # include <bits/syscall.h>
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/
syscall.h 30 we scan the kernel's list and produce <bits/syscall.h> with macros for
32 # include <bits/syscall.h>
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/
syscall.h 30 we scan the kernel's list and produce <bits/syscall.h> with macros for
32 # include <bits/syscall.h>
  /external/toybox/toys/other/
pivot_root.c 25 #include <sys/syscall.h>
30 if (syscall(__NR_pivot_root, toys.optargs[0], toys.optargs[1]))
readahead.c 20 #include <sys/syscall.h>
26 // Since including fcntl.h doesn't give us the wrapper, use the syscall.
28 if (sizeof(long) == 4) rc = syscall(__NR_readahead, fd, 0, 0, INT_MAX);
29 else rc = syscall(__NR_readahead, fd, 0, INT_MAX);
  /external/valgrind/memcheck/tests/x86-linux/
scalar_supp.c 3 #include <sys/syscall.h>
14 // - the syscall number itself is undefined (but we know it's
18 syscall(pi[0]+__NR_write, pi[0], pc[0], pi[0]+1);
  /system/core/libbacktrace/
thread_utils.c 23 #include <sys/syscall.h>
26 return syscall(__NR_tgkill, tgid, tid, sig);
  /external/strace/linux/sparc/
gen.pl 7 ($i1, $i2, $i3, $syscall, $syscall_name) = split;
9 $name[$index++] = $syscall;
14 ($i1, $n, $pr, $syscall) = split;
15 $par{$syscall} = $n;
16 $prr{$syscall} = $pr;
22 ($i1, $n, $pr, $syscall) = split;
23 $par{$syscall} = $n;
24 $prr{$syscall} = $pr;
  /external/ltrace/sysdeps/linux-gnu/
mksyscallent_mips 35 syscall=1;
38 syscall=0;
40 if (syscall && ($1 ~ /^#define$/) && ($2 ~ /^__NR_/)) {
41 SYSCALL[$4]=substr($2,6);
50 if (!SYSCALL[i]) {
51 SYSCALL[i] = i;
53 pad = 32 - length(SYSCALL[i]);
57 printf("\t\"%s\",%*s/* %d */\n", SYSCALL[i], pad, "", i);
  /external/valgrind/memcheck/tests/darwin/
pth-undocumented.c 4 #include <sys/syscall.h>
18 return syscall(SYS___pthread_chdir, path);
23 return syscall(SYS___pthread_fchdir, dirfd);
  /external/valgrind/coregrind/m_mach/
mach_traps-amd64-darwin.S 41 syscall
52 // syscall
62 syscall
72 syscall
82 syscall
92 syscall
102 syscall
112 syscall
122 syscall
132 syscall
    [all...]
  /external/lldb/tools/debugserver/scripts/
diagnose-termination.d 8 syscall::kill:entry
14 syscall::__pthread_kill:entry

Completed in 401 milliseconds

1 2 3 4 5 6 7 8 91011>>