From owner-freebsd-audit Sat Nov 11 11: 7:53 2000 Delivered-To: freebsd-audit@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 6EB6737B479 for ; Sat, 11 Nov 2000 11:07:51 -0800 (PST) Received: from billy-club.village.org (billy-club.village.org [10.0.0.3]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eABJ7ng32230; Sat, 11 Nov 2000 12:07:50 -0700 (MST) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (localhost [127.0.0.1]) by billy-club.village.org (8.11.1/8.8.3) with ESMTP id eABJ91G31777; Sat, 11 Nov 2000 12:09:02 -0700 (MST) Message-Id: <200011111909.eABJ91G31777@billy-club.village.org> Subject: Re: config(8) patch Cc: Chris Faulhaber , freebsd-audit@FreeBSD.ORG In-reply-to: Your message of "Sat, 11 Nov 2000 12:04:01 MST." <200011111904.eABJ41G31684@billy-club.village.org> References: <200011111904.eABJ41G31684@billy-club.village.org> <20001111111408.A28197@earth.causticlabs.com> Date: Sat, 11 Nov 2000 12:09:01 -0700 From: Warner Losh Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200011111904.eABJ41G31684@billy-club.village.org> Warner Losh writes: : In message <20001111111408.A28197@earth.causticlabs.com> Chris Faulhaber writes: : : 2) allocate [MAXPATHLEN + 1] to ensure room for MAXPATHLEN and '\0' : : MAXPATHLEN includes the trailing NUL. At least that's what my brain : is telling me bde told me after proposing similar changes to another : part of the tree years ago. Looking at intro(2), we see: 63 ENAMETOOLONG File name too long. A component of a path name exceeded 255 (MAXNAMELEN) characters, or an entire path name exceeded 1023 (MAXPATHLEN-1) characters. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message