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
31cc484a
Commit
31cc484a
authored
10 years ago
by
Sami Tolvanen
Committed by
Android Git Automerger
10 years ago
Browse files
Options
Downloads
Plain Diff
am
9905c883
: am
723e31ef
: Merge "Allow init to set up dm-verity"
* commit '
9905c883
': Allow init to set up dm-verity
parents
4c7857e6
9905c883
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
init.te
+12
-0
12 additions, 0 deletions
init.te
with
12 additions
and
0 deletions
init.te
+
12
−
0
View file @
31cc484a
...
@@ -222,6 +222,18 @@ allow init device:chr_file { rw_file_perms setattr };
...
@@ -222,6 +222,18 @@ allow init device:chr_file { rw_file_perms setattr };
# keychord configuration
# keychord configuration
allow init self:capability sys_tty_config;
allow init self:capability sys_tty_config;
# Access device mapper for setting up dm-verity
allow init dm_device:chr_file rw_file_perms;
allow init dm_device:blk_file rw_file_perms;
# Access metadata block device for storing dm-verity state
allow init metadata_block_device:blk_file rw_file_perms;
# Read /sys/fs/pstore/console-ramoops to detect restarts caused
# by dm-verity detecting corrupted blocks
allow init pstorefs:dir search;
allow init pstorefs:file r_file_perms;
###
###
### neverallow rules
### neverallow rules
###
###
...
...
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