Expose /tmp/.X11-unix as read-only as per Issue #2269

This commit is contained in:
ಚಿರಾಗ್ ನಟರಾಜ್ 2019-05-19 22:56:36 +00:00
parent d01b93bbbd
commit feae44c4ff
No known key found for this signature in database
GPG key ID: 39003804B4CBF3F6

View file

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