Skip to content
Snippets Groups Projects
Commit 5488d400 authored by Tianjie Xu's avatar Tianjie Xu Committed by android-build-merger
Browse files

Do not audit the fsetid capability for update engine

am: 29fc85ee

Change-Id: I888a076a056c08491d1185478b04ffce64af7ff2
parents c667a0ed 29fc85ee
Branches
Tags
No related merge requests found
...@@ -12,6 +12,12 @@ allow update_engine qtaguid_device:chr_file r_file_perms; ...@@ -12,6 +12,12 @@ allow update_engine qtaguid_device:chr_file r_file_perms;
# Following permissions are needed for update_engine. # Following permissions are needed for update_engine.
allow update_engine self:process { setsched }; allow update_engine self:process { setsched };
allow update_engine self:capability { fowner sys_admin }; allow update_engine self:capability { fowner sys_admin };
# Note: fsetid checks are triggered when creating a file in a directory with
# the setgid bit set to determine if the file should inherit setgid. In this
# case, setgid on the file is undesirable so we should just suppress the
# denial.
dontaudit update_engine self:capability fsetid;
allow update_engine kmsg_device:chr_file w_file_perms; allow update_engine kmsg_device:chr_file w_file_perms;
allow update_engine update_engine_exec:file rx_file_perms; allow update_engine update_engine_exec:file rx_file_perms;
wakelock_use(update_engine); wakelock_use(update_engine);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment