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
557d1916
Commit
557d1916
authored
7 years ago
by
Carmen Jackson
Committed by
Android (Google) Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Add selinux rules for additional file contexts in userdebug" into oc-dev
parents
5007c10a
25788df1
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
private/file_contexts
+22
-0
22 additions, 0 deletions
private/file_contexts
private/shell.te
+4
-0
4 additions, 0 deletions
private/shell.te
public/file.te
+2
-0
2 additions, 0 deletions
public/file.te
with
28 additions
and
0 deletions
private/file_contexts
+
22
−
0
View file @
557d1916
...
@@ -495,6 +495,28 @@
...
@@ -495,6 +495,28 @@
/sys/kernel(/debug)?/tracing/trace_marker u:object_r:debugfs_trace_marker:s0
/sys/kernel(/debug)?/tracing/trace_marker u:object_r:debugfs_trace_marker:s0
/sys/kernel(/debug)?/tracing/tracing_on u:object_r:tracing_shell_writable:s0
/sys/kernel(/debug)?/tracing/tracing_on u:object_r:tracing_shell_writable:s0
###########################################
# debug-only tracing
#
/sys/kernel/debug/tracing/events/sync/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/workqueue/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/regulator/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/pagecache/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/irq/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/ipi/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/f2fs/f2fs_sync_file_enter/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/f2fs/f2fs_sync_file_exit/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/f2fs/f2fs_write_begin/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/f2fs/f2fs_write_end/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/ext4/ext4_da_write_begin/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/ext4/ext4_da_write_end/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/ext4/ext4_sync_file_enter/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/ext4/ext4_sync_file_exit/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/block/block_rq_issue/enable u:object_r:tracing_shell_writable_debug:s0
/sys/kernel/debug/tracing/events/block/block_rq_complete/enable u:object_r:tracing_shell_writable_debug:s0
#############################
#############################
# asec containers
# asec containers
/mnt/asec(/.*)? u:object_r:asec_apk_file:s0
/mnt/asec(/.*)? u:object_r:asec_apk_file:s0
...
...
This diff is collapsed.
Click to expand it.
private/shell.te
+
4
−
0
View file @
557d1916
...
@@ -7,6 +7,10 @@ allow shell tracing_shell_writable:file rw_file_perms;
...
@@ -7,6 +7,10 @@ allow shell tracing_shell_writable:file rw_file_perms;
allow shell debugfs_trace_marker:file getattr;
allow shell debugfs_trace_marker:file getattr;
allow shell atrace_exec:file rx_file_perms;
allow shell atrace_exec:file rx_file_perms;
userdebug_or_eng(`
allow shell tracing_shell_writable_debug:file rw_file_perms;
')
# Run app_process.
# Run app_process.
# XXX Transition into its own domain?
# XXX Transition into its own domain?
app_domain(shell)
app_domain(shell)
...
...
This diff is collapsed.
Click to expand it.
public/file.te
+
2
−
0
View file @
557d1916
...
@@ -69,6 +69,8 @@ type debugfs_tracing, fs_type, debugfs_type;
...
@@ -69,6 +69,8 @@ type debugfs_tracing, fs_type, debugfs_type;
type debugfs_tracing_instances, fs_type, debugfs_type;
type debugfs_tracing_instances, fs_type, debugfs_type;
type debugfs_wifi_tracing, fs_type, debugfs_type;
type debugfs_wifi_tracing, fs_type, debugfs_type;
type tracing_shell_writable, fs_type, debugfs_type;
type tracing_shell_writable, fs_type, debugfs_type;
type tracing_shell_writable_debug, fs_type, debugfs_type;
type pstorefs, fs_type;
type pstorefs, fs_type;
type functionfs, fs_type, mlstrustedobject;
type functionfs, fs_type, mlstrustedobject;
type oemfs, fs_type, contextmount_type;
type oemfs, fs_type, contextmount_type;
...
...
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