Commit c35086d8 authored by jorgelo@chromium.org's avatar jorgelo@chromium.org

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
parent 7beac1b5
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment