OSDN Git Service

Add syscalls that aren't currently used to the seccomp whitelist.
authorJosh Gao <jmgao@google.com>
Tue, 18 Apr 2017 23:05:39 +0000 (16:05 -0700)
committerJosh Gao <jmgao@google.com>
Thu, 20 Apr 2017 19:57:26 +0000 (12:57 -0700)
commit1e10449c13f65019e825b26e98889bfcdc81f5ff
tree8cba70aacf48c751808a50c9fcd8a706ea7e2845
parent07e75fe9a1cbf323b5de168448583ed66211efe0
Add syscalls that aren't currently used to the seccomp whitelist.

Add some useful new syscalls that we currently aren't using in bionic,
but might in the future to the seccomp whitelist.

Bug: http://b/37317198
Test: mma
Change-Id: I6550867da152cea84fb13d0c15a399cdb2acf1aa
(cherry picked from commit de9262e5c5f12b45516e19b66a4e3fc5d6edc5a1)
libc/SECCOMP_WHITELIST.TXT
libc/seccomp/arm64_policy.cpp
libc/seccomp/arm_policy.cpp
libc/seccomp/mips64_policy.cpp
libc/seccomp/mips_policy.cpp
libc/seccomp/x86_64_policy.cpp
libc/seccomp/x86_policy.cpp