From 27d1f2fdfd1933e2cfa1606d459fc44db28f379c Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Fri, 25 Jul 2008 19:58:14 +0000 Subject: Add support for a new login capability, cpumask which allows login sessions to be pinned to cpus by login class. --- libutil/login_cap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libutil/login_cap.h b/libutil/login_cap.h index a7cb4c6..c98e7fd 100644 --- a/libutil/login_cap.h +++ b/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 */ -- cgit v1.2.3