Index: sandbox/linux/seccomp-bpf-helpers/baseline_policy.h |
diff --git a/sandbox/linux/seccomp-bpf-helpers/baseline_policy.h b/sandbox/linux/seccomp-bpf-helpers/baseline_policy.h |
index 8f842f09fdd9826dcbbbb05a7656313a9c6d8e6b..e3363d47cdf0b2064c151fbaabd6917109170aa2 100644 |
--- a/sandbox/linux/seccomp-bpf-helpers/baseline_policy.h |
+++ b/sandbox/linux/seccomp-bpf-helpers/baseline_policy.h |
@@ -32,6 +32,7 @@ class SANDBOX_EXPORT BaselinePolicy : public bpf_dsl::SandboxBPFDSLPolicy { |
virtual bpf_dsl::ResultExpr EvaluateSyscall( |
int system_call_number) const OVERRIDE; |
virtual bpf_dsl::ResultExpr InvalidSyscall() const OVERRIDE; |
+ pid_t current_pid() const { return current_pid_; } |
private: |
int fs_denied_errno_; |