Merge "allow rename fscklogs"

This commit is contained in:
Jaegeuk Kim 2022-05-04 07:35:09 +00:00 committed by Gerrit Code Review
commit cec541e9ab

View file

@ -855,8 +855,8 @@ allow system_server usb_device:dir r_dir_perms;
# Read and delete files under /dev/fscklogs.
r_dir_file(system_server, fscklogs)
allow system_server fscklogs:dir { write remove_name };
allow system_server fscklogs:file unlink;
allow system_server fscklogs:dir { write remove_name add_name };
allow system_server fscklogs:file rename;
# logd access, system_server inherit logd write socket
# (urge is to deprecate this long term)