diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2002-08-16 02:14:21 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2002-08-16 02:14:21 +0000 |
commit | b9a78da47cf634f6f168c638f1094e89869c9578 (patch) | |
tree | 4a1c00fcd3ccc1bf29978deb023e57e7f02f2446 /libutil | |
parent | 56c718c019f68b7adda30de4181d84b3be28e1f1 (diff) | |
download | pw-darwin-b9a78da47cf634f6f168c638f1094e89869c9578.tar.gz pw-darwin-b9a78da47cf634f6f168c638f1094e89869c9578.tar.zst pw-darwin-b9a78da47cf634f6f168c638f1094e89869c9578.zip |
Add LOGIN_SETMAC, which will indicate to the user context management code
that it should also set the user's default MAC label, if available and
permitted.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'libutil')
-rw-r--r-- | libutil/login_cap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libutil/login_cap.h b/libutil/login_cap.h index 0728e13..f6c6431 100644 --- a/libutil/login_cap.h +++ b/libutil/login_cap.h @@ -47,7 +47,8 @@ #define LOGIN_SETUMASK 0x0020 /* set umask, obviously */ #define LOGIN_SETUSER 0x0040 /* set user (via setuid) */ #define LOGIN_SETENV 0x0080 /* set user environment */ -#define LOGIN_SETALL 0x00ff /* set everything */ +#define LOGIN_SETMAC 0x0100 /* set user default MAC label */ +#define LOGIN_SETALL 0x01ff /* set everything */ #define BI_AUTH "authorize" /* accepted authentication */ #define BI_REJECT "reject" /* rejected authentication */ |