Merge "enable ioctl filtering on other filesystem types"
This commit is contained in:
commit
505bc75e6d
1 changed files with 3 additions and 2 deletions
|
@ -292,8 +292,9 @@ allowxperm domain domain:{ unix_dgram_socket unix_stream_socket }
|
|||
allowxperm domain devpts:chr_file ioctl unpriv_tty_ioctls;
|
||||
|
||||
# All domains must clearly enumerate what ioctls they use
|
||||
# on plain files and directories
|
||||
allowxperm domain { file_type fs_type }:{ dir file } ioctl { 0 };
|
||||
# on filesystem objects (plain files, directories, symbolic links,
|
||||
# named pipes, and named sockets)
|
||||
allowxperm domain { file_type fs_type }:{ dir notdevfile_class_set } ioctl { 0 };
|
||||
|
||||
# Support sqlite F2FS specific optimizations
|
||||
# ioctl permission on the specific file type is still required
|
||||
|
|
Loading…
Reference in a new issue