[apparmor] [PATCH] update man page for recent mount rule additions

Steve Beattie steve at nxnw.org
Wed Apr 11 17:35:30 UTC 2012

On Wed, Apr 11, 2012 at 10:27:48AM -0700, John Johansen wrote:
> On 04/11/2012 10:09 AM, Steve Beattie wrote:
> > For the record, what I was hoping/exoecting the 'in' syntax would
> > accomplish was eliminating the need to write stuff like the latter;
> > i.e. that
> > 
> >   mount options in (ro, atime) /dev/foo,
> > 
> > would be equivalent to
> > 
> >   mount options=ro /dev/foo,
> >   mount options=atime /dev/foo,
> > 
> that is close to what I intended, I did it as
>    mount options=(ro,atime) /dev/foo,
>    mount options=ro /dev/foo,
>    mount options=atime /dev/foo,

Wait, the mount options don't accumulate? So

  mount options=ro /dev/foo,
  mount options=atime /dev/foo,

would allow

  mount -o ro /dev/foo /some/mnt/location/


  mount -o atime /dev/foo /some/mnt/location/

but would not allow

  mount -o ro,atime /dev/foo /some/mnt/location/

? This is seriously confusing.

Steve Beattie
<sbeattie at ubuntu.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20120411/cb979b3d/attachment-0001.pgp>

More information about the AppArmor mailing list