On 07/01/2016 08:06 AM, Inamdar Sharif wrote:
> Hi Guys,
> 
>  
> 
> I have a node which is  “abc,xyz”
> 
> I want to label this node in genfs_contexts but getting syntax error
> 
>  
> 
> But if I make the below change in
> external/selinux/checksepolicy/policy_scan.l it works fine.
> 
> -"/"({alnum}|[_\.\-/])*         { return(PATH); }
> 
> +"/"({alnum}|[_\.\,\-/])*               { return(PATH); }
> 
>  
> 
> Is there any other way I can label the node ??

This is a proc file or something else?

The change above seems fine, but we really ought to fix PATH, QPATH
(quoted path, for paths that contain whitespace), and FILENAME
definitions to just permit all legal characters (PATH will still have to
omit whitespace, obviously, but QPATH supports that one).


_______________________________________________
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