diff options
author | Sebastien Marie <semarie@cvs.openbsd.org> | 2015-11-18 13:48:03 +0000 |
---|---|---|
committer | Sebastien Marie <semarie@cvs.openbsd.org> | 2015-11-18 13:48:03 +0000 |
commit | c5e68072fc338c3dd95f71187f1433a6239a9b10 (patch) | |
tree | ac4d967bba84c9e15e11db69c1af0a27817eb7ee | |
parent | 725d8aec3cdc38d39990bc77b409f3902b78b121 (diff) |
remove pledge_aftersyscall() prototype as the function was been removed.
while here, move pledge_namei() proto with others pledge_* functions used for
check promises.
-rw-r--r-- | sys/sys/pledge.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/sys/pledge.h b/sys/sys/pledge.h index f0bc6e700c0..fa880c27a5c 100644 --- a/sys/sys/pledge.h +++ b/sys/sys/pledge.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pledge.h,v 1.19 2015/11/18 08:24:22 semarie Exp $ */ +/* $OpenBSD: pledge.h,v 1.20 2015/11/18 13:48:02 semarie Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -92,13 +92,12 @@ static struct { #ifdef _KERNEL -struct nameidata; int pledge_syscall(struct proc *, int, int *); int pledge_fail(struct proc *, int, int); -int pledge_namei(struct proc *, struct nameidata *, char *); -void pledge_aftersyscall(struct proc *, int, int); struct mbuf; +struct nameidata; +int pledge_namei(struct proc *, struct nameidata *, char *); int pledge_sendfd(struct proc *p, struct file *); int pledge_recvfd(struct proc *p, struct file *); int pledge_sysctl(struct proc *p, int namelen, int *name, void *new); |