From owner-freebsd-audit Sun Jun 17 2:21:55 2001 Delivered-To: freebsd-audit@freebsd.org Received: from ringworld.nanolink.com (diskworld.nanolink.com [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id 1B96737B409 for ; Sun, 17 Jun 2001 02:21:46 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 2104 invoked by uid 1000); 17 Jun 2001 09:20:17 -0000 Date: Sun, 17 Jun 2001 12:20:17 +0300 From: Peter Pentchev To: Assar Westerlund Cc: freebsd-audit@freebsd.org, jlemon@freebsd.org Subject: Re: GLOB_LIMIT vs GLOB_MAXPATH Message-ID: <20010617122017.F777@ringworld.oblivion.bg> Mail-Followup-To: Assar Westerlund , freebsd-audit@freebsd.org, jlemon@freebsd.org References: <5ld783cvnq.fsf@assaris.sics.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5ld783cvnq.fsf@assaris.sics.se>; from assar@freebsd.org on Sun, Jun 17, 2001 at 11:17:45AM +0200 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 17, 2001 at 11:17:45AM +0200, Assar Westerlund wrote: > The GLOB_MAXPATH flag to glob(3) does the same thing as the GLOB_LIMIT > one in NetBSD and OpenBSD (except for the default limit). Since this > is mostly used by ftpd and has been in the tree for a short amount of > time, I think it makes sense to keep it compatible with the other > BSDs. Enclosed is a patch that does this. Comments? Compatibility is good, but.. I wonder if this would require revision of the glob(3) advisory.. And I wonder if this would qualify as an API change on the -stable branch, which seems to be frowned upon by some, or if it wouldn't be MFC'd, which would cause an API incompatibility between -stable and -current :) Other than that, I think it would be nice to stay compatible with the other BSD's.. G'luck, Peter -- This sentence every third, but it still comprehensible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message