From owner-cvs-sys Mon Mar 3 01:51:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA18263 for cvs-sys-outgoing; Mon, 3 Mar 1997 01:51:21 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA18254; Mon, 3 Mar 1997 01:51:19 -0800 (PST) Date: Mon, 3 Mar 1997 01:51:19 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199703030951.BAA18254@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys param.h proc.h user.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/03/03 01:51:18 Modified: sys/sys param.h proc.h user.h Log: Use roundup(MAXLOGNAME, sizeof(long)) as e_login/s_login arrays size instead of all hardcoded assumptions historically used (i.e. sizeof(long) == 4) Use MAXLOGNAME == 17 for stricter setlogin() size checking. Since it rounds up to 20, all sizes remains the same Revision Changes Path 1.26 +3 -3 src/sys/sys/param.h 1.33 +2 -2 src/sys/sys/proc.h 1.14 +2 -2 src/sys/sys/user.h