diff options
author | brooks <brooks@FreeBSD.org> | 2008-07-25 19:58:14 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2008-07-25 19:58:14 +0000 |
commit | 8330af909ca941f7f0083761fdafe90a332e74de (patch) | |
tree | 62fd98a560aa70ad64312a864e5064cbfbef32da /lib/libutil/login_cap.h | |
parent | fb5f9ab862007c3c81c74a45467be20efed0b373 (diff) | |
download | FreeBSD-src-8330af909ca941f7f0083761fdafe90a332e74de.zip FreeBSD-src-8330af909ca941f7f0083761fdafe90a332e74de.tar.gz |
Add support for a new login capability, cpumask which allows login
sessions to be pinned to cpus by login class.
Diffstat (limited to 'lib/libutil/login_cap.h')
-rw-r--r-- | lib/libutil/login_cap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libutil/login_cap.h b/lib/libutil/login_cap.h index a7cb4c6..c98e7fd 100644 --- a/lib/libutil/login_cap.h +++ b/lib/libutil/login_cap.h @@ -48,7 +48,8 @@ #define LOGIN_SETUSER 0x0040 /* set user (via setuid) */ #define LOGIN_SETENV 0x0080 /* set user environment */ #define LOGIN_SETMAC 0x0100 /* set user default MAC label */ -#define LOGIN_SETALL 0x01ff /* set everything */ +#define LOGIN_SETCPUMASK 0x0200 /* set user cpumask */ +#define LOGIN_SETALL 0x03ff /* set everything */ #define BI_AUTH "authorize" /* accepted authentication */ #define BI_REJECT "reject" /* rejected authentication */ |