diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-08-29 02:51:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-08-29 02:51:28 +0000 |
commit | 21194fa0a2325439f69ae055076444fc0355cbb8 (patch) | |
tree | 5fa510c875c5605f1594d940fea9a40d3f86d8ab /sys/nfs/nfs_subs.c | |
parent | f20ec395035594819231500b71439457664c590a (diff) |
Remove old deactivated pledge path code. A replacement mechanism is
being brewed.
ok beck
Diffstat (limited to 'sys/nfs/nfs_subs.c')
-rw-r--r-- | sys/nfs/nfs_subs.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c index d505b971e36..65bb908ab52 100644 --- a/sys/nfs/nfs_subs.c +++ b/sys/nfs/nfs_subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_subs.c,v 1.134 2017/02/22 11:42:46 mpi Exp $ */ +/* $OpenBSD: nfs_subs.c,v 1.135 2017/08/29 02:51:27 deraadt Exp $ */ /* $NetBSD: nfs_subs.c,v 1.27.4.3 1996/07/08 20:34:24 jtc Exp $ */ /* @@ -1247,12 +1247,6 @@ nfs_namei(struct nameidata *ndp, fhandle_t *fhp, int len, cnp->cn_flags |= NOCROSSMOUNT; /* - * Should be 0, if not someone didn't init ndp with NDINIT, - * go find and murder the offender messily. - */ - KASSERT (ndp->ni_p_path == NULL && ndp->ni_p_size == 0); - - /* * And call lookup() to do the real work */ cnp->cn_proc = p; |