Skip to content

Commit

Permalink
Add missing LOAD_SYSCALL_NR
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 516777043
Change-Id: Icccb8260c7e54299c5aa2ddfee4086232e2b8ffb
  • Loading branch information
happyCoder92 authored and copybara-github committed Mar 15, 2023
1 parent 690b31a commit 10b89d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sandboxed_api/sandbox2/policy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ std::vector<sock_filter> Policy::GetDefaultPolicy(bool user_notif) const {
JNE32(internal::kExecveMagic, JUMP(&l, past_execveat_l)),
ALLOW,
LABEL(&l, past_execveat_l),

LOAD_SYSCALL_NR,
};
} else {
policy = {
Expand Down

0 comments on commit 10b89d4

Please sign in to comment.