Print this page
2989 Eliminate use of LOGNAME_MAX in ON
1166 useradd have warning with name more 8 chars

*** 18,27 **** --- 18,29 ---- * * CDDL HEADER END */ /* + * Copyright (c) 2013 Gary Mills + * * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* Copyright (c) 1988 AT&T */
*** 29,40 **** #ifndef _LIMITS_H #define _LIMITS_H - #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.34 */ - #include <sys/feature_tests.h> #include <sys/isa_defs.h> #include <iso/limits_iso.h> /* --- 31,40 ----
*** 289,298 **** --- 289,300 ---- #define CLK_TCK ((clock_t)_sysconf(3)) /* 3 is _SC_CLK_TCK */ #endif /* CLK_TCK */ #define LOGNAME_MAX 8 /* max # of characters in a login name */ + #define LOGNAME_MAX_ILLUMOS 32 /* max # of characters in an */ + /* illumos login name */ #define TTYNAME_MAX 128 /* max # of characters in a tty name */ #endif /* if defined(__EXTENSIONS__) || (!defined(_STRICT_STDC) ... */ #if defined(__EXTENSIONS__) || (_POSIX_C_SOURCE >= 199506L)