Re: [dev] pledge(2) patches

From: FRIGN <dev_AT_frign.de>
Date: Wed, 18 May 2016 22:09:13 +0200

On Wed, 18 May 2016 18:50:15 +0200
Kamil CholewiƄski <harry666t_AT_gmail.com> wrote:

Hey Kamil,

> Included are pledge(2) diffs for dwm, dmenu, st and slock. I've been
> testing these for a week now (both stress-tests and normal usage), and I
> have no ill effects to report.

I would never welcome this, but I'm glad to make an exception for
pledge(). Use the define trick

 #ifndef __OpenBSD__
 int pledge(const char *promises, const char *paths[]) { return 0; }
 #endif

though.

Cheers

FRIGN

-- 
FRIGN <dev_AT_frign.de>
Received on Wed May 18 2016 - 22:09:13 CEST

This archive was generated by hypermail 2.3.0 : Wed May 18 2016 - 22:12:16 CEST