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

2015-03-31 Thread Ian Jackson
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 > /bo

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

2015-03-27 Thread Ian Campbell
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