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

1 2

  /external/chromium_org/sandbox/linux/seccomp-bpf-helpers/
syscall_sets.h 21 static bool IsKill(int sysno);
22 static bool IsAllowedGettime(int sysno);
23 static bool IsCurrentDirectory(int sysno);
24 static bool IsUmask(int sysno);
28 static bool IsFileSystem(int sysno);
29 static bool IsAllowedFileSystemAccessViaFd(int sysno);
30 static bool IsDeniedFileSystemAccessViaFd(int sysno);
31 static bool IsGetSimpleId(int sysno);
32 static bool IsProcessPrivilegeChange(int sysno);
33 static bool IsProcessGroupOrSession(int sysno);
    [all...]
baseline_policy.cc 30 bool IsBaselinePolicyAllowed(int sysno) {
31 return SyscallSets::IsAllowedAddressSpaceAccess(sysno) ||
32 SyscallSets::IsAllowedBasicScheduler(sysno) ||
33 SyscallSets::IsAllowedEpoll(sysno) ||
34 SyscallSets::IsAllowedFileSystemAccessViaFd(sysno) ||
35 SyscallSets::IsAllowedFutex(sysno) ||
36 SyscallSets::IsAllowedGeneralIo(sysno) ||
37 SyscallSets::IsAllowedGetOrModifySocket(sysno) ||
38 SyscallSets::IsAllowedGettime(sysno) ||
39 SyscallSets::IsAllowedProcessStartOrDeath(sysno) ||
    [all...]
syscall_sets.cc 17 bool SyscallSets::IsKill(int sysno) {
18 switch (sysno) {
28 bool SyscallSets::IsAllowedGettime(int sysno) {
29 switch (sysno) {
53 bool SyscallSets::IsCurrentDirectory(int sysno) {
54 switch (sysno) {
64 bool SyscallSets::IsUmask(int sysno) {
65 switch (sysno) {
77 bool SyscallSets::IsFileSystem(int sysno) {
78 switch (sysno) {
    [all...]
syscall_parameters_restrictions.h 60 // Restrict |sysno| (which must be kill, tkill or tgkill) by allowing tgkill or
62 // |sysno| is tkill.
63 ErrorCode RestrictKillTarget(pid_t target_pid, SandboxBPF* sandbox, int sysno);
sigsys_handlers.cc 48 // Print a seccomp-bpf failure to handle |sysno| to stderr in an
50 void PrintSyscallError(uint32_t sysno) {
51 if (sysno >= 1024)
52 sysno = 0;
56 uint32_t rem = sysno;
baseline_policy_unittest.cc 218 #define TEST_BASELINE_SIGSYS(sysno) \
220 SIGSYS_##sysno, \
223 syscall(sysno, 0, 0, 0, 0, 0, 0); \
  /external/chromium_org/content/common/sandbox_linux/
bpf_ppapi_policy_linux.cc 25 int sysno) const {
26 switch (sysno) {
43 return SandboxBPFBasePolicy::EvaluateSyscall(sandbox, sysno);
bpf_renderer_policy_linux.cc 25 int sysno) const {
26 switch (sysno) {
60 return SandboxBPFBasePolicy::EvaluateSyscall(sandbox, sysno);
bpf_cros_arm_gpu_policy_linux.cc 113 int sysno) const {
114 switch (sysno) {
120 return CrosArmGpuProcessPolicy::EvaluateSyscall(sandbox, sysno);
132 int sysno) const {
134 if (allow_shmat_ && sysno == __NR_shmat)
138 switch (sysno) {
157 if (SyscallSets::IsAdvancedScheduler(sysno))
161 return GpuProcessPolicy::EvaluateSyscall(sandbox, sysno);
bpf_gpu_policy_linux.cc 130 int sysno) const {
131 switch (sysno) {
137 return GpuProcessPolicy::EvaluateSyscall(sandbox, sysno);
171 int sysno) const {
172 switch (sysno) {
194 if (SyscallSets::IsEventFd(sysno))
198 return SandboxBPFBasePolicy::EvaluateSyscall(sandbox, sysno);
sandbox_seccomp_bpf_linux.cc 87 int sysno) const {
88 if (!SandboxBPF::IsValidSyscallNumber(sysno)) {
92 if (SyscallSets::IsDebug(sysno) || SyscallSets::IsNuma(sysno))
113 ErrorCode AllowAllPolicy::EvaluateSyscall(SandboxBPF*, int sysno) const {
114 if (!SandboxBPF::IsValidSyscallNumber(sysno)) {
  /external/chromium_org/content/common/sandbox_linux/android/
sandbox_bpf_base_policy_android.cc 20 int sysno) const {
23 switch (sysno) {
57 return SandboxBPFBasePolicy::EvaluateSyscall(sandbox, sysno);
  /external/chromium_org/sandbox/linux/seccomp-bpf/
sandbox_bpf_unittest.cc 96 int sysno) const OVERRIDE {
97 DCHECK(SandboxBPF::IsValidSyscallNumber(sysno));
98 if (sysno == __NR_uname) {
131 virtual ErrorCode EvaluateSyscall(SandboxBPF*, int sysno) const OVERRIDE {
132 DCHECK(SandboxBPF::IsValidSyscallNumber(sysno));
133 switch (sysno) {
158 virtual ErrorCode EvaluateSyscall(SandboxBPF*, int sysno) const OVERRIDE {
159 DCHECK(SandboxBPF::IsValidSyscallNumber(sysno));
160 switch (sysno) {
193 int sysno,
    [all...]
bpf_tests_unittest.cc 37 int sysno,
42 if (!SandboxBPF::IsValidSyscallNumber(sysno)) {
syscall_unittest.cc 92 int sysno,
94 if (!SandboxBPF::IsValidSyscallNumber(sysno)) {
97 if (sysno == __NR_uname) {
  /external/chromium_org/components/nacl/loader/nonsfi/
nonsfi_sandbox.h 23 int sysno) const OVERRIDE;
nonsfi_sandbox.cc 183 bool IsGracefullyDenied(int sysno) {
184 switch (sysno) {
237 int sysno) const {
238 switch (sysno) {
333 if (IsGracefullyDenied(sysno))
  /external/chromium_org/components/nacl/loader/sandbox_linux/
nacl_bpf_sandbox_linux.cc 46 sandbox::SandboxBPF* sb, int sysno) const {
48 switch (sysno) {
100 return baseline_policy_->EvaluateSyscall(sb, sysno);
  /external/valgrind/main/coregrind/
m_syscall.c 428 sysno in r7
455 sysno in r8
705 SysRes VG_(do_syscall) ( UWord sysno, UWord a1, UWord a2, UWord a3,
710 UWord val = do_syscall_WRK(sysno,a1,a2,a3,a4,a5,a6);
714 UWord val = do_syscall_WRK(sysno,a1,a2,a3,a4,a5,a6);
718 ULong ret = do_syscall_WRK(sysno,a1,a2,a3,a4,a5,a6);
725 argblock[0] = sysno;
736 UWord val = do_syscall_WRK(a1,a2,a3,a4,a5,a6,sysno);
740 UWord val = do_syscall_WRK(a1,a2,a3,a4,a5,a6,sysno);
746 UChar scclass = VG_DARWIN_SYSNO_CLASS(sysno);
    [all...]
pub_core_syscall.h 49 extern SysRes VG_(do_syscall) ( UWord sysno,
  /external/valgrind/main/coregrind/m_syswrap/
priv_types_n_macros.h 55 Word sysno; member in struct:SyscallArgs
177 /* A function to find the syscall table entry for a given sysno. If
194 SyscallTableEntry* ML_(get_linux_syscall_entry)( UInt sysno );
270 #define WRAPPER_ENTRY_X_(auxstr, sysno, name) \
271 [sysno] = { vgSysWrap_##auxstr##_##name##_before, NULL }
272 #define WRAPPER_ENTRY_XY(auxstr, sysno, name) \
273 [sysno] = { vgSysWrap_##auxstr##_##name##_before, \
283 # define GENX_(sysno, name) WRAPPER_ENTRY_X_(generic, sysno, name)
284 # define GENXY(sysno, name) WRAPPER_ENTRY_XY(generic, sysno, name
    [all...]
syswrap-main.c 359 return a1->sysno == a2->sysno
410 canonical->sysno = gst->guest_EAX;
422 canonical->sysno = gst->guest_RAX;
434 canonical->sysno = gst->guest_GPR0;
446 canonical->sysno = gst->guest_GPR0;
458 canonical->sysno = gst->guest_R7;
470 canonical->sysno = gst->guest_X8;
482 canonical->sysno = gst->guest_r2; // v0
483 if (canonical->sysno == __NR_exit)
1394 Word sysno; local
1793 Word sysno; local
    [all...]
syswrap-arm64-linux.c 878 #define PLAX_(sysno, name) WRAPPER_ENTRY_X_(arm64_linux, sysno, name)
879 #define PLAXY(sysno, name) WRAPPER_ENTRY_XY(arm64_linux, sysno, name)
    [all...]
syswrap-ppc64-linux.c 668 #define PLAX_(sysno, name) WRAPPER_ENTRY_X_(ppc64_linux, sysno, name)
669 #define PLAXY(sysno, name) WRAPPER_ENTRY_XY(ppc64_linux, sysno, name)
    [all...]
  /external/valgrind/main/include/vki/
vki-scnums-darwin.h 93 #define VG_DARWIN_SYSNO_INDEX(sysno) ((sysno) & VG_DARWIN_SYSCALL_NUMBER_MASK)
94 #define VG_DARWIN_SYSNO_CLASS(sysno) ((sysno) >> VG_DARWIN_SYSCALL_CLASS_SHIFT)
102 # define VG_DARWIN_SYSNO_FOR_KERNEL(sysno) \
103 ((VG_DARWIN_SYSNO_CLASS(sysno) == VG_DARWIN_SYSCALL_CLASS_MACH) \
104 ? -VG_DARWIN_SYSNO_INDEX(sysno) \
105 : VG_DARWIN_SYSNO_INDEX(sysno) \
110 # define VG_DARWIN_SYSNO_FOR_KERNEL(sysno) (sysno)
    [all...]

Completed in 276 milliseconds

1 2