[ALPS03825066] Fix build error
[Detail] 1.The types on /sys/ must be associated with the "sysfs_type" attribute: sysfs_keypad_file 2.sysfs_type only have read permission [Solution] 1.Change sysfs_keypad_file to sysfs_type 2.Modify the permission to read about sysfs_type MTK-Commit-Id: 4cf285589167b25623a67c6b951c796846a9a3ad Change-Id: I3dd516eaf9959611c9a2b003cb3af07a35da5442 CR-Id: ALPS03825066 Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
This commit is contained in:
parent
2ca1a3e6b8
commit
4dc268f514
@ -118,7 +118,7 @@ type c2k_file, file_type, data_file_type;
|
|||||||
#For sensor
|
#For sensor
|
||||||
type sensor_data_file, file_type, data_file_type;
|
type sensor_data_file, file_type, data_file_type;
|
||||||
type stp_dump_data_file, file_type,data_file_type;
|
type stp_dump_data_file, file_type,data_file_type;
|
||||||
type sysfs_keypad_file, fs_type;
|
type sysfs_keypad_file, fs_type, sysfs_type;
|
||||||
type rild_via_socket, file_type;
|
type rild_via_socket, file_type;
|
||||||
type rpc_socket, file_type;
|
type rpc_socket, file_type;
|
||||||
type rild_ctclient_socket, file_type;
|
type rild_ctclient_socket, file_type;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ============
|
# ============
|
||||||
|
|
||||||
# Purpose : allow to access kpd driver file
|
# Purpose : allow to access kpd driver file
|
||||||
allow radio sysfs_keypad_file:dir { w_dir_perms };
|
allow radio sysfs_keypad_file:dir { r_dir_perms };
|
||||||
allow radio sysfs_keypad_file:file { w_file_perms };
|
allow radio sysfs_keypad_file:file { w_file_perms };
|
||||||
|
|
||||||
# Date : WK15.34 2015/08/21
|
# Date : WK15.34 2015/08/21
|
||||||
|
Loading…
x
Reference in New Issue
Block a user