Merge "Typedef+rules for SysSer to access persistent block device"
This commit is contained in:
commit
2cd9c9bd3f
2 changed files with 8 additions and 0 deletions
|
@ -64,3 +64,6 @@ type rpmsg_device, dev_type;
|
||||||
|
|
||||||
# Partition layout block device
|
# Partition layout block device
|
||||||
type root_block_device, dev_type;
|
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
|
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
|
### Neverallow rules
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in a new issue