mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Add AllowAccess to SAPI's default policy
The syscalls are fairly common and low risk. PiperOrigin-RevId: 603312020 Change-Id: Id06bddc4e7fcc879cad567361ae5b0bad9533142
This commit is contained in:
parent
b9c84a1f75
commit
29a3b8cd39
|
@ -76,6 +76,7 @@ void InitDefaultPolicyBuilder(sandbox2::PolicyBuilder* builder) {
|
||||||
.AllowGetPIDs()
|
.AllowGetPIDs()
|
||||||
.AllowSleep()
|
.AllowSleep()
|
||||||
.AllowReadlink()
|
.AllowReadlink()
|
||||||
|
.AllowAccess()
|
||||||
.AllowSyscalls({
|
.AllowSyscalls({
|
||||||
__NR_recvmsg,
|
__NR_recvmsg,
|
||||||
__NR_sendmsg,
|
__NR_sendmsg,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user