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
77d7c5d1
Commit
77d7c5d1
authored
7 years ago
by
Josh Gao
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Revert "Add /dev/kmsg_debug." am:
9ac5d01f
am:
032c6d61
am:
75b99632
am:
e589330e
Change-Id: I532d4b0ca606663a324dda1e65ce18175e808e7e
parents
8ce4b1fb
e589330e
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
private/file_contexts
+0
-1
0 additions, 1 deletion
private/file_contexts
public/crash_dump.te
+0
-3
0 additions, 3 deletions
public/crash_dump.te
public/device.te
+0
-1
0 additions, 1 deletion
public/device.te
public/init.te
+0
-4
0 additions, 4 deletions
public/init.te
with
0 additions
and
9 deletions
private/file_contexts
+
0
−
1
View file @
77d7c5d1
...
@@ -109,7 +109,6 @@
...
@@ -109,7 +109,6 @@
/dev/ptmx u:object_r:ptmx_device:s0
/dev/ptmx u:object_r:ptmx_device:s0
/dev/pvrsrvkm u:object_r:gpu_device:s0
/dev/pvrsrvkm u:object_r:gpu_device:s0
/dev/kmsg u:object_r:kmsg_device:s0
/dev/kmsg u:object_r:kmsg_device:s0
/dev/kmsg_debug u:object_r:kmsg_debug_device:s0
/dev/null u:object_r:null_device:s0
/dev/null u:object_r:null_device:s0
/dev/nvhdcp1 u:object_r:video_device:s0
/dev/nvhdcp1 u:object_r:video_device:s0
/dev/random u:object_r:random_device:s0
/dev/random u:object_r:random_device:s0
...
...
This diff is collapsed.
Click to expand it.
public/crash_dump.te
+
0
−
3
View file @
77d7c5d1
...
@@ -15,9 +15,6 @@ dontaudit crash_dump self:capability { sys_ptrace };
...
@@ -15,9 +15,6 @@ dontaudit crash_dump self:capability { sys_ptrace };
userdebug_or_eng(`
userdebug_or_eng(`
allow crash_dump logd:process { ptrace signal sigchld sigstop sigkill };
allow crash_dump logd:process { ptrace signal sigchld sigstop sigkill };
# Let crash_dump write to /dev/kmsg_debug crashes that happen before logd comes up.
allow crash_dump kmsg_debug_device:chr_file { open append };
')
')
# Use inherited file descriptors
# Use inherited file descriptors
...
...
This diff is collapsed.
Click to expand it.
public/device.te
+
0
−
1
View file @
77d7c5d1
...
@@ -36,7 +36,6 @@ type mtp_device, dev_type, mlstrustedobject;
...
@@ -36,7 +36,6 @@ type mtp_device, dev_type, mlstrustedobject;
type nfc_device, dev_type;
type nfc_device, dev_type;
type ptmx_device, dev_type, mlstrustedobject;
type ptmx_device, dev_type, mlstrustedobject;
type kmsg_device, dev_type;
type kmsg_device, dev_type;
type kmsg_debug_device, dev_type;
type null_device, dev_type, mlstrustedobject;
type null_device, dev_type, mlstrustedobject;
type random_device, dev_type, mlstrustedobject;
type random_device, dev_type, mlstrustedobject;
type sensors_device, dev_type;
type sensors_device, dev_type;
...
...
This diff is collapsed.
Click to expand it.
public/init.te
+
0
−
4
View file @
77d7c5d1
...
@@ -13,10 +13,6 @@ allow init tmpfs:chr_file { create setattr unlink rw_file_perms };
...
@@ -13,10 +13,6 @@ allow init tmpfs:chr_file { create setattr unlink rw_file_perms };
# /dev/kmsg
# /dev/kmsg
allow init tmpfs:chr_file relabelfrom;
allow init tmpfs:chr_file relabelfrom;
allow init kmsg_device:chr_file { write relabelto };
allow init kmsg_device:chr_file { write relabelto };
# /dev/kmsg_debug
userdebug_or_eng(`
allow init kmsg_debug_device:chr_file { write relabelto };
')
# /dev/__properties__
# /dev/__properties__
allow init properties_device:dir relabelto;
allow init properties_device:dir relabelto;
allow init properties_serial:file { write relabelto };
allow init properties_serial:file { write relabelto };
...
...
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