]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Using LOGIN_SETALL &~LOGIN_SETMAC to avoid setting the MAC label improperly,
authorrwatson <rwatson@FreeBSD.org>
Thu, 16 Jan 2003 03:41:57 +0000 (03:41 +0000)
committerrwatson <rwatson@FreeBSD.org>
Thu, 16 Jan 2003 03:41:57 +0000 (03:41 +0000)
commitb622dadf70cfe3c2f44713e390adec96e9ad98da
treee43ce9e21ecc9e01632c722ff746ef7aab374137
parent5481f18ddaba937828d383bd94c466695e59e01c
Using LOGIN_SETALL &~LOGIN_SETMAC to avoid setting the MAC label improperly,
rather than specifically setting the process priority and resource class;
otherwise, we improperly set other aspects of the login class.  We have
a bit more to do here, but the proper fix will probably involve breaking
out MAC labels from the login class at some point, as well as further
clarifying the logic here.

Pointed out by: kuriyama, max
usr.sbin/inetd/inetd.c