/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
D | syscall_parameters_restrictions.h | 24 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictCloneToThreadsAndEPERMFork(); 28 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictPrctl(); 32 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictIoctl(); 38 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictMmapFlags(); 42 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictMprotectFlags(); 49 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictFcntlCommands(); 54 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictSocketcallCommand(); 60 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictKillTarget(pid_t target_pid, 64 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictFutex(); 68 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictGetSetpriority(pid_t target_pid); [all …]
|
D | syscall_parameters_restrictions.cc | 118 using sandbox::bpf_dsl::ResultExpr; 126 ResultExpr RestrictCloneToThreadsAndEPERMFork() { in RestrictCloneToThreadsAndEPERMFork() 149 ResultExpr RestrictPrctl() { in RestrictPrctl() 190 ResultExpr RestrictIoctl() { in RestrictIoctl() 196 ResultExpr RestrictMmapFlags() { in RestrictMmapFlags() 209 ResultExpr RestrictMprotectFlags() { in RestrictMprotectFlags() 219 ResultExpr RestrictFcntlCommands() { in RestrictFcntlCommands() 250 ResultExpr RestrictSocketcallCommand() { in RestrictSocketcallCommand() 270 ResultExpr RestrictKillTarget(pid_t target_pid, int sysno) { in RestrictKillTarget() 285 ResultExpr RestrictFutex() { in RestrictFutex() [all …]
|
D | sigsys_handlers.h | 63 SANDBOX_EXPORT bpf_dsl::ResultExpr CrashSIGSYS(); 64 SANDBOX_EXPORT bpf_dsl::ResultExpr CrashSIGSYSClone(); 65 SANDBOX_EXPORT bpf_dsl::ResultExpr CrashSIGSYSPrctl(); 66 SANDBOX_EXPORT bpf_dsl::ResultExpr CrashSIGSYSIoctl(); 67 SANDBOX_EXPORT bpf_dsl::ResultExpr CrashSIGSYSKill(); 68 SANDBOX_EXPORT bpf_dsl::ResultExpr CrashSIGSYSFutex(); 69 SANDBOX_EXPORT bpf_dsl::ResultExpr RewriteSchedSIGSYS();
|
D | sigsys_handlers.cc | 247 bpf_dsl::ResultExpr CrashSIGSYS() { in CrashSIGSYS() 251 bpf_dsl::ResultExpr CrashSIGSYSClone() { in CrashSIGSYSClone() 255 bpf_dsl::ResultExpr CrashSIGSYSPrctl() { in CrashSIGSYSPrctl() 259 bpf_dsl::ResultExpr CrashSIGSYSIoctl() { in CrashSIGSYSIoctl() 263 bpf_dsl::ResultExpr CrashSIGSYSKill() { in CrashSIGSYSKill() 267 bpf_dsl::ResultExpr CrashSIGSYSFutex() { in CrashSIGSYSFutex() 271 bpf_dsl::ResultExpr RewriteSchedSIGSYS() { in RewriteSchedSIGSYS()
|
D | syscall_parameters_restrictions_unittests.cc | 44 using sandbox::bpf_dsl::ResultExpr; 51 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 119 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 187 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 216 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall()
|
D | baseline_policy.h | 36 bpf_dsl::ResultExpr EvaluateSyscall(int system_call_number) const override; 37 bpf_dsl::ResultExpr InvalidSyscall() const override;
|
D | baseline_policy.cc | 35 using sandbox::bpf_dsl::ResultExpr; 102 ResultExpr EvaluateSyscallImpl(int fs_denied_errno, in EvaluateSyscallImpl() 270 ResultExpr BaselinePolicy::EvaluateSyscall(int sysno) const { in EvaluateSyscall() 280 ResultExpr BaselinePolicy::InvalidSyscall() const { in InvalidSyscall()
|
/external/libchrome/sandbox/linux/bpf_dsl/ |
D | bpf_dsl.h | 80 using ResultExpr = std::shared_ptr<const internal::ResultExprImpl>; variable 87 SANDBOX_EXPORT ResultExpr Allow(); 93 SANDBOX_EXPORT ResultExpr Error(int err); 96 SANDBOX_EXPORT ResultExpr Kill(); 101 SANDBOX_EXPORT ResultExpr Trace(uint16_t aux); 106 SANDBOX_EXPORT ResultExpr 117 SANDBOX_EXPORT ResultExpr 176 SANDBOX_EXPORT Elser If(BoolExpr cond, ResultExpr then_result); 185 Elser ElseIf(BoolExpr cond, ResultExpr then_result) const; 189 ResultExpr Else(ResultExpr else_result) const; [all …]
|
D | bpf_dsl.cc | 75 ResultExpr then_result, in IfThenResultExprImpl() 76 ResultExpr else_result) in IfThenResultExprImpl() 96 ResultExpr then_result_; 97 ResultExpr else_result_; 238 ResultExpr Allow() { in Allow() 242 ResultExpr Error(int err) { in Error() 247 ResultExpr Kill() { in Kill() 251 ResultExpr Trace(uint16_t aux) { in Trace() 255 ResultExpr Trap(TrapRegistry::TrapFnc trap_func, const void* aux) { in Trap() 259 ResultExpr UnsafeTrap(TrapRegistry::TrapFnc trap_func, const void* aux) { in UnsafeTrap() [all …]
|
D | bpf_dsl_unittest.cc | 120 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 152 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 198 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 238 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 261 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 289 ResultExpr EvaluateSyscall(int sysno) const override { 320 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 363 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 397 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 439 ResultExpr allow = Allow(); in TEST() [all …]
|
D | policy.h | 24 virtual ResultExpr EvaluateSyscall(int sysno) const = 0; 28 virtual ResultExpr InvalidSyscall() const;
|
D | policy_compiler.h | 28 using PanicFunc = bpf_dsl::ResultExpr (*)(const char* error); 123 CodeGen::Node CompileResult(const ResultExpr& res);
|
D | policy.cc | 14 ResultExpr Policy::InvalidSyscall() const { in InvalidSyscall()
|
D | bpf_dsl_forward.h | 24 using ResultExpr = std::shared_ptr<const internal::ResultExprImpl>; variable
|
D | policy_compiler.cc | 58 ResultExpr DefaultPanic(const char* error) { in DefaultPanic() 277 CodeGen::Node PolicyCompiler::CompileResult(const ResultExpr& res) { in CompileResult()
|
/external/libchrome/sandbox/linux/seccomp-bpf/ |
D | bpf_tests_unittest.cc | 28 using sandbox::bpf_dsl::ResultExpr; 53 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 95 ResultExpr EvaluateSyscall(int system_call_number) const override { in EvaluateSyscall()
|
D | syscall_unittest.cc | 30 using sandbox::bpf_dsl::ResultExpr; 116 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall()
|
D | sandbox_bpf.cc | 117 bpf_dsl::ResultExpr SandboxPanic(const char* error) { in SandboxPanic()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 1338 Expr *ResultExpr = nullptr; in CheckScalarType() local 1343 ResultExpr = Result.getAs<Expr>(); in CheckScalarType() 1345 if (ResultExpr != expr) { in CheckScalarType() 1347 IList->setInit(Index, ResultExpr); in CheckScalarType() 1353 UpdateStructuredListElement(StructuredList, StructuredIndex, ResultExpr); in CheckScalarType() 1448 Expr *ResultExpr = nullptr; in CheckVectorType() local 1452 ResultExpr = Result.getAs<Expr>(); in CheckVectorType() 1454 if (ResultExpr != Init) { in CheckVectorType() 1456 IList->setInit(Index, ResultExpr); in CheckVectorType() 1463 ResultExpr); in CheckVectorType()
|