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

Re: [Xen-devel] [PATCH OSSTEST v2 1/2] uboot: do not use readlink on xsm policy



Ian Campbell writes ("[PATCH OSSTEST v2 1/2] uboot: do not use readlink on xsm 
policy"):
> The policy is not a symlink, so readlink will return nothing.
> 
> We cannot use readlink -f because that will return an absolute path
> and we need a path relative to the filesystem root (in this case
> /boot).
> 
> Keep flaskpolicy=$flaskpolicy as a shell variable rather than
> unescaping the uses (so they are interpreted by Perl) to easy any
> future changes.
> 
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

_______________________________________________
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®.