Hi Daniel, On 12/03/15 17:12, Daniel De Graaf wrote: > ; > +dtree_context_def : DEVICETREECON path security_context_def > + {if (define_devicetree_context()) return -1;} > + ; The regex for matching the device tree path is different from a path. the pathname convention is: node-name@unit-address The characters allowed for node-name/unit-name are: 0-9 a-z A-Z , . _ + - Although the @unit-address may be ommitted. So the regex should be something like: "/"({alnum}|['\._\+\-@])* Regards, -- Julien Grall _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.