Merge pull request #4365 from lxeiqr/sndio-fix

Fix sndio support
This commit is contained in:
netblue30 2021-07-01 07:36:50 -05:00 committed by GitHub
commit 9abc12bf9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -23,6 +23,7 @@ read-only ${HOME}/.local/share/applications
whitelist ${HOME}/.local/share/icons
whitelist ${HOME}/.local/share/mime
whitelist ${HOME}/.mime.types
whitelist ${HOME}/.sndio/cookie
whitelist ${HOME}/.uim.d
# dconf

View file

@ -1277,6 +1277,9 @@ void fs_private_tmp(void) {
// read-only x11 directory
profile_add("read-only /tmp/.X11-unix");
// whitelist sndio directory
profile_add("whitelist /tmp/sndio");
// whitelist any pulse* file in /tmp directory
// some distros use PulseAudio sockets under /tmp instead of the socket in /urn/user
DIR *dir;