commit ccc00c387cfb6779437ccf26fb05b3d486e7dfc5 parent 3cea5ba2e7631e7569a6fea4005e10967ada41f6 Author: Frederic Cambus <fred@statdns.com> Date: Wed, 20 Jan 2016 16:47:45 +0100 Adding a null pledge implementation Diffstat:
A | compat/pledge.c | | | 6 | ++++++ |
A | compat/pledge.h | | | 1 | + |
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/compat/pledge.c b/compat/pledge.c @@ -0,0 +1,6 @@ +int +pledge(const char *promises, const char *paths[]) { + (void)promises; + (void)paths; + return 0; +} diff --git a/compat/pledge.h b/compat/pledge.h @@ -0,0 +1 @@ +int pledge(const char *promises, const char *paths[]);