Merge "sepolicy: allow recovery to operate devpts and kmsg"
This commit is contained in:
commit
097a8b4e29
1 changed files with 4 additions and 0 deletions
4
public/recovery.te
Normal file → Executable file
4
public/recovery.te
Normal file → Executable file
|
@ -133,6 +133,10 @@ recovery_only(`
|
|||
|
||||
# Allow mounting /metadata for writing update states
|
||||
allow recovery metadata_file:dir { getattr mounton };
|
||||
|
||||
# Recovery uses liblogwrap to write fsck logs to kmsg, liblogwrap requires devpts.
|
||||
allow recovery devpts:chr_file rw_file_perms;
|
||||
allow recovery kmsg_device:chr_file { getattr w_file_perms };
|
||||
')
|
||||
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue