From owner-freebsd-arch@FreeBSD.ORG Mon May 5 01:00:31 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1E1037B401; Mon, 5 May 2003 01:00:31 -0700 (PDT) Received: from cirb503493.alcatel.com.au (c18609.belrs1.nsw.optusnet.com.au [210.49.80.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2165943FA3; Mon, 5 May 2003 01:00:30 -0700 (PDT) (envelope-from peterjeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1])h4580Bp9001646; Mon, 5 May 2003 18:00:15 +1000 (EST) (envelope-from jeremyp@cirb503493.alcatel.com.au) Received: (from jeremyp@localhost) by cirb503493.alcatel.com.au (8.12.8/8.12.8/Submit) id h45800LV001639; Mon, 5 May 2003 18:00:00 +1000 (EST) Date: Mon, 5 May 2003 18:00:00 +1000 From: Peter Jeremy To: Kirk McKusick Message-ID: <20030505080000.GA1595@cirb503493.alcatel.com.au> References: <20030504110643.Q1248@gamplex.bde.org> <200305042351.h44Np2Th017215@beastie.mckusick.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200305042351.h44Np2Th017215@beastie.mckusick.com> User-Agent: Mutt/1.4.1i cc: arch@freebsd.org cc: Jens Schweikhardt cc: Brian Buhrow Subject: Re: Access times on executables (kern/25777) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 08:00:32 -0000 On Sun, May 04, 2003 at 04:51:02PM -0700, Kirk McKusick wrote: >OK, so how about instead of use VOP_SETATTR, we just try to VOP_READ >one byte of data. ... >It has the drawback of requiring that the file be readable though most >executables are set to be readable. I think it's common for set[gu]id executables not to be readable. Though, looking at my systems, I can only find xterm (from 4.3.0) and Xwrapper (from 3.3.6) that restrict read access more than execute access. Peter