From owner-freebsd-audit Wed Aug 15 14:28: 2 2001 Delivered-To: freebsd-audit@freebsd.org Received: from iatl0x01.coxmail.com (iatl0x02.coxmail.com [206.157.225.11]) by hub.freebsd.org (Postfix) with ESMTP id 0919837B409; Wed, 15 Aug 2001 14:27:54 -0700 (PDT) (envelope-from mheffner@novacoxmail.com) Received: from enterprise.muriel.penguinpowered.com ([209.249.198.70]) by iatl0x01.coxmail.com (InterMail vK.4.03.02.00 201-232-124 license eaa2928f5bcba31507d4d280f1027278) with ESMTP id <20010815212751.GIY1246.iatl0x01@enterprise.muriel.penguinpowered.com>; Wed, 15 Aug 2001 17:27:51 -0400 Message-ID: <XFMail.20010815162830.mheffner@novacoxmail.com> X-Mailer: XFMail 1.5.0 on FreeBSD X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="_=XFMail.1.5.0.FreeBSD:20010815162830:291=_"; micalg=pgp-md5; protocol="application/pgp-signature" In-Reply-To: <20010814085203.2D2AC37B408@hub.freebsd.org> Date: Wed, 15 Aug 2001 17:26:28 -0400 (EDT) Reply-To: Mike Heffner <mheffner@vt.edu> From: Mike Heffner <mheffner@novacoxmail.com> To: (Joseph Koshy) <jkoshy@FreeBSD.ORG> Subject: Re: bin/29625: limits -d etc. should not output warning Cc: freebsd-audit@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-audit.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-audit> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-audit> X-Loop: FreeBSD.ORG This message is in MIME format --_=XFMail.1.5.0.FreeBSD:20010815162830:291=_ Content-Type: text/plain; charset=us-ascii On 14-Aug-2001 Joseph Koshy wrote: | | The problem turns out to be in our implementation of `getopt(3)' | and not in /usr/bin/limits. | | If 'optstring' passed to getopt() starts with a leading ':', then getopt() | should not print a warning for missing arguments. The attached patch fixes | this. | | Could someone on -audit please review? Looks good. Is this to be an MFC candidate? Mike -- Mike Heffner <mheffner@[acm.]vt.edu> Fredericksburg, VA <mikeh@FreeBSD.org> --_=XFMail.1.5.0.FreeBSD:20010815162830:291=_ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7etttFokZQs3sv5kRAubUAJ9J2HHhfvoEcOOmir2BYWDBYgbKjACdG/CY gjSAJ7F5ZEzON6cmSIAulm4= =yfPD -----END PGP SIGNATURE----- --_=XFMail.1.5.0.FreeBSD:20010815162830:291=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message