freebsd-skq/lib/libutil
rwatson 7b9f8f277b If LOGIN_SETMAC is set and MAC is enabled in the kernel, then see
if the user has a 'label' entry in their login class.  If so, attempt
to set that label on the process as part of the credential setup.  If
we're unable to parse the label, or unable to set the label, fail.
In the future, we may also want to warn if a label is set but the
kernel doesn't support MAC.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-23 03:17:22 +00:00
..
_secure_path.3 Correct a typo. 2002-03-03 01:13:47 +00:00
_secure_path.c #include <stddef.h> for the definition of NULL instead of depending on 2002-02-25 01:25:30 +00:00
auth.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
auth.c Add __FBSDID()s to libutil 2001-09-30 22:35:07 +00:00
auth.conf.5 Add a missing cross-ref. 2002-04-16 10:15:51 +00:00
fparseln.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
fparseln.c Remove __P() usage. 2002-03-21 23:54:04 +00:00
libutil.h Add passwd manipulation code based on parts of vipw and chpass. 2002-05-08 00:50:07 +00:00
login_auth.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
login_auth.c Const poisoning. 2002-04-08 11:04:56 +00:00
login_cap.3 Const poisoning. 2002-04-08 11:04:56 +00:00
login_cap.c Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:10:45 +00:00
login_cap.h Add LOGIN_SETMAC, which will indicate to the user context management code 2002-08-16 02:14:21 +00:00
login_class.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
login_class.c If LOGIN_SETMAC is set and MAC is enabled in the kernel, then see 2002-10-23 03:17:22 +00:00
login_crypt.c Const poisoning. 2002-04-08 11:04:56 +00:00
login_ok.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
login_ok.c Add __FBSDID()s to libutil 2001-09-30 22:35:07 +00:00
login_times.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
login_times.c Add __FBSDID()s to libutil 2001-09-30 22:35:07 +00:00
login_tty.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
login_tty.c Add __FBSDID()s to libutil 2001-09-30 22:35:07 +00:00
login.3 login(3) doesn't care about the controlling terminal any more. 2002-04-20 12:24:20 +00:00
login.c Add used include of <string.h>. 2002-05-30 19:38:07 +00:00
login.conf.5 mdoc(7) police: spelling. 2002-08-09 12:08:47 +00:00
logout.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
logout.c Add __FBSDID()s to libutil 2001-09-30 22:35:07 +00:00
logwtmp.3 Fix the phrase about "both files", which must be left 2001-10-11 11:02:50 +00:00
logwtmp.c #include <time.h> for the definition of time functions instead of 2002-02-25 12:02:03 +00:00
Makefile Zap now-unused SHLIB_MINOR 2002-09-28 00:25:32 +00:00
property.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
property.c Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:10:45 +00:00
pty.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
pty.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
pw_util.c Be more clear in error messages. 2002-06-23 19:23:46 +00:00
realhostname_sa.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
realhostname.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
realhostname.c Return HOSTNAME_INVALIDADDR when reverse lookup is fail. 2002-06-07 17:25:19 +00:00
stub.c Add __FBSDID()s to libutil 2001-09-30 22:35:07 +00:00
trimdomain.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
trimdomain.c Add __FBSDID()s to libutil 2001-09-30 22:35:07 +00:00
uucplock.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
uucplock.c Add __FBSDID()s to libutil 2001-09-30 22:35:07 +00:00