Bump MAXCOMLEN from 16 to 19 to take advantage of 32-bit alignment.
Approved by: peter, jasone
This commit is contained in:
parent
a2ccfa0c6d
commit
f066389aac
@ -71,7 +71,7 @@
|
||||
*/
|
||||
#include <sys/syslimits.h>
|
||||
|
||||
#define MAXCOMLEN 16 /* max command name remembered */
|
||||
#define MAXCOMLEN 19 /* max command name remembered */
|
||||
#define MAXINTERP 32 /* max interpreter file name length */
|
||||
#define MAXLOGNAME 17 /* max login name length (incl. NUL) */
|
||||
#define MAXUPRC CHILD_MAX /* max simultaneous processes */
|
||||
|
@ -152,7 +152,7 @@ struct kinfo_proc {
|
||||
char ki_wmesg[WMESGLEN+1]; /* wchan message */
|
||||
char ki_login[MAXLOGNAME+1]; /* setlogin name */
|
||||
char ki_mtxname[MTXNAMELEN+1]; /* mutex name */
|
||||
char ki_sparestrings[102]; /* spare string space */
|
||||
char ki_sparestrings[99]; /* spare string space */
|
||||
struct rusage ki_rusage; /* process rusage statistics */
|
||||
long ki_sflag; /* PS_* flags */
|
||||
struct priority ki_pri; /* process priority */
|
||||
|
Loading…
x
Reference in New Issue
Block a user