From 57ecac4fcc0a39841cdcd2df4aba5cc6a443da55 Mon Sep 17 00:00:00 2001 From: Lucas de Sena Date: Fri, 13 Jan 2023 17:28:28 -0300 Subject: [PATCH] Revert "OpenBSD: drop rpath pledge(2) promises after initialization" This reverts commit f760d714582d955f164a03d628b1950c25dad320. --- xnotify.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xnotify.c b/xnotify.c index 5ede58c..4cc0d9b 100644 --- a/xnotify.c +++ b/xnotify.c @@ -1316,12 +1316,6 @@ main(int argc, char *argv[]) initstructurenotify(); initellipsis(); -#ifdef __OpenBSD__ - /* drop "rpath unix" promises */ - if (pledge("stdio", NULL) == -1) - err(1, "pledge"); -#endif - /* set up queue of notifications */ queue = setqueue();