diff options
Diffstat (limited to 'usr/src')
| -rw-r--r-- | usr/src/cmd/ps/ps.c | 17 | 
1 files changed, 11 insertions, 6 deletions
| diff --git a/usr/src/cmd/ps/ps.c b/usr/src/cmd/ps/ps.c index 4dbfc09de9..1f769a308d 100644 --- a/usr/src/cmd/ps/ps.c +++ b/usr/src/cmd/ps/ps.c @@ -2,9 +2,8 @@   * CDDL HEADER START   *   * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License").  You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License.   *   * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE   * or http://www.opensolaris.org/os/licensing. @@ -19,15 +18,15 @@   *   * CDDL HEADER END   */ +  /* - * Copyright 2005 Sun Microsystems, Inc.  All rights reserved. + * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.   * Use is subject to license terms.   */  /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/  /*	  All Rights Reserved  	*/ -  #pragma ident	"%Z%%M%	%I%	%E% SMI"  /* @@ -67,7 +66,13 @@  #define	NTTYS	20	/* initial size of table for -t option  */  #define	SIZ	30	/* initial size of tables for -p, -s, -g, and -z */ -#define	ARGSIZ	30	/* size of buffer holding args for -t, -p, -u options */ + +/* + * Size of buffer holding args for t, p, s, g, u, U, G, z options. + * Set to ZONENAME_MAX, the minimum value needed to allow any + * zone to be specified. + */ +#define	ARGSIZ ZONENAME_MAX  #define	MAXUGNAME 10	/* max chars in a user/group name or printed u/g id */ | 
