mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
Make Sendmail properly set login class and cpumask.
This commit is contained in:
parent
c412551667
commit
906a940ee5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223701
@ -2416,6 +2416,12 @@ tryhost:
|
||||
else
|
||||
pwd = sm_getpwnam(contextaddr->q_user);
|
||||
sucflags = LOGIN_SETRESOURCES|LOGIN_SETPRIORITY;
|
||||
#ifdef LOGIN_SETCPUMASK
|
||||
sucflags |= LOGIN_SETCPUMASK;
|
||||
#endif /* LOGIN_SETCPUMASK */
|
||||
#ifdef LOGIN_SETLOGINCLASS
|
||||
sucflags |= LOGIN_SETLOGINCLASS;
|
||||
#endif /* LOGIN_SETLOGINCLASS */
|
||||
#ifdef LOGIN_SETMAC
|
||||
sucflags |= LOGIN_SETMAC;
|
||||
#endif /* LOGIN_SETMAC */
|
||||
|
Loading…
Reference in New Issue
Block a user