diff options
| author | Jilles Tjoelker <jilles@FreeBSD.org> | 2013-08-13 18:51:26 +0000 |
|---|---|---|
| committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2013-08-13 18:51:26 +0000 |
| commit | 595ab5638b1c5db0973608d8c8eda712ed0802ca (patch) | |
| tree | 5cc0b5677640ea2e1aa29da6294ef45d5dd4137a /sbin/init/init.c | |
| parent | e05bf4cf95a05601bb919aea0886a23eb5453731 (diff) | |
Notes
Diffstat (limited to 'sbin/init/init.c')
| -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 c19b0700b7490..99041c9165017 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); } } |
