Re: [dev] pledge(2) patches

From: Evan Gates <evan.gates_AT_gmail.com>
Date: Wed, 18 May 2016 14:46:16 -0700

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

Why the full function instead of

#define pledge(x,y) 0

(perhaps to enforce correct types?)

-emg
Received on Wed May 18 2016 - 23:46:16 CEST

This archive was generated by hypermail 2.3.0 : Wed May 18 2016 - 23:48:10 CEST