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
Seandroid-list@tycho.nsa.gov
To unsubscribe, send email to seandroid-list-le...@tycho.nsa.gov.
To get help, send an email containing "help" to 
seandroid-list-requ...@tycho.nsa.gov.

Reply via email to