~ubuntu-branches/ubuntu/precise/apparmor/precise-proposed

« back to all changes in this revision

Viewing changes to parser/mount.c

  • Committer: Package Import Robot
  • Author(s): Jamie Strandboge
  • Date: 2012-03-15 15:57:02 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20120315155702-y0f4u2fh2z8tqy2t
Tags: 2.7.101-0ubuntu1
* New upstream release. Fixes: LP: #948147
* debian/lib/apparmor/functions: Update to support the feature directory so
  that caching will work on kernels that support the feature dir. Patch
  based on work from John Johansen. LP: #954469

Show diffs side-by-side

added added

removed removed

Lines of Context:
416
416
                        ent->inv_flags = 0;
417
417
                } else if (!(ent->flags | ent->inv_flags)) {
418
418
                        /* no flag options, and not remount, allow everything */
419
 
                        ent->flags = 0xffffffff;
420
 
                        ent->inv_flags = 0xffffffff;
 
419
                        ent->flags = MS_ALL_FLAGS;
 
420
                        ent->inv_flags = MS_ALL_FLAGS;
421
421
                }
422
422
 
423
423
                ent->allow = allow;