]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Add support for a new login capability, cpumask which allows login
authorBrooks Davis <brooks@FreeBSD.org>
Fri, 25 Jul 2008 19:58:14 +0000 (19:58 +0000)
committerBrooks Davis <brooks@FreeBSD.org>
Fri, 25 Jul 2008 19:58:14 +0000 (19:58 +0000)
sessions to be pinned to cpus by login class.

libutil/login_cap.h

index a7cb4c67e8f0a1847c4b3843ce1df520c508575e..c98e7fd0b4730f905cc143fcad26ebc0fab02899 100644 (file)
@@ -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 */