diff options
author | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-20 01:28:52 +0000 |
---|---|---|
committer | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-20 01:28:52 +0000 |
commit | 1bf415567c28c5ea0cc3529f160496648ea162da (patch) | |
tree | e30dc17291040b51935bff4ab5f25619f87fb7af /sandbox/linux/seccomp-bpf/sandbox_bpf.h | |
parent | 082261b9911da811ba57fa172dcad8677e716e35 (diff) | |
download | chromium_src-1bf415567c28c5ea0cc3529f160496648ea162da.zip chromium_src-1bf415567c28c5ea0cc3529f160496648ea162da.tar.gz chromium_src-1bf415567c28c5ea0cc3529f160496648ea162da.tar.bz2 |
Linux Sandbox: get everything to compile on Android.
We define our own android_arm_ucontext.h file since
signal.h doesn't define ucontext_t on Android.
BUG=166704
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11618010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174070 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/linux/seccomp-bpf/sandbox_bpf.h')
-rw-r--r-- | sandbox/linux/seccomp-bpf/sandbox_bpf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sandbox/linux/seccomp-bpf/sandbox_bpf.h b/sandbox/linux/seccomp-bpf/sandbox_bpf.h index a551a52..aee03fa 100644 --- a/sandbox/linux/seccomp-bpf/sandbox_bpf.h +++ b/sandbox/linux/seccomp-bpf/sandbox_bpf.h @@ -85,6 +85,10 @@ #endif // For prctl.h +#ifndef PR_SET_SECCOMP +#define PR_SET_SECCOMP 22 +#define PR_GET_SECCOMP 21 +#endif #ifndef PR_SET_NO_NEW_PRIVS #define PR_SET_NO_NEW_PRIVS 38 #define PR_GET_NO_NEW_PRIVS 39 |