Subject: Re: kern/7129: normal user can bypass mount 'noexec' flags
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: tech-kern
Date: 03/11/1999 15:38:53
Here's the interface I think makes sense for fixing this:

       VOP_GETMNTFLAGS(vp)

.. returns the ored-together mount flags of the filesystem vp and any
filesystems vp is stacked on..

implementation for "leaf" filesystems just looks in the vfs structure.

mount_null, etc., or's its bits together with the one of the
underlying vnode..

					- Bill