Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
914d2c9d
Commit
914d2c9d
authored
7 years ago
by
Tianjie Xu
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Do not audit the fsetid capability for update engine am:
29fc85ee
am:
5488d400
am:
f9a2a937
Change-Id: Ia4aa331aaf4c7e212707d10e57f9ce40baab7cd8
parents
ea96597f
f9a2a937
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/update_engine.te
+6
-0
6 additions, 0 deletions
public/update_engine.te
with
6 additions
and
0 deletions
public/update_engine.te
+
6
−
0
View file @
914d2c9d
...
@@ -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);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment