aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/param.h
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-11-14 10:58:12 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-11-14 10:58:12 +0000
commitc1e470b5285e2143936d2fca88a5601938b38409 (patch)
tree939dc4c47cded9d63192342f561cb39ee755ff97 /sys/sys/param.h
parent6f0a5dea717bc0b86032e51e03a06147ba36f533 (diff)
downloadsrc-c1e470b5285e2143936d2fca88a5601938b38409.tar.gz
src-c1e470b5285e2143936d2fca88a5601938b38409.zip
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
Notes
Notes: svn path=/head/; revision=243023
Diffstat (limited to 'sys/sys/param.h')
-rw-r--r--sys/sys/param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h
index 0d16ddfc7c0b..1ff52c12db0d 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -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 */