Add missing LOAD_SYSCALL_NR

PiperOrigin-RevId: 516777043
Change-Id: Icccb8260c7e54299c5aa2ddfee4086232e2b8ffb
This commit is contained in:
Wiktor Garbacz 2023-03-15 03:29:07 -07:00 committed by Copybara-Service
parent 690b31a038
commit 10b89d4d33

View File

@ -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 = {