From 579bb9887442bbcdcc7b6a388360766832aa61f6 Mon Sep 17 00:00:00 2001 From: emma Date: Wed, 11 Sep 2024 03:18:01 -0600 Subject: [PATCH] true(1): fixes pledge(2) invocation --- src/true.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/true.c b/src/true.c index dbe9974..43091d7 100644 --- a/src/true.c +++ b/src/true.c @@ -13,7 +13,6 @@ int main(void) { #ifdef __OpenBSD__ - (void)pledge(NULL, NULL); - (void)unveil(NULL, NULL); + (void)pledge("stdio", ""); #endif }