/external/minijail/tools/ |
D | generate_seccomp_policy.py | 97 for syscall in syscall_list: 99 other_syscalls.remove(syscall) 100 syscall_sets[syscall] = other_syscalls 112 syscall, args = line.strip().split('(', 1) 113 if uses_socketcall and syscall in SOCKETCALLS: 114 syscall = "socketcall" 116 if syscall in syscalls: 117 syscalls[syscall] += 1 119 syscalls[syscall] = 1 123 if syscall in arg_inspection: [all …]
|
/external/valgrind/memcheck/tests/solaris/ |
D | syscall_at.stderr.exp | 2 Warning: invalid file descriptor 159879507 in syscall linkat() 3 Warning: invalid file descriptor 159879508 in syscall linkat() 4 Warning: invalid file descriptor 646349138 in syscall symlinkat() 5 Warning: invalid file descriptor 70680914 in syscall readlinkat() 6 Warning: invalid file descriptor 68362578 in syscall faccessat() 7 Warning: invalid file descriptor 70685266 in syscall fchownat() 8 Warning: invalid file descriptor 70717779 in syscall renameat() 9 Warning: invalid file descriptor 70717780 in syscall renameat() 10 Warning: invalid file descriptor 123765074 in syscall unlinkat() 11 Warning: invalid file descriptor 1112625490 in syscall fstatat() [all …]
|
/external/strace/tests/ |
D | setgroups.c | 75 long rc = syscall(SYSCALL_NR, 0, 0); in main() 78 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000000ULL, 0); in main() 81 rc = syscall(SYSCALL_NR, 1, 0); in main() 84 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000001ULL, 0); in main() 87 rc = syscall(SYSCALL_NR, -1U, 0); in main() 90 rc = syscall(SYSCALL_NR, -1L, 0); in main() 98 rc = syscall(SYSCALL_NR, 0, g1 + 1); in main() 101 rc = syscall(SYSCALL_NR, 1, g1); in main() 107 rc = syscall(SYSCALL_NR, 1, g1 + 1); in main() 110 rc = syscall(SYSCALL_NR, 1, -1L); in main() [all …]
|
D | mq_sendrecv.c | 127 rc = syscall(__NR_mq_unlink, MQ_NAME); in cleanup() 141 rc = syscall(__NR_mq_timedsend, fd, msg, msg_size, 42, in do_send() 175 rc = syscall(__NR_mq_timedreceive, fd, msg, MSG_SIZE, &prio, in do_recv() 263 rc = syscall(__NR_mq_open, NULL, bogus_zero, bogus_mode, NULL); in main() 267 rc = syscall(__NR_mq_open, msg, O_CREAT | bogus_oflags, bogus_mode, in main() 273 rc = syscall(__NR_mq_open, msg, O_CREAT | bogus_oflags, bogus_mode, in main() 279 rc = syscall(__NR_mq_open, msg, O_CREAT | bogus_oflags, bogus_mode, in main() 293 rc = syscall(__NR_mq_timedsend, bogus_zero, NULL, bogus_zero_size, in main() 298 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE, bogus_size, in main() 305 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main() [all …]
|
D | aio.c | 215 long rc = syscall(__NR_io_setup, 0xdeadbeef, NULL); in main() 218 rc = syscall(__NR_io_setup, lnr, ctx + 1); in main() 221 if (syscall(__NR_io_setup, lnr, ctx)) in main() 225 rc = syscall(__NR_io_submit, bogus_ctx, (long) 0xca7faceddeadf00dLL, in main() 230 rc = syscall(__NR_io_submit, *ctx, nr, cbs + nr); in main() 234 rc = syscall(__NR_io_submit, *ctx, -1L, cbs); in main() 238 rc = syscall(__NR_io_submit, *ctx, nr, cbs); in main() 252 rc = syscall(__NR_io_getevents, bogus_ctx, in main() 259 rc = syscall(__NR_io_getevents, bogus_ctx, in main() 266 rc = syscall(__NR_io_getevents, *ctx, nr, nr + 1, ev, ts); in main() [all …]
|
D | getgroups.c | 66 long i = syscall(SYSCALL_NR, size, g); in get_groups() 89 ngroups = syscall(SYSCALL_NR, 0, 0); in main() 94 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000000ULL, 0); in main() 97 rc = syscall(SYSCALL_NR, -1U, 0); in main() 100 rc = syscall(SYSCALL_NR, -1L, 0); in main() 105 rc = syscall(SYSCALL_NR, ngroups_max, 0); in main() 108 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000000ULL | ngroups_max, 0); in main() 122 rc = syscall(SYSCALL_NR, ngroups, efault); in main()
|
D | sched_xetscheduler.c | 14 long rc = syscall(__NR_sched_getscheduler, 0); in main() 49 rc = syscall(__NR_sched_getscheduler, -1); in main() 54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL); in main() 57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1); in main() 61 rc = syscall(__NR_sched_setscheduler, 0, 0xfaceda7a, param); in main() 65 rc = syscall(__NR_sched_setscheduler, -1, SCHED_FIFO, param); in main() 69 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param); in main()
|
D | sendfile.c | 66 assert(syscall(__NR_sendfile, 0, 1, NULL, page_len) == -1); in main() 76 assert(syscall(__NR_sendfile, 0, 1, p, page_len) == -1); in main() 80 assert(syscall(__NR_sendfile, sv[1], reg_in, NULL, alen) in main() 87 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) { in main() 93 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) in main() 100 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, stb.st_size + 1) in main() 111 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off64, 1) == -1); in main() 118 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, 1) == 0); in main()
|
/external/strace/tests-m32/ |
D | setgroups.c | 75 long rc = syscall(SYSCALL_NR, 0, 0); in main() 78 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000000ULL, 0); in main() 81 rc = syscall(SYSCALL_NR, 1, 0); in main() 84 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000001ULL, 0); in main() 87 rc = syscall(SYSCALL_NR, -1U, 0); in main() 90 rc = syscall(SYSCALL_NR, -1L, 0); in main() 98 rc = syscall(SYSCALL_NR, 0, g1 + 1); in main() 101 rc = syscall(SYSCALL_NR, 1, g1); in main() 107 rc = syscall(SYSCALL_NR, 1, g1 + 1); in main() 110 rc = syscall(SYSCALL_NR, 1, -1L); in main() [all …]
|
D | mq_sendrecv.c | 127 rc = syscall(__NR_mq_unlink, MQ_NAME); in cleanup() 141 rc = syscall(__NR_mq_timedsend, fd, msg, msg_size, 42, in do_send() 175 rc = syscall(__NR_mq_timedreceive, fd, msg, MSG_SIZE, &prio, in do_recv() 263 rc = syscall(__NR_mq_open, NULL, bogus_zero, bogus_mode, NULL); in main() 267 rc = syscall(__NR_mq_open, msg, O_CREAT | bogus_oflags, bogus_mode, in main() 273 rc = syscall(__NR_mq_open, msg, O_CREAT | bogus_oflags, bogus_mode, in main() 279 rc = syscall(__NR_mq_open, msg, O_CREAT | bogus_oflags, bogus_mode, in main() 293 rc = syscall(__NR_mq_timedsend, bogus_zero, NULL, bogus_zero_size, in main() 298 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE, bogus_size, in main() 305 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main() [all …]
|
D | aio.c | 215 long rc = syscall(__NR_io_setup, 0xdeadbeef, NULL); in main() 218 rc = syscall(__NR_io_setup, lnr, ctx + 1); in main() 221 if (syscall(__NR_io_setup, lnr, ctx)) in main() 225 rc = syscall(__NR_io_submit, bogus_ctx, (long) 0xca7faceddeadf00dLL, in main() 230 rc = syscall(__NR_io_submit, *ctx, nr, cbs + nr); in main() 234 rc = syscall(__NR_io_submit, *ctx, -1L, cbs); in main() 238 rc = syscall(__NR_io_submit, *ctx, nr, cbs); in main() 252 rc = syscall(__NR_io_getevents, bogus_ctx, in main() 259 rc = syscall(__NR_io_getevents, bogus_ctx, in main() 266 rc = syscall(__NR_io_getevents, *ctx, nr, nr + 1, ev, ts); in main() [all …]
|
D | getgroups.c | 66 long i = syscall(SYSCALL_NR, size, g); in get_groups() 89 ngroups = syscall(SYSCALL_NR, 0, 0); in main() 94 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000000ULL, 0); in main() 97 rc = syscall(SYSCALL_NR, -1U, 0); in main() 100 rc = syscall(SYSCALL_NR, -1L, 0); in main() 105 rc = syscall(SYSCALL_NR, ngroups_max, 0); in main() 108 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000000ULL | ngroups_max, 0); in main() 122 rc = syscall(SYSCALL_NR, ngroups, efault); in main()
|
D | sched_xetscheduler.c | 14 long rc = syscall(__NR_sched_getscheduler, 0); in main() 49 rc = syscall(__NR_sched_getscheduler, -1); in main() 54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL); in main() 57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1); in main() 61 rc = syscall(__NR_sched_setscheduler, 0, 0xfaceda7a, param); in main() 65 rc = syscall(__NR_sched_setscheduler, -1, SCHED_FIFO, param); in main() 69 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param); in main()
|
D | sendfile.c | 66 assert(syscall(__NR_sendfile, 0, 1, NULL, page_len) == -1); in main() 76 assert(syscall(__NR_sendfile, 0, 1, p, page_len) == -1); in main() 80 assert(syscall(__NR_sendfile, sv[1], reg_in, NULL, alen) in main() 87 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) { in main() 93 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) in main() 100 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, stb.st_size + 1) in main() 111 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off64, 1) == -1); in main() 118 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, 1) == 0); in main()
|
/external/strace/tests-mx32/ |
D | setgroups.c | 75 long rc = syscall(SYSCALL_NR, 0, 0); in main() 78 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000000ULL, 0); in main() 81 rc = syscall(SYSCALL_NR, 1, 0); in main() 84 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000001ULL, 0); in main() 87 rc = syscall(SYSCALL_NR, -1U, 0); in main() 90 rc = syscall(SYSCALL_NR, -1L, 0); in main() 98 rc = syscall(SYSCALL_NR, 0, g1 + 1); in main() 101 rc = syscall(SYSCALL_NR, 1, g1); in main() 107 rc = syscall(SYSCALL_NR, 1, g1 + 1); in main() 110 rc = syscall(SYSCALL_NR, 1, -1L); in main() [all …]
|
D | mq_sendrecv.c | 127 rc = syscall(__NR_mq_unlink, MQ_NAME); in cleanup() 141 rc = syscall(__NR_mq_timedsend, fd, msg, msg_size, 42, in do_send() 175 rc = syscall(__NR_mq_timedreceive, fd, msg, MSG_SIZE, &prio, in do_recv() 263 rc = syscall(__NR_mq_open, NULL, bogus_zero, bogus_mode, NULL); in main() 267 rc = syscall(__NR_mq_open, msg, O_CREAT | bogus_oflags, bogus_mode, in main() 273 rc = syscall(__NR_mq_open, msg, O_CREAT | bogus_oflags, bogus_mode, in main() 279 rc = syscall(__NR_mq_open, msg, O_CREAT | bogus_oflags, bogus_mode, in main() 293 rc = syscall(__NR_mq_timedsend, bogus_zero, NULL, bogus_zero_size, in main() 298 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE, bogus_size, in main() 305 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main() [all …]
|
D | aio.c | 215 long rc = syscall(__NR_io_setup, 0xdeadbeef, NULL); in main() 218 rc = syscall(__NR_io_setup, lnr, ctx + 1); in main() 221 if (syscall(__NR_io_setup, lnr, ctx)) in main() 225 rc = syscall(__NR_io_submit, bogus_ctx, (long) 0xca7faceddeadf00dLL, in main() 230 rc = syscall(__NR_io_submit, *ctx, nr, cbs + nr); in main() 234 rc = syscall(__NR_io_submit, *ctx, -1L, cbs); in main() 238 rc = syscall(__NR_io_submit, *ctx, nr, cbs); in main() 252 rc = syscall(__NR_io_getevents, bogus_ctx, in main() 259 rc = syscall(__NR_io_getevents, bogus_ctx, in main() 266 rc = syscall(__NR_io_getevents, *ctx, nr, nr + 1, ev, ts); in main() [all …]
|
D | getgroups.c | 66 long i = syscall(SYSCALL_NR, size, g); in get_groups() 89 ngroups = syscall(SYSCALL_NR, 0, 0); in main() 94 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000000ULL, 0); in main() 97 rc = syscall(SYSCALL_NR, -1U, 0); in main() 100 rc = syscall(SYSCALL_NR, -1L, 0); in main() 105 rc = syscall(SYSCALL_NR, ngroups_max, 0); in main() 108 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000000ULL | ngroups_max, 0); in main() 122 rc = syscall(SYSCALL_NR, ngroups, efault); in main()
|
D | sched_xetscheduler.c | 14 long rc = syscall(__NR_sched_getscheduler, 0); in main() 49 rc = syscall(__NR_sched_getscheduler, -1); in main() 54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL); in main() 57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1); in main() 61 rc = syscall(__NR_sched_setscheduler, 0, 0xfaceda7a, param); in main() 65 rc = syscall(__NR_sched_setscheduler, -1, SCHED_FIFO, param); in main() 69 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param); in main()
|
D | sendfile.c | 66 assert(syscall(__NR_sendfile, 0, 1, NULL, page_len) == -1); in main() 76 assert(syscall(__NR_sendfile, 0, 1, p, page_len) == -1); in main() 80 assert(syscall(__NR_sendfile, sv[1], reg_in, NULL, alen) in main() 87 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) { in main() 93 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) in main() 100 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, stb.st_size + 1) in main() 111 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off64, 1) == -1); in main() 118 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, 1) == 0); in main()
|
/external/libchrome/sandbox/linux/services/ |
D | syscall_wrappers.cc | 28 return syscall(__NR_getpid); in sys_getpid() 32 return syscall(__NR_gettid); in sys_gettid() 56 return syscall(__NR_clone, flags, child_stack, ptid, ctid, tls); in sys_clone() 60 return syscall(__NR_clone, flags, child_stack, ptid, tls, ctid); in sys_clone() 69 syscall(__NR_exit_group, status); in sys_exit_group() 75 return syscall(__NR_seccomp, operation, flags, args); in sys_seccomp() 82 int res = syscall(__NR_prlimit64, pid, resource, new_limit, old_limit); in sys_prlimit64() 88 int res = syscall(__NR_capget, hdrp, datap); in sys_capget() 97 return syscall(__NR_capset, hdrp, datap); in sys_capset() 105 res = syscall(__NR_getresuid32, ruid, euid, suid); in sys_getresuid() [all …]
|
/external/strace/linux/sparc/ |
D | 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/linux-kselftest/tools/testing/selftests/x86/ |
D | fsgsbase.c | 122 if (syscall(SYS_arch_prctl, ARCH_SET_GS, value) != 0) in check_gs_value() 136 if (syscall(SYS_arch_prctl, ARCH_GET_GS, &base) != 0) in check_gs_value() 153 if (syscall(SYS_arch_prctl, ARCH_SET_GS, initial_base) != 0) in mov_0_gs() 161 if (syscall(SYS_arch_prctl, ARCH_GET_GS, &arch_base) != 0) in mov_0_gs() 190 if (syscall(SYS_arch_prctl, ARCH_SET_GS, to_set) != 0) in do_remote_base() 215 if (syscall(SYS_arch_prctl, ARCH_SET_GS, 0) != 0) in do_unexpected_base() 230 if (syscall(SYS_modify_ldt, 1, &desc, sizeof(desc)) == 0) { in do_unexpected_base() 272 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc() 284 syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); in threadproc() 300 if (syscall(SYS_arch_prctl, ARCH_SET_GS, local) != 0) in set_gs_and_switch_to() [all …]
|
/external/valgrind/coregrind/m_mach/ |
D | mach_traps-amd64-darwin.S | 43 syscall 64 syscall 74 syscall 84 syscall 94 syscall 104 syscall 114 syscall 124 syscall 134 syscall
|
/external/autotest/client/site_tests/security_Minijail_seccomp/src/ |
D | fail.c | 14 int fd_z = syscall(__NR_open, "/dev/zero", O_RDONLY); in main() 15 int fd_n = syscall(__NR_open, "/dev/null", O_RDONLY); in main() 16 int nr = syscall(__NR_read, fd_z, buf, SIZE); in main() 17 int nw = syscall(__NR_write, fd_n, buf, SIZE); in main() 18 syscall(__NR_close, fd_z); in main() 19 syscall(__NR_close, fd_n); in main() 20 syscall(__NR_exit, 0); in main()
|