Audit attempts by rild to create/write to system_data_file.

Audit attempts by rild to create/write to system_data_file
with avc:  granted messages so that we can identify any such
instances and put such directories/files into radio_data_file or
some other type and then remove these rules.

Change-Id: Ice20fed1733a3f4208d541a4baaa8b6c6f44fbb0
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
This commit is contained in:
Stephen Smalley 2014-03-13 08:41:40 -04:00 committed by Nick Kralevich
parent 599e71a9ba
commit 64c0ff0079

View file

@ -23,6 +23,8 @@ allow rild radio_data_file:file create_file_perms;
allow rild sdcard_type:dir r_dir_perms;
allow rild system_data_file:dir create_dir_perms;
allow rild system_data_file:file create_file_perms;
auditallow rild system_data_file:dir { create reparent rmdir setattr write add_name remove_name };
auditallow rild system_data_file:file { create setattr write append link unlink rename };
allow rild system_file:file x_file_perms;
dontaudit rild self:capability sys_admin;