On 2015-09-11 03:36:07, John Johansen wrote: > The parser is incorrectly screening off the bind flags on remount. The > following patch by Ash Wilson fixes this issue > > BugLink: http://bugs.launchpad.net/bugs/1272028 > > Signed-off-by: Ash Wilson > Acked-by: John Johansen <[email protected]>
Acked-by: Tyler Hicks <[email protected]> Tyler > > === modified file 'parser/mount.h' > --- parser/mount.h 2014-12-12 14:21:25 +0000 > +++ parser/mount.h 2015-09-04 17:54:04 +0000 > @@ -103,7 +103,7 @@ > #define MS_CMDS (MS_MOVE | MS_REMOUNT | MS_BIND | MS_RBIND | \ > MS_UNBINDABLE | MS_RUNBINDABLE | MS_PRIVATE | MS_RPRIVATE | \ > MS_SLAVE | MS_RSLAVE | MS_SHARED | MS_RSHARED) > -#define MS_REMOUNT_FLAGS (MS_ALL_FLAGS & ~(MS_CMDS & ~MS_REMOUNT)) > +#define MS_REMOUNT_FLAGS (MS_ALL_FLAGS & ~(MS_CMDS & ~MS_REMOUNT & ~MS_BIND > & ~MS_RBIND)) > > #define MNT_SRC_OPT 1 > #define MNT_DST_OPT 2 > > -- > AppArmor mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/apparmor
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
