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

@@ -18,10 +18,12 @@
  *
  * CDDL HEADER END
  */
 
 /*
+ * Copyright (c) 2013 Gary Mills
+ *
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  *
  * Portions Copyright 2009 Chad Mynhier
  */

@@ -71,10 +73,11 @@
 #define OPT_PSETS       0x4000          /* report for specified psets */
 #define OPT_LGRP        0x8000          /* report home lgroups */
 #define OPT_UDATE       0x20000         /* print unix timestamp */
 #define OPT_DDATE       0x40000         /* print timestamp in date(1) format */
 #define OPT_NORESOLVE   0x80000         /* no nsswitch lookups */
+#define OPT_TRUNC       0x100000        /* truncate long names */
 
 /*
  * Flags to keep track of process or lwp status
  */
 #define LWP_ALIVE       0x0008          /* this pid/lwp still exists */