From: Ian Jackson Subject: Re: [PATCH OSSTEST] Debian: Support runvar to set flask mode Date: Mon, 14 Dec 2015 18:58:27 +0000 Message-ID: <22127.4435.133453.324138@mariner.uk.xensource.com> References: <1450113790-6087-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1450113790-6087-1-git-send-email-ian.campbell@citrix.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 Campbell Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[PATCH OSSTEST] Debian: Support runvar to set flask mode"): > Currently it is hardcoding to enforcing but it might be useful to > run with e.g. permissive or even disabled (aka dummy mode) ... > --- a/overlay/etc/grub.d/20_linux_xen > +++ b/overlay/etc/grub.d/20_linux_xen > @@ -93,7 +93,9 @@ linux_entry () > if test ! -e "${xen_dirname}/${xenpolicy}" ; then > return > fi > - xen_args=`echo $xen_args flask=enforcing` > + if test -n "${GRUB_XEN_FLASK_MODE}" ; then > + xen_args=`echo $xen_args flask=${GRUB_XEN_FLASK_MODE}` > + fi I thought we were hoping to eventually do away with our copy of this file. Has this change gone upstream ? Ian.