From owner-freebsd-audit Tue Aug 7 11: 9: 8 2001 Delivered-To: freebsd-audit@freebsd.org Received: from alpo.whistle.com (s206m1.whistle.com [207.76.206.1]) by hub.freebsd.org (Postfix) with ESMTP id 079FC37B406 for ; Tue, 7 Aug 2001 11:09:07 -0700 (PDT) (envelope-from mark@whistle.com) Received: from [207.76.207.129] (PBG4.whistle.com [207.76.207.129]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id LAA39169; Tue, 7 Aug 2001 11:08:58 -0700 (PDT) Mime-Version: 1.0 X-Sender: mark-ml@207.76.206.1 Message-Id: In-Reply-To: <50248.997206252@axl.seasidesoftware.co.za> References: <50248.997206252@axl.seasidesoftware.co.za> Date: Tue, 7 Aug 2001 11:08:44 -0700 To: Sheldon Hearn From: Mark Peek Subject: Re: [PATCH] fix a file(1) minor POLA stretching Cc: Peter Pentchev , audit@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 At 7:44 PM +0200 8/7/01, Sheldon Hearn wrote: >On Tue, 07 Aug 2001 10:23:01 MST, Mark Peek wrote: > >> Is this "binary" format portable? At first glance I think your >> patch would break cross compilation. Here's a patch that should fix >> this by building the database at install time instead of during the >> compilation phase. > >I'm surprised Christos hasn't gone for the "first use" approach on this >one. Hmmm, I could think of a couple problems with that...it would need to be the first use by root (or a uid with permission to write to that directory) and you'd have to ensure a writeable filesystem. It's probably best to do it once at installation time and get it over with. Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message