commit 2c45b65

default  ·  2023-02-11 05:43:43 +0000 UTC
parent 9acf779
Added 'fattr' to the pledge() list.
1 files changed,  +1, -1
M data.c
M data.c
+1, -1
1@@ -108,7 +108,7 @@ int srv_open(char *basedir, int auto_upgrade)
2         unveil("/usr/share/zoneinfo",  "r");
3         unveil(NULL,                   NULL);
4         srv_debug(1, xs_fmt("Calling pledge()"));
5-        pledge("stdio rpath wpath cpath flock inet proc exec dns", NULL);
6+        pledge("stdio rpath wpath cpath flock inet proc exec dns fattr", NULL);
7     }
8 #endif /* __OpenBSD__ */
9