/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 | 107 using sandbox::bpf_dsl::ResultExpr; 115 ResultExpr RestrictCloneToThreadsAndEPERMFork() { in RestrictCloneToThreadsAndEPERMFork() 138 ResultExpr RestrictPrctl() { in RestrictPrctl() 153 ResultExpr RestrictIoctl() { in RestrictIoctl() 159 ResultExpr RestrictMmapFlags() { in RestrictMmapFlags() 172 ResultExpr RestrictMprotectFlags() { in RestrictMprotectFlags() 182 ResultExpr RestrictFcntlCommands() { in RestrictFcntlCommands() 213 ResultExpr RestrictSocketcallCommand() { in RestrictSocketcallCommand() 233 ResultExpr RestrictKillTarget(pid_t target_pid, int sysno) { in RestrictKillTarget() 248 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() 116 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 182 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 211 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall()
|
D | baseline_policy.h | 34 bpf_dsl::ResultExpr EvaluateSyscall(int system_call_number) const override; 35 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 typedef scoped_refptr<const internal::ResultExprImpl> ResultExpr; typedef 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(const BoolExpr& cond, const ResultExpr& then_result); 185 Elser ElseIf(const BoolExpr& cond, const ResultExpr& then_result) const; 189 ResultExpr Else(const ResultExpr& else_result) const; [all …]
|
D | bpf_dsl.cc | 78 const ResultExpr& then_result, in IfThenResultExprImpl() 79 const ResultExpr& else_result) in IfThenResultExprImpl() 98 ResultExpr then_result_; 99 ResultExpr else_result_; 245 ResultExpr Allow() { in Allow() 246 return ResultExpr(new const ReturnResultExprImpl(SECCOMP_RET_ALLOW)); in Allow() 249 ResultExpr Error(int err) { in Error() 251 return ResultExpr(new const ReturnResultExprImpl(SECCOMP_RET_ERRNO + err)); in Error() 254 ResultExpr Kill() { in Kill() 255 return ResultExpr(new const ReturnResultExprImpl(SECCOMP_RET_KILL)); in Kill() [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 | 23 typedef scoped_refptr<const internal::ResultExprImpl> ResultExpr; typedef
|
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 | 27 using sandbox::bpf_dsl::ResultExpr; 52 ResultExpr EvaluateSyscall(int sysno) const override { in EvaluateSyscall() 94 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 | 118 bpf_dsl::ResultExpr SandboxPanic(const char* error) { in SandboxPanic()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 1276 Expr *ResultExpr = nullptr; in CheckScalarType() local 1281 ResultExpr = Result.getAs<Expr>(); in CheckScalarType() 1283 if (ResultExpr != expr) { in CheckScalarType() 1285 IList->setInit(Index, ResultExpr); in CheckScalarType() 1291 UpdateStructuredListElement(StructuredList, StructuredIndex, ResultExpr); in CheckScalarType() 1386 Expr *ResultExpr = nullptr; in CheckVectorType() local 1390 ResultExpr = Result.getAs<Expr>(); in CheckVectorType() 1392 if (ResultExpr != Init) { in CheckVectorType() 1394 IList->setInit(Index, ResultExpr); in CheckVectorType() 1401 ResultExpr); in CheckVectorType()
|