am 2cd9c9bd
: Merge "Typedef+rules for SysSer to access persistent block device"
* commit '2cd9c9bd3fa54ca78d0847763df4bca5fe940dcf': Typedef+rules for SysSer to access persistent block device
This commit is contained in:
commit
aaaeb02eb8
2 changed files with 8 additions and 0 deletions
|
@ -64,3 +64,6 @@ type rpmsg_device, dev_type;
|
|||
|
||||
# Partition layout block device
|
||||
type root_block_device, dev_type;
|
||||
|
||||
# Persistent data block device
|
||||
type persistent_data_block_device, dev_type;
|
||||
|
|
|
@ -380,6 +380,11 @@ allow system_server keystore:keystore_key {
|
|||
clear_uid
|
||||
};
|
||||
|
||||
# Allow system server to search and write to the persistent data block device
|
||||
# This block device does not get wiped in a factory reset.
|
||||
allow system_server persistent_data_block_device:blk_file rw_file_perms;
|
||||
allow system_server block_device:dir search;
|
||||
|
||||
###
|
||||
### Neverallow rules
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue