diff options
author | phk <phk@FreeBSD.org> | 1997-09-18 18:33:23 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-09-18 18:33:23 +0000 |
commit | b60a60d3bc74a670ac2b407fd97c6e366a35f301 (patch) | |
tree | 355000d72fe9f9e26cec95259fc0080cfc6c02fa /sys/fs/umapfs | |
parent | 5026643ad51ca7368a7aa0792ac37dea10f1b8ea (diff) | |
download | FreeBSD-src-b60a60d3bc74a670ac2b407fd97c6e366a35f301.zip FreeBSD-src-b60a60d3bc74a670ac2b407fd97c6e366a35f301.tar.gz |
Executing binaries on a nullfs (or nullfs-based) filesystem results in
a trap.
PR: 3104
Reviewed by: phk
Submitted by: Dan Walters hannibal@cyberstation.net
Diffstat (limited to 'sys/fs/umapfs')
-rw-r--r-- | sys/fs/umapfs/umap_vnops.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/fs/umapfs/umap_vnops.c b/sys/fs/umapfs/umap_vnops.c index 2eb8ab2..64d5fba 100644 --- a/sys/fs/umapfs/umap_vnops.c +++ b/sys/fs/umapfs/umap_vnops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)umap_vnops.c 8.6 (Berkeley) 5/22/95 - * $Id: umap_vnops.c,v 1.17 1997/05/25 04:50:01 peter Exp $ + * $Id: umap_vnops.c,v 1.18 1997/08/02 14:32:26 bde Exp $ */ /* @@ -225,7 +225,8 @@ umap_bypass(ap) goto out; vppp = VOPARG_OFFSETTO(struct vnode***, descp->vdesc_vpp_offset, ap); - error = umap_node_create(old_vps[0]->v_mount, **vppp, *vppp); + if (*vppp) + error = umap_node_create(old_vps[0]->v_mount, **vppp, *vppp); }; out: |