Add TIOCINQ to allowed seccomp when hostinet is used

PiperOrigin-RevId: 215574070
Change-Id: Ib36e804adebaf756adb9cbc2752be9789691530b
This commit is contained in:
Fabricio Voznika
2018-10-03 09:32:54 -07:00
committed by Shentubot
parent 0a13042d48
commit 77e43adeab
+4
View File
@@ -335,6 +335,10 @@ func hostInetFilters() seccomp.SyscallRules {
seccomp.AllowAny{},
seccomp.AllowValue(syscall.TIOCOUTQ),
},
{
seccomp.AllowAny{},
seccomp.AllowValue(syscall.TIOCINQ),
},
},
syscall.SYS_LISTEN: {},
syscall.SYS_READV: {},