Skip to content
Snippets Groups Projects
Commit fed24651 authored by Stephen Smalley's avatar Stephen Smalley
Browse files

Allow debugfs access and setsched for mediaserver.

parent 6cce6199
No related branches found
No related tags found
No related merge requests found
......@@ -96,5 +96,12 @@ r_dir_file(domain, sysfs)
r_dir_file(domain, inotify)
r_dir_file(domain, cgroup)
# Ignore /sys/kernel/debug
dontaudit domain debugfs:dir search;
# debugfs access
bool debugfs true;
if (debugfs) {
allow domain debugfs:dir r_dir_perms;
allow domain debugfs:file rw_file_perms;
} else {
dontaudit domain debugfs:dir r_dir_perms;
dontaudit domain debugfs:file rw_file_perms;
}
......@@ -83,6 +83,7 @@ allow system appdomain:process { sigkill signal };
# Set scheduling info for apps.
allow system appdomain:process setsched;
allow system mediaserver:process setsched;
# Read /proc data for apps.
allow system appdomain:dir r_dir_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