touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #20215
[Bug 1373085] [NEW] Parser error when using regex profile names in IPC rules
Public bug reported:
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="\{,\}"),
** Affects: apparmor (Ubuntu)
Importance: Undecided
Status: New
--
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:
New
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
Follow ups
References