1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(apparmor): Fix access to openssl configuration

AppArmor denies access to openssl configuration files:
```
type=AVC msg=audit(1548516028.121:3031): apparmor="DENIED"
operation="open" profile="qtox" name="/etc/ssl/openssl.cnf" pid=12416
comm="qtox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
```

Fix deny by including openssl abstraction.
This commit is contained in:
Vincas Dargis 2019-01-26 17:23:20 +02:00
parent a6c01eb007
commit 514cd36826
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ profile qtox /usr{,/local}/bin/qtox {
#include <abstractions/ibus> #include <abstractions/ibus>
#include <abstractions/kde> #include <abstractions/kde>
#include <abstractions/nameservice> #include <abstractions/nameservice>
#include <abstractions/openssl>
#include <abstractions/video> #include <abstractions/video>
# Site-specific additions and overrides. See local/README for details. # Site-specific additions and overrides. See local/README for details.

View File

@ -18,6 +18,7 @@ profile qtox /usr{,/local}/bin/qtox {
#include <abstractions/kde> #include <abstractions/kde>
#include <abstractions/mesa> #include <abstractions/mesa>
#include <abstractions/nameservice> #include <abstractions/nameservice>
#include <abstractions/openssl>
#include <abstractions/qt5-compose-cache-write> #include <abstractions/qt5-compose-cache-write>
#include <abstractions/qt5-settings-write> #include <abstractions/qt5-settings-write>
#include <abstractions/recent-documents-write> #include <abstractions/recent-documents-write>