mac_mls

看板FB_security作者時間13年前 (2012/05/02 10:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
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-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #1Fe9MPi6 (FB_security)
討論串 (同標題文章)
文章代碼(AID): #1Fe9MPi6 (FB_security)