From owner-freebsd-audit Mon Aug 20 3:32:54 2001 Delivered-To: freebsd-audit@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id A47E737B410; Mon, 20 Aug 2001 03:32:43 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (dialup14-50.iptelecom.net.ua [212.9.229.114]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id NAA12383; Mon, 20 Aug 2001 13:32:37 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.4/8.11.3) with ESMTP id f7KAW6o11776; Mon, 20 Aug 2001 13:32:06 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3B80E75F.4C1C578F@FreeBSD.org> Date: Mon, 20 Aug 2001 13:33:03 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Akinori MUSHA Cc: audit@FreeBSD.org, "Brian F. Feldman" , Mike Barcroft , ports@FreeBSD.org Subject: Re: adding -P option to pkg_delete(1) References: <86ofpl0yq8.wl@archon.local.idaemons.org> <200108122310.f7CNAUZ01898@green.bikeshed.org> <86k804weed.wl@archon.local.idaemons.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit 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 Akinori MUSHA wrote: > OK, adopting green's suggestion I'd propose the attached patch again. > FWIW, I've confirmed that it works. > > Since I've had no objection against it so far, I'm going to commit it > this weekend and do MFC after the 4.4-RELEASE unless someone objects. > > FYI, 4.4-RELEASE users can use my pkg_deinstall(1) utility included in > sysutils/portupgrade. It is a wrapper of pkg_delete(1) with almost > upper compatible syntax, and which already has the -P option. > > Mental note: > > We'll have to audit the whole pkg_install code to eliminate possible > buffer overflows. Please hold on. What is the purpose of this feature? I can't recall any discussion regarding the topic. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message