summaryrefslogtreecommitdiffstats
path: root/libutil
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2008-07-25 19:58:14 +0000
committerBrooks Davis <brooks@FreeBSD.org>2008-07-25 19:58:14 +0000
commit27d1f2fdfd1933e2cfa1606d459fc44db28f379c (patch)
tree05c813fe2019c19d3ee6a48569b2a3a816f92028 /libutil
parentbcf07fcc9203db1a304746b745c46fd427aa8393 (diff)
downloadpw-darwin-27d1f2fdfd1933e2cfa1606d459fc44db28f379c.tar.gz
pw-darwin-27d1f2fdfd1933e2cfa1606d459fc44db28f379c.tar.zst
pw-darwin-27d1f2fdfd1933e2cfa1606d459fc44db28f379c.zip
Add support for a new login capability, cpumask which allows login
sessions to be pinned to cpus by login class.
Diffstat (limited to 'libutil')
-rw-r--r--libutil/login_cap.h3
1 files changed, 2 insertions, 1 deletions
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 */