From: Wei Liu Subject: Re: [OSSTEST PATCH v2 07/12] Debian.pm: load flask policy in uboot Date: Fri, 10 Oct 2014 16:55:19 +0100 Message-ID: <20141010155519.GB12970@zion.uk.xensource.com> References: <1411592677-2632-1-git-send-email-wei.liu2@citrix.com> <1411592677-2632-8-git-send-email-wei.liu2@citrix.com> <21559.64967.697712.855121@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <21559.64967.697712.855121@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: dgdegra@tycho.nsa.gov, Wei Liu , ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, Oct 10, 2014 at 04:39:51PM +0100, Ian Jackson wrote: > Wei Liu writes ("[OSSTEST PATCH v2 07/12] Debian.pm: load flask policy in uboot"): > > Signed-off-by: Wei Liu > > Acked-by: Ian Campbell > > --- > > Osstest/Debian.pm | 18 ++++++++++++++++++ > > 1 file changed, 18 insertions(+) > > > > diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm > > index 4092351..5aaab83 100644 > > --- a/Osstest/Debian.pm > > +++ b/Osstest/Debian.pm > > @@ -123,6 +123,22 @@ sub setupboot_uboot ($$$$) { > > my $kern = "vmlinuz-$want_kernver"; > > my $initrd = "initrd.img-$want_kernver"; > > > > + my $flask_commands = ""; > > + if ($want_xsm) { > > + my $flaskpolicy = $r{flaskpoilcy}; > ^^^^^^^^^^^ > > Does this actually work ? :-). > Of course it doesn't! Fixed! > I'd like an ack from Ian C on this one. > He acked it already. ;-) Wei. > Ian.