Re: can't reload sepolicy

2016-10-12 Thread Stephen Smalley
On 10/12/2016 05:57 AM, peng fei wrote: > I want to modify sepolicy and verify it. > > First, > > I download the android4.4.4 sepolicy, and modify file.te and > file_context, add a new type sec_file. > #/data/audit > type sec_file, file_type, data_file_type; > /data/audit(/.*)?

can't reload sepolicy

2016-10-12 Thread peng fei
I want to modify sepolicy and verify it. First, I download the android4.4.4 sepolicy, and modify file.te and file_context, add a new type sec_file. #/data/audit type sec_file, file_type, data_file_type; /data/audit(/.*)? u:object_r:sec_file:s0 -- Second,compile policy. m4 -D