I want to add some policy.
--
add a new type in file.te
#/data/audit/log/audit.log
type sec_file, file_type, data_file_type;
#/home/test
type jd_exec;
--
add the contexts in the file_contexts
/data/audit/log/audit.log       u:object_r:sec_file:s0
/home/pengfei/test

--
add rule in jd.te
allow jd sec_file:file r_file_perms;
allow jd  jd_exec:file rx_file_perms;
_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to 
[email protected].

Reply via email to