diff options
author | jorgelo@chromium.org <jorgelo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-10 23:10:24 +0000 |
---|---|---|
committer | jorgelo@chromium.org <jorgelo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-10 23:10:24 +0000 |
commit | c35086d8374b286ca560260f4ba099daeb730fb0 (patch) | |
tree | 27bc4835973a0e958bfa57be64e13f12bfb2e738 /sandbox | |
parent | 7beac1b5996fb6594bea8863e1c40be308b9a2e6 (diff) | |
download | chromium_src-c35086d8374b286ca560260f4ba099daeb730fb0.zip chromium_src-c35086d8374b286ca560260f4ba099daeb730fb0.tar.gz chromium_src-c35086d8374b286ca560260f4ba099daeb730fb0.tar.bz2 |
sandbox_bpf_unittest.cc: Remove old code.
BUG=None
TEST=Passes on daisy-spring (ARM device).
Review URL: https://codereview.chromium.org/231843008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263121 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc b/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc index f05e3eb0..5c5c627 100644 --- a/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc +++ b/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc @@ -361,13 +361,6 @@ ErrorCode SyntheticPolicy(SandboxBPF*, int sysno, void*) { return ErrorCode(ENOSYS); } -// TODO(jorgelo): remove this once the new code generator lands. -#if defined(__arm__) - if (sysno > static_cast<int>(MAX_PUBLIC_SYSCALL)) { - return ErrorCode(ENOSYS); - } -#endif - if (sysno == __NR_exit_group || sysno == __NR_write) { // exit_group() is special, we really need it to work. // write() is needed for BPF_ASSERT() to report a useful error message. |