[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2/4] Add device tree ocontext nodes to Xen policy



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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.