← Back to team overview

touch-packages team mailing list archive

[Bug 1433829] [NEW] apparmor fails to compile deny link rules

 

Public bug reported:

The apparmor_parser fails to compile deny rules with only link
permissions.

  Eg.
     deny /f l,
     deny l /f,
     deny link /f -> /d,

  Will all fail to compile with the following assert

apparmor_parser: aare_rules.cc:99: Node* convert_file_perms(int,
uint32_t, uint32_t, bool): Assertion `perms != 0' failed.

** Affects: apparmor
     Importance: Undecided
         Status: Confirmed

** Affects: apparmor (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Also affects: apparmor (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: apparmor
       Status: New => Confirmed

** Changed in: apparmor (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1433829

Title:
  apparmor fails to compile deny link rules

Status in AppArmor Linux application security framework:
  Confirmed
Status in apparmor package in Ubuntu:
  Confirmed

Bug description:
  The apparmor_parser fails to compile deny rules with only link
  permissions.

    Eg.
       deny /f l,
       deny l /f,
       deny link /f -> /d,

    Will all fail to compile with the following assert

  apparmor_parser: aare_rules.cc:99: Node* convert_file_perms(int,
  uint32_t, uint32_t, bool): Assertion `perms != 0' failed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1433829/+subscriptions


Follow ups

References