small change on x.c

Commit cee9ec28ac3e · konakona · 2026-11-21 11:18 +0700

Changeset
cee9ec28ac3e203635efba728c4ad894bb32f69f

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/x.c b/x.c
--- a/x.c
+++ b/x.c
@@ -2111,6 +2111,8 @@
 			unveil("/usr/sbin", "r") == -1 ||
 			unveil("/usr/local/bin", "r") == -1 ||
 			unveil("/usr/lib", "r") == -1 ||
+			unveil("/usr/share", "r") == -1 ||
+			unveil("/usr/local/share", "r") == -1 ||
 			unveil("/usr/libexec", "r") == -1 ||
 			unveil("/usr/local/lib", "r") == -1 ||
 			unveil("/etc/fonts", "r") == -1 ||