Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
107c5539
Commit
107c5539
authored
9 years ago
by
Amith Yamasani
Browse files
Options
Downloads
Patches
Plain Diff
Add policies for system_server to delete fpdata folder
Bug: 26211308 Change-Id: I8fd2d14ea52d49a33e6cdbcdf90630eea89f7dd0
parent
cb1ab985
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
system_server.te
+3
-1
3 additions, 1 deletion
system_server.te
with
3 additions
and
1 deletion
system_server.te
+
3
−
1
View file @
107c5539
...
@@ -424,7 +424,9 @@ allow system_server sdcard_type:dir { getattr search };
...
@@ -424,7 +424,9 @@ allow system_server sdcard_type:dir { getattr search };
allow system_server mnt_expand_file:dir r_dir_perms;
allow system_server mnt_expand_file:dir r_dir_perms;
# Allow system process to relabel the fingerprint directory after mkdir
# Allow system process to relabel the fingerprint directory after mkdir
allow system_server fingerprintd_data_file:dir {r_dir_perms relabelto};
# and delete the directory and files when no longer needed
allow system_server fingerprintd_data_file:dir { r_dir_perms remove_name rmdir relabelto write };
allow system_server fingerprintd_data_file:file { getattr unlink };
userdebug_or_eng(`
userdebug_or_eng(`
# Allow system server to create and write method traces in /data/misc/trace.
# Allow system server to create and write method traces in /data/misc/trace.
...
...
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