mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(apparmor): Fix loading libraries from custom install prefix
If qtox is installed in /usr/local prefix (for example), launching qTox fails because loading libraries from @{qtox_prefix} directory was not allowed. Add rule to allow loading libraries from @{qtox_prefix}/lib directory.
This commit is contained in:
parent
f8f7a2d145
commit
5fad77b9f8
@ -27,6 +27,11 @@ profile qtox /usr{,/local}/bin/qtox {
|
|||||||
#TODO: use xdg-open abstraction when it's available
|
#TODO: use xdg-open abstraction when it's available
|
||||||
/usr/bin/xdg-open PUx,
|
/usr/bin/xdg-open PUx,
|
||||||
|
|
||||||
|
# Additional libraries
|
||||||
|
|
||||||
|
# Allow /usr/local/lib/libtoxcore.so...
|
||||||
|
@{qtox_prefix}/lib/*.so* mr,
|
||||||
|
|
||||||
# Networking
|
# Networking
|
||||||
|
|
||||||
network tcp,
|
network tcp,
|
||||||
|
@ -33,6 +33,11 @@ profile qtox /usr{,/local}/bin/qtox {
|
|||||||
#TODO: use xdg-open abstraction when it's available
|
#TODO: use xdg-open abstraction when it's available
|
||||||
/usr/bin/xdg-open PUx,
|
/usr/bin/xdg-open PUx,
|
||||||
|
|
||||||
|
# Additional libraries
|
||||||
|
|
||||||
|
# Allow /usr/local/lib/libtoxcore.so...
|
||||||
|
@{qtox_prefix}/lib/*.so* mr,
|
||||||
|
|
||||||
# Networking
|
# Networking
|
||||||
|
|
||||||
network tcp,
|
network tcp,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user