diff --git a/sys/sys/syslimits.h b/sys/sys/syslimits.h index eff91daaf0fe..a6d625a2a6a0 100644 --- a/sys/sys/syslimits.h +++ b/sys/sys/syslimits.h @@ -52,6 +52,7 @@ #define CHILD_MAX 40 /* max simultaneous processes */ #endif #define LINK_MAX 32767 /* max file link count */ +#define LOGIN_NAME_MAX 17 /* max login name length (incl. NUL) */ #define MAX_CANON 255 /* max bytes in term canon input line */ #define MAX_INPUT 255 /* max bytes in terminal input */ #define NAME_MAX 255 /* max bytes in a file name */ @@ -68,7 +69,6 @@ * assume conservative values or call sysconf() to get the current value. * * HOST_NAME_MAX - * LOGIN_NAME_MAX * * (We should do this for most of the values currently defined here, * but many programs are not prepared to deal with this yet.)