It worked after I moved that statement to port_contexts file.

Thanks,
Tai

On 1/31/14, 1:05 PM, "Stephen Smalley" <[email protected]> wrote:

>On 01/31/2014 12:59 PM, Tai Nguyen (tainguye) wrote:
>> Hi Steve,
>> 
>> ³Portion² is courtesy of spell checker :-(
>> 
>> Here is the error I have
>> 
>> out/host/linux-x86/bin/checkpolicy:  loading policy configuration from
>> out/target/product/CP-DX650/obj/ETC/sepolicy_intermediates/policy.conf
>> vendor/cisco/sepolicy/common/cisco_medianet.te":8:ERROR 'syntax error'
>>at
>> token 'portcon' on line 8808:
>> portcon tcp 2754 u:object_r:medianet_port:s0;
>> type medianet_port, port_type;
>
>You can't put it in a .te file.  The portcon has to go in port_contexts
>(and has no semicolon terminator), while the type declaration goes in a
>.te file.
>
>


_______________________________________________
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