Whitelist additional unix socket ioctl
TIOCGWINSZ = 0x00005413 avc: denied { ioctl } for comm="ls" path="socket:[362628]" dev="sockfs" ino=362628 ioctlcmd=5413 scontext=u:r:shell:s0 tcontext=u:r:adbd:s0 tclass=unix_stream_socket permissive=0 Bug: 28171804 Change-Id: I460e2469730d0cd90d714f30803ef849317d4be7
This commit is contained in:
parent
916623a271
commit
81b7675e8c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ SIOCIWFIRSTPRIV-SIOCIWLASTPRIV
|
|||
}')
|
||||
|
||||
# commonly used ioctls on unix sockets
|
||||
define(`unpriv_unix_sock_ioctls', `{TIOCOUTQ FIOCLEX TCGETS TIOCSWINSZ FIONREAD }')
|
||||
define(`unpriv_unix_sock_ioctls', `{TIOCOUTQ FIOCLEX TCGETS TIOCGWINSZ TIOCSWINSZ FIONREAD }')
|
||||
|
||||
# commonly used TTY ioctls
|
||||
define(`unpriv_tty_ioctls', `{ TIOCOUTQ FIOCLEX }')
|
||||
|
|
Loading…
Reference in a new issue