PERFORCE change 16118 for review
Robert Watson
rwatson at freebsd.org
Fri Aug 16 15:36:03 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16118
Change 16118 by rwatson at rwatson_tislabs on 2002/08/16 08:35:36
Rename LOGIN_SETLABEL to LOGIN_SETMAC.
Affected files ...
.. //depot/projects/trustedbsd/mac/libexec/ftpd/ftpd.c#12 edit
Differences ...
==== //depot/projects/trustedbsd/mac/libexec/ftpd/ftpd.c#12 (text+ko) ====
@@ -1126,7 +1126,7 @@
#ifdef LOGIN_CAP
setusercontext(NULL, getpwuid(0), (uid_t)0,
LOGIN_SETPRIORITY|LOGIN_SETRESOURCES|LOGIN_SETUMASK|
- LOGIN_SETLABEL);
+ LOGIN_SETMAC);
#endif
#ifdef USE_PAM
if ((e = pam_setcred(pamh, PAM_DELETE_CRED)) != PAM_SUCCESS)
@@ -1389,7 +1389,7 @@
}
setusercontext(lc, pw, (uid_t)0,
LOGIN_SETLOGIN|LOGIN_SETGROUP|LOGIN_SETPRIORITY|
- LOGIN_SETRESOURCES|LOGIN_SETUMASK|LOGIN_SETLABEL);
+ LOGIN_SETRESOURCES|LOGIN_SETUMASK|LOGIN_SETMAC);
#else
setlogin(pw->pw_name);
(void) initgroups(pw->pw_name, pw->pw_gid);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list