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(/.*)? u:object_r:s
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 mls_num_sens=