diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/init/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c index c19b070..99041c9 100644 --- a/sbin/init/init.c +++ b/sbin/init/init.c @@ -1729,7 +1729,8 @@ setprocresources(const char *cname) login_cap_t *lc; if ((lc = login_getclassbyname(cname, NULL)) != NULL) { setusercontext(lc, (struct passwd*)NULL, 0, - LOGIN_SETPRIORITY | LOGIN_SETRESOURCES); + LOGIN_SETPRIORITY | LOGIN_SETRESOURCES | + LOGIN_SETLOGINCLASS | LOGIN_SETCPUMASK); login_close(lc); } } |