Hi,

Since revision 1.1 dunst stopped working and produced coredumps
related to "syscsall 197 'protexec'". The latter indicated that
pledge(2) detected an unauthorized system call not defined in the
promises list. Below is a proposed fix which is running fine under
OpenBSD 6.2 GENERIC.MP#0 amd64

Regards,
Thierry


Index: patches/patch-src_dunst_c
===================================================================
RCS file: /cvs/ports/x11/dunst/patches/patch-src_dunst_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_dunst_c
--- patches/patch-src_dunst_c   31 Aug 2017 20:57:00 -0000      1.1
+++ patches/patch-src_dunst_c   14 Oct 2017 18:23:57 -0000
@@ -18,7 +18,7 @@ Index: src/dunst.c

         x_setup();
+
-+        if (pledge("stdio rpath proc exec", NULL) == -1)
++ if (pledge("stdio rpath proc exec prot_exec", NULL) == -1)
+                err(1, "pledge");

         if (settings.startup_notification) {

Reply via email to