mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Use AllowDup helper in AddNetworkProxyPolicy
PiperOrigin-RevId: 496898835 Change-Id: I76968c5c9b25a9e41865b3fad20463661195f581
This commit is contained in:
parent
aff27f4559
commit
7625c3dd24
|
@ -1355,10 +1355,8 @@ PolicyBuilder& PolicyBuilder::AddNetworkProxyPolicy() {
|
|||
AllowFutexOp(FUTEX_WAKE);
|
||||
AllowFutexOp(FUTEX_WAIT);
|
||||
AllowFutexOp(FUTEX_WAIT_BITSET);
|
||||
AllowDup();
|
||||
AllowSyscalls({
|
||||
#ifdef __NR_dup2
|
||||
__NR_dup2,
|
||||
#endif
|
||||
__NR_recvmsg,
|
||||
__NR_close,
|
||||
__NR_gettid,
|
||||
|
|
Loading…
Reference in New Issue
Block a user