summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-03-03 08:05:03 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-03-03 08:05:03 +0000
commit3bf4871a3688d5fb4441b627dc5230a0189a4f21 (patch)
treee0dcc81e896b79e2201bfb6826aaac1ffca05b94
parent08a77c42e1cd998af13b0ae7558349671c4086f7 (diff)
Notes
-rw-r--r--sys/sys/param.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h
index 52caf8063bc3..b9b59fb59860 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)param.h 8.3 (Berkeley) 4/4/95
- * $Id: param.h,v 1.22 1997/02/22 09:45:39 peter Exp $
+ * $Id: param.h,v 1.23 1997/03/02 21:21:08 ache Exp $
*/
#ifndef _SYS_PARAM_H_
@@ -59,13 +59,13 @@
* Redefined constants are from POSIX 1003.1 limits file.
*
* MAXCOMLEN should be >= sizeof(ac_comm) (see <acct.h>)
- * MAXLOGNAME should be >= UT_NAMESIZE (see <utmp.h>)
+ * MAXLOGNAME should be >= UT_NAMESIZE+1 (see <utmp.h>)
*/
#include <sys/syslimits.h>
#define MAXCOMLEN 16 /* max command name remembered */
#define MAXINTERP 32 /* max interpreter file name length */
-#define MAXLOGNAME 16 /* max login name length */
+#define MAXLOGNAME 16 /* 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 /* max number groups */