[pkg-apparmor] Bug#905160: apparmor: parser: disable expression tree simplification

intrigeri at debian.org intrigeri at debian.org
Wed Aug 1 02:27:15 BST 2018


Package: apparmor
Version: 2.13-6
Severity: normal
X-Debbugs-Cc: Jamie Strandboge <jamie at ubuntu.com>

See discussion that starts on
https://salsa.debian.org/apparmor-team/apparmor/merge_requests/9#note_35068

The attached patch implements the solution Jamie and I agreed on but
it breaks the autopkgtests:

simple.pl (Wstat: 768 Tests: 71577 Failed: 3)
  Failed tests:  71092, 71482-71483
  TODO passed:   71447, 71458-71459, 71493, 71576
  Non-zero exit status: 3

… so more work is needed here, to adjust the test suite to the
config change we want to apply.

Note that the tests do pass when they're run on a system where
/etc/apparmor/parser.conf does *not* contain
Optimize=no-expr-simplify.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-parser.conf-turn-off-expression-tree-simplification-.patch
Type: text/x-diff
Size: 2207 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-apparmor-team/attachments/20180801/84c1958f/attachment.patch>


More information about the pkg-apparmor-team mailing list