Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2012 10:58:12 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243023 - head/sys/sys
Message-ID:  <201211141058.qAEAwCfg056632@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@darkbsd.org> [1],
  		Chris Dillon <cdillon@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211141058.qAEAwCfg056632>