On 14 October 2017 at 19:14 GMT, Theo Buehler wrote:
On Sat, Oct 14, 2017 at 02:29:41PM -0400, Thierry wrote:

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


It pledges too early.

I was unable to reproduce your problem, but I ran into another pledge issue with dunst trying to open a socket. I only tested this very
briefly, but this patch seems to work for me.

Please test this with various setups.

Applying your diffs trigger a corddump with the same message, namely:
/bsd: dunst(12359): syscall 197 "protexec"

Regards,
Thierry

Reply via email to