LOGIN_SETPRIORITY
flags &= LOGIN_SETRESOURCES | LOGIN_SETPRIORITY |
if (flags & LOGIN_SETPRIORITY) {
~(LOGIN_SETPRIORITY | LOGIN_SETPATH | LOGIN_SETENV)) != 0)
LOGIN_SETPRIORITY|LOGIN_SETRESOURCES|LOGIN_SETUMASK);
LOGIN_SETLOGIN|LOGIN_SETGROUP|LOGIN_SETPRIORITY|
setusercontext(lc, NULL, 0, LOGIN_SETPRIORITY|LOGIN_SETRESOURCES);
setwhat &= ~(LOGIN_SETPRIORITY | LOGIN_SETRESOURCES);