mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Add missing LOAD_SYSCALL_NR
PiperOrigin-RevId: 516777043 Change-Id: Icccb8260c7e54299c5aa2ddfee4086232e2b8ffb
This commit is contained in:
parent
690b31a038
commit
10b89d4d33
|
@ -120,6 +120,8 @@ std::vector<sock_filter> Policy::GetDefaultPolicy(bool user_notif) const {
|
||||||
JNE32(internal::kExecveMagic, JUMP(&l, past_execveat_l)),
|
JNE32(internal::kExecveMagic, JUMP(&l, past_execveat_l)),
|
||||||
ALLOW,
|
ALLOW,
|
||||||
LABEL(&l, past_execveat_l),
|
LABEL(&l, past_execveat_l),
|
||||||
|
|
||||||
|
LOAD_SYSCALL_NR,
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
policy = {
|
policy = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user