From 2c45b655c3b2166602d6ee14686a48ca86cdddcc Mon Sep 17 00:00:00 2001 From: default Date: Sat, 11 Feb 2023 06:43:43 +0100 Subject: [PATCH] Added 'fattr' to the pledge() list. --- data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data.c b/data.c index 43fbeef..383cd38 100644 --- a/data.c +++ b/data.c @@ -108,7 +108,7 @@ int srv_open(char *basedir, int auto_upgrade) unveil("/usr/share/zoneinfo", "r"); unveil(NULL, NULL); srv_debug(1, xs_fmt("Calling pledge()")); - pledge("stdio rpath wpath cpath flock inet proc exec dns", NULL); + pledge("stdio rpath wpath cpath flock inet proc exec dns fattr", NULL); } #endif /* __OpenBSD__ */