2017年6月1日 星期四

[Android] sepolicy

/external/sepolicy/file_contexts

add :
/system/bin/abc  u:object_r:abc_exec:s0

you can add
/external/sepolicy/abc.te

in abc.te
type abc, domain;
type abc_exec, exec_type, file_type;
init_daemon_domain(abc);

沒有留言:

張貼留言