From owner-freebsd-current@FreeBSD.ORG Fri May 20 19:46:46 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8636116A4CE; Fri, 20 May 2005 19:46:46 +0000 (GMT) Received: from outside.albsmeier.net (outside.albsmeier.net [80.81.31.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5117743D48; Fri, 20 May 2005 19:46:45 +0000 (GMT) (envelope-from andre@albsmeier.net) Received: from schlappy.albsmeier.net (dpc69190001.direcpc.com [69.19.0.1]) (authenticated bits=128) by outside.albsmeier.net (8.13.3/8.13.3) with ESMTP id j4KJk9xk020162; Fri, 20 May 2005 21:46:23 +0200 (CEST) (envelope-from andre@albsmeier.net) Received: from schlappy.albsmeier.net (schlappy.albsmeier.net [127.0.0.1]) j4KC58tU010379; Fri, 20 May 2005 14:05:08 +0200 (CEST) (envelope-from andre@schlappy.albsmeier.net) Received: (from andre@localhost) by schlappy.albsmeier.net (8.13.3/8.13.3/Submit) id j4KC58oR010378; Fri, 20 May 2005 14:05:08 +0200 (CEST) (envelope-from andre) Date: Fri, 20 May 2005 14:05:08 +0200 From: Andre Albsmeier To: Colin Percival Message-ID: <20050520120508.GB10236@schlappy.albsmeier.net> References: <42775C1A.2080400@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42775C1A.2080400@freebsd.org> X-Echelon: nitrate, Embassy, ABC, F-15, BND X-Advice: Drop that crappy M$-Outlook, I'm tired of your viruses! User-Agent: Mutt/1.5.9i X-Mailman-Approved-At: Sat, 21 May 2005 11:50:17 +0000 cc: Ian Dowse cc: stable@freebsd.org cc: current@freebsd.org Subject: Re: MNT_USER? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2005 19:46:46 -0000 On Tue, 03-May-2005 at 04:10:18 -0700, Colin Percival wrote: > Danny Braniss wrote: > > BTW, this, the MNT_NOEXEC, uncovered, IMHO, a bug in libexec/rtld-elf/rtld.c > > where it's now checking for MNT_NOEXEC, but only if LD_LIBRARY_PATH is set! > > This is not a bug. Checking for MNT_NOEXEC adds a cost in performance, and > it is not necessary if LD_LIBRARY_PATH, LD_PRELOAD, and LD_LIBMAP* are not > set -- based on the assumption, that is, that no (sane) sysadmin would ever > put a MNT_NOEXEC-mounted filesystem into the default library path. > > I agree that it's a bit counter-intuitive, but it's really just a case of > saving time by not checking for something which should Never Happen. :-) > > Colin Percival > PS. Bravo to Ian for tracking down the bug in NFS -- I spent a while looking You may want to look at the PR mentioned in the commit message to see who did this initially. I just changed it at a different place of the kernel (the same way as it was done in 4.x). -Andre > for this, but got hopelessly lost. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- An NT server can be run by an idiot, and usually is.