Skip to content
Snippets Groups Projects
Commit 001b10bd authored by SimHyunYong's avatar SimHyunYong
Browse files

remove access_kmsg macro, because it to be more explicit.

This macro does not give us anything to it.

Change-Id: Ie0b56716cc0144f0a59849647cad31e06a25acf1
parent cdae042a
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ recovery_only(` ...@@ -48,7 +48,7 @@ recovery_only(`
# TODO: create more specific label? # TODO: create more specific label?
allow recovery sysfs:file w_file_perms; allow recovery sysfs:file w_file_perms;
access_kmsg(recovery) allow recovery kernel:system syslog_read;
# Access /dev/android_adb or /dev/usb-ffs/adb/ep0 # Access /dev/android_adb or /dev/usb-ffs/adb/ep0
allow recovery adb_device:chr_file rw_file_perms; allow recovery adb_device:chr_file rw_file_perms;
......
...@@ -269,16 +269,6 @@ allow $1 security_file:lnk_file { create rename unlink }; ...@@ -269,16 +269,6 @@ allow $1 security_file:lnk_file { create rename unlink };
set_prop($1, security_prop) set_prop($1, security_prop)
') ')
#####################################
# access_kmsg(domain)
# Ability to read from kernel logs
# and execute the klogctl syscall
# in a non destructive manner. See
# man 2 klogctl
define(`access_kmsg', `
allow $1 kernel:system syslog_read;
')
##################################### #####################################
# create_pty(domain) # create_pty(domain)
# Allow domain to create and use a pty, isolated from any other domain ptys. # Allow domain to create and use a pty, isolated from any other domain ptys.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment