apparmor_parser complains about '.' and '"' in child profile names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Triaged
|
Low
|
Unassigned | ||
apparmor (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
The following fails to compile:
profile "com.ubuntu.
/usr/
/usr/
profile chrome_sandbox {
/usr/
}
profile oxide_renderer { }
}
$ apparmor_parser -p /tmp/foo >/dev/null
AppArmor parser error for /tmp/foo in /tmp/foo at line 6: Found unexpected character: '.'
I can also quote the child profile like so:
profile chrome_sandbox {
/usr/
}
$ apparmor_parser -p /tmp/bar >/dev/null
AppArmor parser error for /tmp/bar in /tmp/bar at line 6: Found unexpected character: '"'
Changed in apparmor (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: aa-parser |
Changed in apparmor: | |
status: | New → Triaged |
importance: | Undecided → Low |