Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/miscfs/specfs Pull up revision 1.51 (requested by j...
details: https://anonhg.NetBSD.org/src/rev/c004650e0590
branches: netbsd-1-4
changeset: 471188:c004650e0590
user: he <he%NetBSD.org@localhost>
date: Fri Oct 27 20:45:36 2000 +0000
description:
Pull up revision 1.51 (requested by jmc):
Fix security problem in spec_open().
diffstat:
sys/miscfs/specfs/spec_vnops.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r aad513bf8b25 -r c004650e0590 sys/miscfs/specfs/spec_vnops.c
--- a/sys/miscfs/specfs/spec_vnops.c Fri Oct 27 20:39:27 2000 +0000
+++ b/sys/miscfs/specfs/spec_vnops.c Fri Oct 27 20:45:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spec_vnops.c,v 1.43.6.1 1999/10/18 05:05:14 cgd Exp $ */
+/* $NetBSD: spec_vnops.c,v 1.43.6.2 2000/10/27 20:45:36 he Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -177,7 +177,6 @@
if (securelevel >= 1) {
if ((bdev = chrtoblk(dev)) != (dev_t)NODEV &&
vfinddev(bdev, VBLK, &bvp) &&
- bvp->v_usecount > 0 &&
(error = vfs_mountedon(bvp)))
return (error);
if (iskmemdev(dev))
Home |
Main Index |
Thread Index |
Old Index