-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix sndio support #4365
Fix sndio support #4365
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-1, don't add /tmp to this, will effectively apply private-tmp to all profiles using whitelist-common
This is likely something you should add to your locals. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Move it into the common block (the first one)
- Only
whitelist
in${HOME}
(ifwhitelist /tmp/sndio
is necessary, we should add it toprivate-tmp
)
I've removed that last line and moved the cookie whitelist into the common block. However, I'm not quite sure how to handle the /tmp/sndio directory. Usually it contains UNIX domain sockets (e.g. /tmp/sndio/sndio0) used to connect to the server. |
I think a Lines 1251 to 1299 in 447e30e
|
Co-authored-by: rusty-snake <[email protected]>
Done, now it works properly without any extra tweaking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for the patch! |
This patch allows sandboxed programs to access a sndiod server and play audio on systems where sndio handles audio.