Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc When checking /etc/exports, account for "-network=XXX" a...
details: https://anonhg.NetBSD.org/src/rev/7e2120b2de4f
branches: trunk
changeset: 571387:7e2120b2de4f
user: kim <kim%NetBSD.org@localhost>
date: Sun Nov 21 19:00:12 2004 +0000
description:
When checking /etc/exports, account for "-network=XXX" as restricting
the mount (i.e. it is not considered globally exported).
Fixes PR: 26890
diffstat:
etc/security | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 4adf8213fc35 -r 7e2120b2de4f etc/security
--- a/etc/security Sun Nov 21 18:01:14 2004 +0000
+++ b/etc/security Sun Nov 21 19:00:12 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: security,v 1.92 2004/09/28 15:03:58 erh Exp $
+# $NetBSD: security,v 1.93 2004/11/21 19:00:12 kim Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
@@ -581,6 +581,8 @@
for (i = 2; i <= NF; ++i) {
if ($i ~ /-ro/)
readonly = 1;
+ else if ($i ~ /^-network=/)
+ next;
else if ($i !~ /^-/)
next;
}
Home |
Main Index |
Thread Index |
Old Index