Skip to content
Snippets Groups Projects
Commit e1224de0 authored by Jeffrey Vander Stoep's avatar Jeffrey Vander Stoep Committed by Gerrit Code Review
Browse files

Merge "Allow domains to stat filesystems."

parents 67d9932c fcea7263
No related branches found
No related tags found
No related merge requests found
...@@ -127,6 +127,10 @@ allow domain debugfs:dir search; ...@@ -127,6 +127,10 @@ allow domain debugfs:dir search;
allow domain debugfs_tracing:dir search; allow domain debugfs_tracing:dir search;
allow domain debugfs_trace_marker:file w_file_perms; allow domain debugfs_trace_marker:file w_file_perms;
# Filesystem access.
allow domain fs_type:filesystem getattr;
allow domain fs_type:dir getattr;
### ###
### neverallow rules ### neverallow rules
### ###
......
...@@ -25,10 +25,6 @@ allow domain_deprecated rootfs:lnk_file r_file_perms; ...@@ -25,10 +25,6 @@ allow domain_deprecated rootfs:lnk_file r_file_perms;
# Device accesses. # Device accesses.
allow domain_deprecated device:file read; allow domain_deprecated device:file read;
# Filesystem accesses.
allow domain_deprecated fs_type:filesystem getattr;
allow domain_deprecated fs_type:dir getattr;
# System file accesses. # System file accesses.
allow domain_deprecated system_file:dir r_dir_perms; allow domain_deprecated system_file:dir r_dir_perms;
allow domain_deprecated system_file:file r_file_perms; allow domain_deprecated system_file:file r_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment