Date: Thu, 03 May 2012 17:53:18 +0200 From: Christian Brueffer <brueffer@FreeBSD.org> To: Richard Kojedzinszky <krichy@tvnetwork.hu> Cc: freebsd-bugs@freebsd.org Subject: Re: mac_mls (fwd) Message-ID: <4FA2A9EE.4020001@FreeBSD.org> In-Reply-To: <alpine.DEB.2.02.1205020559310.19524@krichy.tvnetwork.hu> References: <alpine.DEB.2.02.1205020559310.19524@krichy.tvnetwork.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <krichy@tvnetwork.hu> > 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FA2A9EE.4020001>