Home
last modified time | relevance | path

Searched refs:syscall (Results 1 – 25 of 213) sorted by relevance

123456789

/external/strace/tests/
Duid32.c23 r = syscall(__NR_getuid32); in main()
24 assert(syscall(__NR_setuid32, r) == 0); in main()
25 assert(syscall(__NR_getresuid32, &r, &e, &s) == 0); in main()
26 assert(syscall(__NR_setreuid32, -1, -1L) == 0); in main()
27 assert(syscall(__NR_setresuid32, r, -1, -1L) == 0); in main()
28 assert(syscall(__NR_fchown32, 1, -1, -1L) == 0); in main()
29 assert((size = syscall(__NR_getgroups32, 0, list)) >= 0); in main()
31 assert(syscall(__NR_getgroups32, size, list) == size); in main()
Duid.c23 uid = syscall(__NR_getuid); in main()
24 assert(syscall(__NR_setuid, uid) == 0); in main()
31 assert(syscall(__NR_getresuid, &r, &e, &s) == 0); in main()
33 assert(syscall(__NR_setreuid, -1, -1L) == 0); in main()
34 assert(syscall(__NR_setresuid, uid, -1, -1L) == 0); in main()
35 assert(syscall(__NR_fchown, 1, -1, -1L) == 0); in main()
36 assert((size = syscall(__NR_getgroups, 0, list)) >= 0); in main()
38 assert(syscall(__NR_getgroups, size, list) == size); in main()
Dselect.test7 syscall=
8 $STRACE -epselect6 -h > /dev/null && syscall=$syscall,pselect6
9 $STRACE -eselect -h > /dev/null && syscall=$syscall,select
10 test -n "$syscall" ||
14 run_strace -e$syscall $args
Duid16.c41 uid = syscall(__NR_getuid); in main()
57 assert(syscall(__NR_setuid, uid) == 0); in main()
64 assert(syscall(__NR_getresuid, &r, &e, &s) == 0); in main()
66 assert(syscall(__NR_setreuid, -1, 0xffff) == 0); in main()
67 assert(syscall(__NR_setresuid, uid, -1, 0xffff) == 0); in main()
68 assert(syscall(__NR_fchown, 1, -1, 0xffff) == 0); in main()
69 assert((size = syscall(__NR_getgroups, 0, list)) >= 0); in main()
71 assert(syscall(__NR_getgroups, size, list) == size); in main()
Dpipe.test7 syscall=pipe2
9 $STRACE -e$n -h > /dev/null && syscall=$syscall,$n
13 run_strace -e$syscall $args
Dmmap.test7 syscall=mprotect,munmap
9 $STRACE -e$n -h > /dev/null && syscall=$syscall,$n
15 run_strace -e$syscall $args > "$OUT"
Dgetrandom.c10 if (syscall(__NR_getrandom, buf, sizeof(buf) - 1, 0) != sizeof(buf) - 1) in main()
12 if (syscall(__NR_getrandom, buf, sizeof(buf), 1) != sizeof(buf)) in main()
14 if (syscall(__NR_getrandom, buf, sizeof(buf), 0x3003) != -1) in main()
/external/strace/linux/sparc/
Dgen.pl7 ($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/valgrind/coregrind/m_mach/
Dmach_traps-amd64-darwin.S41 syscall
62 syscall
72 syscall
82 syscall
92 syscall
102 syscall
112 syscall
122 syscall
132 syscall
/external/valgrind/
DREADME_MISSING_SYSCALL_OR_IOCTL6 news is that, in general, it's easy to write the missing syscall or
18 What are syscall/ioctl wrappers? What do they do?
30 1. Tell a tool what's about to happen, before the syscall takes place. A
35 2. Tell a tool what just happened, after a syscall takes place. This is
45 The syscall wrapper for time()
66 The first thing we do happens before the syscall occurs, in the PRE() function.
69 Next, the tool is told the return type of the syscall, that the syscall has
70 one argument, the type of the syscall argument and that the argument is being
82 Finally, the really important bit, after the syscall occurs, in the POST()
90 The POST() function won't be called if the syscall failed, so you
[all …]
/external/valgrind/gdbserver_tests/
Dnlcontrolc.stdoutB.exp3 0x........ in syscall ...
7 4 Thread .... (tid 4 VgTs_WaitSys) 0x........ in syscall ...
8 3 Thread .... (tid 3 VgTs_WaitSys) 0x........ in syscall ...
9 2 Thread .... (tid 2 VgTs_WaitSys) 0x........ in syscall ...
10 * 1 Thread .... (tid 1 VgTs_WaitSys) 0x........ in syscall ...
Dnlvgdbsigqueue.stdoutB.exp4 0x........ in syscall ...
11 0x........ in syscall ...
15 0x........ in syscall ...
/external/valgrind/memcheck/tests/linux/
DMakefile.am18 syslog-syscall.vgtest syslog-syscall.stderr.exp \
20 timerfd-syscall.vgtest timerfd-syscall.stderr.exp \
37 syslog-syscall \
38 timerfd-syscall \
/external/strace/
DREADME-linux-ptrace30 syscall-stop and so on. They are described in detail later.
50 kills even within syscalls (syscall-exit-stop is not generated prior to
61 When tracee executes exit syscall, it reports its death to its tracer.
64 When any thread executes exit_group syscall, every tracee in its thread
68 before actual death. This applies to exits on exit syscall, group_exit
69 syscall, signal deaths (except SIGKILL), and when threads are torn down
123 group-stop, PTRACE_EVENT stops, syscall-stops [, SINGLESTEP, SYSEMU,
168 prematurely. Kernel should always restart the syscall in this case:
169 tracer would observe a new syscall-enter-stop for the same syscall,
171 tracer would observe a syscall-enter-stop for restart_syscall(2)
[all …]
DNEWS30 * Enhanced decoding of getsockopt and setsockopt syscall.
31 * Enhanced decoding of sysinfo syscall.
43 * Added new syscall entries to match Linux 3.19.
46 * Fixed various errors in mapping between syscall numbers and associated
47 information like the number of syscall arguments, the name of syscall,
48 and syscall decoder.
59 * Fixed decoding of fanotify_mark syscall on 32-bit architectures.
88 * Added experimental -k option to print stack trace after each traced syscall.
89 * Added -w option to produce stats on syscall latency.
108 * Added new syscall entries to match Linux 3.16.
[all …]
DChangeLog-CVS8 * syscall.c: Likewise.
16 * sunos4/syscall.h: Likewise.
60 * signal (sys_rt_sigtimedwait): Fix sigtimedwait syscall decoding.
114 * syscall.c (get_scno): Ditto.
126 * syscall.c (get_scno): Add support for cris.
222 * syscall.c (get_scno): Fix warnings about unused variable 'pid'.
283 * syscall.c (trace_syscall): If decode fails on syscall exit,
290 * syscall.c: Adjust printtrailer() calls accordingly.
339 * syscall.c: EABI arm does not need decode_subcall(),
344 * linux/syscallent.h: Mark sendfile(2) as network syscall.
[all …]
/external/valgrind/exp-bbv/tests/amd64-linux/
Dclone_test.S23 mov $56,%rax # clone syscall
25 # Note, clone syscall is different than the glibc implementation
49 syscall
91 mov $60,%rax # put exit syscall number (60) in rax
92 syscall
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_syscall_linux_x86_64.inc18 asm volatile("syscall" : "=a"(retval) : "a"(nr) : "rcx", "r11",
26 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1) :
34 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
42 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
51 "syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
63 "syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
77 "syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
/external/valgrind/exp-bbv/tests/x86/
Dmillion.S19 # syscall numbers in /usr/include/sys/syscall.h on OSX
26 inc %eax # put exit syscall number (1) in eax
31 inc %eax # put exit syscall number (1) in eax
/external/llvm/test/MC/Mips/
Dmips-control-instructions.s9 # CHECK32: syscall # encoding: [0x00,0x00,0x00,0x0c]
10 # CHECK32: syscall 13396 # encoding: [0x00,0x0d,0x15,0x0c]
42 # CHECK64: syscall # encoding: [0x00,0x00,0x00,0x0c]
43 # CHECK64: syscall 13396 # encoding: [0x00,0x0d,0x15,0x0c]
75 syscall
76 syscall 0x3454
Dmicromips-control-instructions.s26 # CHECK-EL: syscall # encoding: [0x00,0x00,0x7c,0x8b]
27 # CHECK-EL: syscall 396 # encoding: [0x8c,0x01,0x7c,0x8b]
59 # CHECK-EB: syscall # encoding: [0x00,0x00,0x8b,0x7c]
60 # CHECK-EB: syscall 396 # encoding: [0x01,0x8c,0x8b,0x7c]
87 syscall
88 syscall 0x18c
/external/ltrace/sysdeps/linux-gnu/
Dmksyscallent_mips35 syscall=1;
38 syscall=0;
40 if (syscall && ($1 ~ /^#define$/) && ($2 ~ /^__NR_/)) {
/external/valgrind/memcheck/tests/
Dsigprocmask.c35 syscall(__NR_sigprocmask, SIG_SETMASK, os, NULL); in main()
43 syscall(__NR_sigprocmask, SIG_BLOCK, s, os); in main()
51 syscall(__NR_sigprocmask, SIG_BLOCK, s, os); in main()
/external/selinux/policycoreutils/audit2allow/
Dtest.log4 node=bob.example.com type=SYSCALL msg=audit(1166111074.191:74): arch=40000003 syscall=33 success=no…
6 node=james.example.com type=SYSCALL msg=audit(1165963069.244:851): arch=40000003 syscall=102 succes…
8 node=tom.example.com type=SYSCALL msg=audit(1165963069.244:852): arch=40000003 syscall=102 success=…
10 node=mary.example.com type=SYSCALL msg=audit(1166023021.373:910): arch=40000003 syscall=12 success=…
12 node=tom.example.com type=SYSCALL msg=audit(1165963069.244:852): arch=40000003 syscall=102 success=…
15 node=dan.example.com type=SYSCALL msg=audit(1166017682.366:877): arch=40000003 syscall=196 success=…
17 node=judy.example.com type=SYSCALL msg=audit(1165963069.244:853): arch=40000003 syscall=102 success…
19 node=judy.example.com type=SYSCALL msg=audit(1165963069.244:853): arch=40000003 syscall=102 success…
22 node=patty.example.com type=SYSCALL msg=audit(1166036885.378:1097): arch=40000003 syscall=196 succe…
24 node=sam.example.com type=SYSCALL msg=audit(1166038880.318:1103): arch=40000003 syscall=5 success=n…
[all …]
/external/selinux/sepolgen/tests/test_data/
Daudit.log2 type=SYSCALL msg=audit(1162850331.422:978): arch=40000003 syscall=54 success=no exit=-22 a0=2 a1=54…
5 type=SYSCALL msg=audit(1162850332.318:979): arch=40000003 syscall=33 success=yes exit=0 a0=bfdb2fde…
7 type=SYSCALL msg=audit(1162850333.186:980): arch=40000003 syscall=5 success=yes exit=24 a0=11833c a…
9 type=SYSCALL msg=audit(1162850335.022:981): arch=40000003 syscall=5 success=yes exit=13 a0=9c0e840 …
11 type=SYSCALL msg=audit(1162850335.022:982): arch=40000003 syscall=221 success=yes exit=0 a0=d a1=7 …
16 type=SYSCALL msg=audit(1162850343.419:985): arch=40000003 syscall=5 success=no exit=-2 a0=bf95cd98 …
18 type=SYSCALL msg=audit(1162850343.427:986): arch=40000003 syscall=33 success=yes exit=0 a0=bfa1f935…
20 type=SYSCALL msg=audit(1162850343.427:987): arch=40000003 syscall=5 success=yes exit=2 a0=bfa1f935 …
22 type=SYSCALL msg=audit(1162850343.427:988): arch=40000003 syscall=197 success=yes exit=0 a0=2 a1=bf…
27 type=SYSCALL msg=audit(1162850343.427:989): arch=40000003 syscall=5 success=yes exit=4 a0=8e1facb a…
[all …]

123456789