← Back to team overview

touch-packages team mailing list archive

[Bug 1373085] Re: Parser error when using regex profile names in IPC rules

 

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

** Changed in: apparmor (Ubuntu)
   Importance: Undecided => High

-- 
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/1373085

Title:
  Parser error when using regex profile names in IPC rules

Status in “apparmor” package in Ubuntu:
  Confirmed

Bug description:
  I tried to add this rule to the firefox profile:
  unix (send, receive) type=stream peer=(label=/usr/lib/firefox/firefox\{,\*\[^s\]\[^h\]\}//plugincontainer),

  apparmor_parser fails with:
  syntax error, unexpected TOK_CONDID, expecting TOK_EQUALS or TOK_IN

  When I add quotes around the label the parser fails with:
  Found unexpected character: '"'

  I found this minimal test case:
  unix peer=(label=\{,\}),
  and
  unix peer=(label="\{,\}"),

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


References