Revert "stub for pledge(2) for systems that lack it"
This reverts commit 14c887c839
.
dtucker beat me to it :/
This commit is contained in:
parent
6283cc72eb
commit
f0191d7c8e
|
@ -1,14 +0,0 @@
|
|||
/* Placed in the public domain. */
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
#ifndef HAVE_PLEDGE
|
||||
|
||||
/* Stub; real implementations wanted. */
|
||||
int
|
||||
pledge(const char *promises, const char *paths[])
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* HAVE_PLEDGE */
|
|
@ -264,10 +264,6 @@ int bcrypt_pbkdf(const char *, size_t, const u_int8_t *, size_t,
|
|||
void explicit_bzero(void *p, size_t n);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_PLEDGE
|
||||
int pledge(const char *promises, const char *paths[]);
|
||||
#endif /* HAVE_PLEDGE */
|
||||
|
||||
void *xmmap(size_t size);
|
||||
char *xcrypt(const char *password, const char *salt);
|
||||
char *shadow_pw(struct passwd *pw);
|
||||
|
|
Loading…
Reference in New Issue