Subject: Re: kern/7129: normal user can bypass mount 'noexec' flags
To: Manuel Bouyer <email@example.com>
From: Jason Thorpe <firstname.lastname@example.org>
Date: 03/11/1999 11:42:40
On Thu, 11 Mar 1999 20:29:39 +0100
Manuel Bouyer <email@example.com> wrote:
> I'm not sure everybody would want this. I actually use nullfs to gain
> privileges: on my server my home partition is mounted 'noexec'. I
> occasionally use nullfs to mount a portion of the tree I have on this partition
> so that I can compile a package that need execution rigths.
> Of course I do the mount as root.
As root, you would, of course, be able to change these flags with a
> nosuid and nodev are already forced for user mounts.
...right, but what if we add more mount attributes? It seems only logical
that stacked mounts should inherit them.
-- Jason R. Thorpe <firstname.lastname@example.org>