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
6435c10a
Commit
6435c10a
authored
10 years ago
by
Stephen Smalley
Committed by
Android Git Automerger
10 years ago
Browse files
Options
Downloads
Plain Diff
am
cedee697
: Fix fsck-related denials with encrypted userdata.
* commit '
cedee697
': Fix fsck-related denials with encrypted userdata.
parents
d9fab4f7
cedee697
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fsck.te
+1
-1
1 addition, 1 deletion
fsck.te
vold.te
+3
-0
3 additions, 0 deletions
vold.te
with
4 additions
and
1 deletion
fsck.te
+
1
−
1
View file @
6435c10a
...
...
@@ -10,7 +10,7 @@ init_daemon_domain(fsck)
allow fsck tmpfs:chr_file { read write ioctl };
# Inherit and use pty created by android_fork_execvp_ext().
allow fsck devpts:chr_file { read write };
allow fsck devpts:chr_file { read write
ioctl
};
# Run e2fsck on block devices.
# TODO: Assign userdata and cache block device types to the corresponding
...
...
This diff is collapsed.
Click to expand it.
vold.te
+
3
−
0
View file @
6435c10a
...
...
@@ -38,6 +38,9 @@ allow vold sysfs:file rw_file_perms;
write_klog(vold)
# Run fsck.
allow vold fsck_exec:file rx_file_perms;
# Log fsck results
allow vold fscklogs:dir rw_dir_perms;
allow vold fscklogs:file create_file_perms;
...
...
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