From owner-freebsd-fs Sun Oct 26 12:42:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA19580 for fs-outgoing; Sun, 26 Oct 1997 12:42:38 -0800 (PST) (envelope-from owner-freebsd-fs) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.96.1.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA19573 for ; Sun, 26 Oct 1997 12:42:35 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.7/8.8.7) with SMTP id PAA01899; Sun, 26 Oct 1997 15:42:18 -0500 (EST) Date: Sun, 26 Oct 1997 15:42:18 -0500 (EST) From: "Matthew N. Dodd" To: Wolfram Schneider cc: freebsd-fs@FreeBSD.ORG Subject: Re: disabled symlinks In-Reply-To: <199710261041.LAA00556@panke.panke.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 26 Oct 1997, Wolfram Schneider wrote: > I want mount a file system without symlinks, e.g. > > mount -t mfs -o nodev,nosuid,nosymlink /dev/sd0b /tmp > > The nosymlink flag do not allow the creation of a symlink > on the mounted file system. > > Here is a patch for the kernel and mount(8). Thats cool. A great number of the race condition exploits rely on the ability to create symlinks so this is a very useful patch. Any chance of it getting committed? /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */