Hello!
App can't get "sys_ptrace" capabilities. It must read /proc/pid/fd/fd_num, and get
inode.
manifest.aegis:
<aegis>
<request>
<credential name="UID::user" />
<credential name="GID::users" />
<credential name="CAP::sys_ptrace"/>
<for path="/opt/MyApp/bin/MyApp"/>
</request>
<request>
<credential name="UID::user" />
<credential name="GID::users" />
<for path="/opt/MyApp/bin/startup.sh" />
</request>
</aegis>
UID::user and GID::users used for autorun.
App works (get caps) on my device and rda, but don't work on device customer (can't get sys_ptrace).
Have you any ideas?

Reply With Quote

