Searched refs:syscall (Results 151 - 175 of 225) sorted by relevance

123456789

/external/valgrind/main/memcheck/tests/
H A Dleak-segv-jmp.c8 #include <sys/syscall.h>
13 // Refer to this file for syscall convention.
59 " syscall\n"
81 " sc\n" /* syscall: sets %cr0.so on error */
154 "syscall\n"
164 // Ensure the file compiles even if the syscall nr is not defined.
220 // to mprotect the pages : as this syscall will not be seen
/external/chromium_org/sandbox/linux/services/
H A Dbroker_process.cc11 #include <sys/syscall.h>
52 return syscall(__NR_openat, AT_FDCWD, pathname, flags, mode);
418 // policy. Write the syscall return value (-errno) to |write_pickle|.
440 // Write the syscall return value (-errno) to |write_pickle| and append
/external/chromium_org/tools/cygprofile/
H A Dcygprofile.cc10 #include <sys/syscall.h>
56 return syscall(__NR_gettid);
/external/qemu/util/
H A Dqemu-thread-posix.c24 #include <sys/syscall.h>
281 #define futex(...) syscall(__NR_futex, __VA_ARGS__)
/external/valgrind/main/coregrind/
H A Dm_trampoline.S169 syscall
177 syscall
187 syscall
197 syscall
958 syscall
1141 syscall
1148 syscall
1198 syscall
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Dsandbox_bpf.cc20 #include <sys/syscall.h>
39 #include "sandbox/linux/seccomp-bpf/syscall.h"
116 if (syscall(__NR_getpid) < 0 && errno == EPERM) {
117 syscall(__NR_exit_group, static_cast<intptr_t>(kExpectedExitCode));
139 syscall(__NR_exit_group, static_cast<intptr_t>(kExpectedExitCode));
203 // any state other than the syscall arguments.
494 // the thread group are all handled atomically by this syscall.
495 const int rv = syscall(
626 int rv = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER,
679 // 2. If the policy involves unsafe traps, check if the syscall wa
[all...]
H A Dtrap.cc10 #include <sys/syscall.h>
19 #include "sandbox/linux/seccomp-bpf/syscall.h"
161 // When indirect syscall (syscall(__NR_foo, ...)) is made on Mips, the
163 // real number of a syscall (__NR_foo) is in SECCOMP_PARM1(ctx)
188 // Mips supports up to eight arguments for syscall.
/external/e2fsprogs/misc/
H A De4defrag.c42 #include <sys/syscall.h>
204 return syscall(__NR_fadvise64_64, fd, offset, len, advise);
228 return syscall(__NR_sync_file_range, fd, offset, length, flag);
230 return syscall(__NR_sync_file_range2, fd, flag, offset, length);
236 #warning Using locally defined fallocate syscall interface.
252 return syscall(__NR_fallocate, fd, mode, offset, len);
/external/chromium_org/base/process/
H A Dlaunch_posix.cc141 return syscall(SYS_rt_sigaction, sig, act, oact, sizeof(kernel_sigset_t));
314 pid = syscall(__NR_clone, options.clone_flags, 0, 0, 0);
/external/chromium_org/components/nacl/loader/nonsfi/
H A Dnonsfi_sandbox_sigsys_unittest.cc11 #include <sys/syscall.h>
28 syscall(sysno, 0, 0, 0, 0, 0, 0); \
H A Dnonsfi_sandbox.cc15 #include <sys/syscall.h>
/external/chromium_org/ppapi/native_client/tests/breakpad_crash_test/
H A Dnacl.scons71 # This tests a crash that occurs inside a syscall handler.
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dsysinfo.cc93 # include <sys/syscall.h>
96 # define safeopen(filename, mode) syscall(SYS_open, filename, mode)
101 # define saferead(fd, buffer, size) syscall(SYS_read, fd, buffer, size)
106 # define safeclose(fd) syscall(SYS_close, fd)
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dsysinfo.cc88 # include <sys/syscall.h>
91 # define safeopen(filename, mode) syscall(SYS_open, filename, mode)
96 # define saferead(fd, buffer, size) syscall(SYS_read, fd, buffer, size)
101 # define safeclose(fd) syscall(SYS_close, fd)
/external/compiler-rt/lib/asan/
H A Dasan_linux.cc29 #include <sys/syscall.h>
/external/libhevc/common/
H A Dithread.c437 i4_sys_res = syscall(__NR_sched_setaffinity, pid, sizeof(i4_mask), &i4_mask);
442 //perror("Error in setaffinity syscall PERROR : ");
443 //LOG_ERROR("Error in the syscall setaffinity: mask=0x%x err=0x%x", i4_mask, i4_sys_res);
/external/ltrace/sysdeps/linux-gnu/mips/
H A Dtrace.c75 \param sysnum 0-based syscall number.
76 \return 1 if syscall, 2 if sysret, 0 otherwise.
82 the pc points at the instruction just after the mips "syscall"
101 On a mips, syscall looks like:
102 24040fa1 li v0, 0x0fa1 # 4001 --> _exit syscall
103 0000000c syscall
110 /* if it is a syscall, return 1 or 2 */
113 proc->callstack[proc->callstack_depth - 1].c_un.syscall == *sysnum) {
295 \param type Function/syscall call or return.
310 - syscall parameter
[all...]
/external/ltrace/testsuite/ltrace.main/
H A Dparameters.c9 #include <sys/syscall.h>
/external/qemu/
H A Dos-posix.c44 #include <sys/syscall.h>
/external/strace/
H A DAndroid.mk73 syscall.c \
/external/chromium_org/sandbox/
H A Dseccomp_bpf.target.darwin-arm.mk34 sandbox/linux/seccomp-bpf/syscall.cc \
H A Dseccomp_bpf.target.darwin-arm64.mk34 sandbox/linux/seccomp-bpf/syscall.cc \
H A Dseccomp_bpf.target.darwin-mips.mk34 sandbox/linux/seccomp-bpf/syscall.cc \
H A Dseccomp_bpf.target.darwin-x86.mk34 sandbox/linux/seccomp-bpf/syscall.cc \
H A Dseccomp_bpf.target.darwin-x86_64.mk34 sandbox/linux/seccomp-bpf/syscall.cc \

Completed in 650 milliseconds

123456789