From owner-freebsd-bugs@FreeBSD.ORG Thu May 3 15:53:19 2012 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C413106564A for ; Thu, 3 May 2012 15:53:19 +0000 (UTC) (envelope-from SRS0=goy7=DH=FreeBSD.org=brueffer@srs.kundenserver.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mx1.freebsd.org (Postfix) with ESMTP id 0D3AB8FC16 for ; Thu, 3 May 2012 15:53:18 +0000 (UTC) Received: from hd5b90bf1.sedadby.dyn.perspektivbredband.net (hd5b90bf1.sedadby.dyn.perspektivbredband.net [213.185.11.241]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MaE2a-1SjpZd34oq-00JyOG; Thu, 03 May 2012 17:53:18 +0200 Message-ID: <4FA2A9EE.4020001@FreeBSD.org> Date: Thu, 03 May 2012 17:53:18 +0200 From: Christian Brueffer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Richard Kojedzinszky References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:yaU3zFV7DEIx4TbAmIzHFp8xLUGQikpaG5nlVuQYPhl vY+QlN65jal2yE8qyxc27A4xlDXnFnf4Y0NVBxkVCw9GiomO0e DnR3fg5AevyqS/4sN4/WOifxVGUVCXWhdby0NJ3Bq8WOkwpQ9x 9PArEe00jBpdIUinuWiGdEXM5IBDgC9a3fnk4CLT4nGQP1/A1y dGC+64S9jwW+NSVyiptshs2U0rCOjoNQ8EtZREp7nbCATR2lok UK7oGfVKOgAuvOxYr6GRjLZHn8mdQ46JGNFR8W00R4v7lxOKKg 6fKUQaIcZeUfA2Q/2P3aVA4p6pbvrMz4RbGJeaKCiqQzOd0vMH s5bX3/kScYChlUQmmVK70uT5FerUk/x/rNMZCQ7j3MZEa116hb 03LA/LRvV6ISjxuTkewyzgVpcbYtoQ46OA= Cc: freebsd-bugs@freebsd.org Subject: Re: mac_mls (fwd) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 15:53:19 -0000 Hi Richard, I committed this minute ago, will MFC the fix in a couple of days. Thanks! Chris On 5/2/12 5:59 , Richard Kojedzinszky wrote: > > > > Kojedzinszky Richard > Euronet Magyarorszag Informatikai Zrt. > > ---------- Forwarded message ---------- > Date: Sat, 28 Apr 2012 23:24:06 +0200 (CEST) > From: Richard Kojedzinszky > To: freebsd-security@freebsd.org > Subject: mac_mls > > Dear fbsd team, > > I am using 9.0, and found that running atop, and exiting from it when > the kernel is compiled with MAC_MLS (or the module is loaded), then a > panic raises, I think the following patch could fix it (as in mac_biba); > > --- sys/security/mac_mls/mac_mls.c.orig 2012-04-28 23:19:45.000000000 +0200 > +++ sys/security/mac_mls/mac_mls.c 2012-04-28 23:20:13.000000000 +0200 > @@ -2028,6 +2028,9 @@ > if (!mls_enabled) > return (0); > > + if (vplabel == NULL) > + return (0); > + > subj = SLOT(cred->cr_label); > obj = SLOT(vplabel); > > Regards, > > Kojedzinszky Richard > Euronet Magyarorszag Informatikai Zrt. > _______________________________________________ > freebsd-bugs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bugs > To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"