On Mon, Oct 20, 2014 at 8:09 PM, Joshua Brindle
<[email protected]> wrote:
> William Roberts wrote:
>>
>> i have an seandroid policy that has this defined for init:
>>
>> domain_auto_trans(init, shell_exec, init_shell)
>>
>> Given the binary, I want to know if this is defined, can't sesearch be
>> used for this:
>>
>> I tried:
>> $ sesearch -T -s init -t init_shell -c process $OUT/root/sepolicy
>>
>
> Try:
>
> sesearch -T -s init -t shell_exec -c process $OUT/root/sepolicy
>
Ahh ok the type is on the file type triggering the transition, makes
sense. Yep it worked:

$  sesearch -T -s init -t shell_exec -c process $OUT/root/sepolicy
Found 1 semantic te rules:
   type_transition init shell_exec : process init_shell;

>
>
>> But it returns nothing.
>>
>> Normally, I just use grep, but this is getting tedious, its time to
>> learn how to use some of the tools :-P
>>
>



-- 
Respectfully,

William C Roberts
_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to 
[email protected].

Reply via email to