mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
Update fonts abstraction for Debian
Mikhail Morfikov has discovered [0] that some font packages in Debian ships font files in /usr/bin/fonts-foo-bar (like /usr/share/fonts-font-awesome/ for example). This produces denials for GUI applications. Update fonts abstraction to allow reading /usr/bin/fonts-* directories. Also, refactor abstraction to aggregate two old rules into one. Closes #94 [0] https://gitlab.com/apparmor/apparmor/-/issues/94
This commit is contained in:
parent
d84ae2331d
commit
7b7e98a549
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@
|
|||
|
||||
/usr/lib/xorg/modules/fonts/**.so* mr,
|
||||
|
||||
/usr/share/fonts/ r,
|
||||
/usr/share/fonts/** r,
|
||||
/usr/share/fonts/{,**} r,
|
||||
/usr/share/fonts-*/{,**} r,
|
||||
|
||||
/etc/fonts/** r,
|
||||
# Debian, openSUSE paths are different
|
||||
|
|
Loading…
Add table
Reference in a new issue