*BSD News Article 97855


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!EU.net!newsfeed.Austria.EU.net!siemens.at!news.sie.siemens.at!news
From: marino.ladavac@siemens.at
Newsgroups: comp.unix.bsd.misc,comp.unix.bsd.freebsd.misc
Subject: Re: User mount possible?
Date: 16 Jun 1997 18:03:47 +0200
Organization: Siemens AG Austria
Lines: 34
Sender: lada@ws6423-f
Message-ID: <iy7pvtmh6vw.fsf@ws6423-f.i-have-a-misconfigured-system-so-shoot-me>
References: <5nr27n$ees@vestein.arb-phys.uni-dortmund.de>
	<5nu2di$7o@xciv.demon.co.uk> <8767vgm5sw.fsf@devnull.ruhr.de>
	<5o2n4k$114@panix2.panix.com>
NNTP-Posting-Host: ws6423-f.gud.siemens.co.at
X-Newsreader: Gnus v5.2.25/XEmacs 19.14
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:3566 comp.unix.bsd.freebsd.misc:42903

tls@panix.com (Thor Lancelot Simon) writes:


> Uh, look at Linux *why*?  The "nodev" and "nosuid" and "noexec" flags have
> been available in Berkeley Unix for years.  In fact, I believe the first time
> I saw them was as a patch to the SunOS 4.0.3 kernel source.

Because these are mount(1) command line options.  A perp with a user mount
privilege is guaranteed not to set them :)  Instead, they have to be implied
if a non-root is doing a mount, and non-root mount is allowed only to a
usermount flagged directory.  Usermount flag should be settable only by root.

> 
> It's always nice to hear that Linux has invented yet another thing that
> someone else thought of years before.  Really.

Especially if it's actually the case (if the Linux folks have taken these
precautions).

Still, my .sig applies :)

/Marino

> 
> -- 
> Thor Lancelot Simon	                                      tls@rek.tjls.com
>   "American culture, Disneyland freak show -- screen in your living room a
>    window for your tomb -- you can't compare to the world sitting there,
>    repress your insecurities, watching it scared..."	-Operation Ivy

-- 
As far as the differences between BSD and Systems V, that's
simple.  System V sucks and BSD doesn't. :)
                                -- Curt Welch curt@kcwc.com