From fdf588e523a098d29aca4609b4f9c7dc35785764 Mon Sep 17 00:00:00 2001 From: Tom MTT Date: Mon, 21 Nov 2022 19:30:09 +0100 Subject: [PATCH] fix(feuille.c): pledge promises --- feuille.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feuille.c b/feuille.c index 1eea332..1052c96 100644 --- a/feuille.c +++ b/feuille.c @@ -294,7 +294,7 @@ int main(int argc, char *argv[]) /* OpenBSD-only security measures */ #ifdef __OpenBSD__ - pledge("stdio proc inet", "stdio wpath inet"); + pledge("proc stdio rpath wpath cpath inet", "stdio rpath wpath cpath inet"); #endif /* create a thread pool for incoming connections */