summaryrefslogtreecommitdiffstats
path: root/sandbox/linux/seccomp/getpid.cc
blob: 5eb32b80eeea1df7e6e0b18337100a896e2a1197 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "debug.h"
#include "sandbox_impl.h"

namespace playground {

int Sandbox::sandbox_getpid() {
  Debug::syscall(__NR_getpid, "Executing handler");
  return pid_;
}

} // namespace