svn commit: r243023 - head/sys/sys
Baptiste Daroussin
bapt at FreeBSD.org
Wed Nov 14 10:58:12 UTC 2012
Author: bapt
Date: Wed Nov 14 10:58:12 2012
New Revision: 243023
URL: http://svnweb.freebsd.org/changeset/base/243023
Log:
Allow usernames up to 32 chars
PR: kern/161091 [1],
misc/133926 [2]
Submitted by: Stephane Lapie <darksoul at darkbsd.org> [1],
Chris Dillon <cdillon at wolves.k12.mo.us> [2]
Reviewed by: cognet, kib
Modified:
head/sys/sys/param.h
Modified: head/sys/sys/param.h
==============================================================================
--- head/sys/sys/param.h Wed Nov 14 10:33:12 2012 (r243022)
+++ head/sys/sys/param.h Wed Nov 14 10:58:12 2012 (r243023)
@@ -96,7 +96,7 @@
#define MAXCOMLEN 19 /* max command name remembered */
#define MAXINTERP PATH_MAX /* max interpreter file name length */
-#define MAXLOGNAME 17 /* max login name length (incl. NUL) */
+#define MAXLOGNAME 33 /* max login name length (incl. NUL) */
#define MAXUPRC CHILD_MAX /* max simultaneous processes */
#define NCARGS ARG_MAX /* max bytes for an exec function */
#define NGROUPS (NGROUPS_MAX+1) /* max number groups */
More information about the svn-src-all
mailing list