diff options
author | darrenr <darrenr@FreeBSD.org> | 2002-01-04 12:32:34 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2002-01-04 12:32:34 +0000 |
commit | 7d85b12d901f6c2409c58afe8e57ee50b3e25df9 (patch) | |
tree | 276f725b87e0f381ec1cf52b221e7d0ed1fd5e44 /sys/contrib | |
parent | 82f83a1cbe7c3808ca9607cce030a1afacbbd171 (diff) | |
download | FreeBSD-src-7d85b12d901f6c2409c58afe8e57ee50b3e25df9.zip FreeBSD-src-7d85b12d901f6c2409c58afe8e57ee50b3e25df9.tar.gz |
Import this patch to address user concerns.
PR: 27615
Submitted by: Andria Thomas <andria@tovaris.com>
Approved by: Me.
MFC after: 7 days
Diffstat (limited to 'sys/contrib')
-rw-r--r-- | sys/contrib/ipfilter/netinet/ip_fil.c | 2 | ||||
-rw-r--r-- | sys/contrib/ipfilter/netinet/ip_nat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_fil.c b/sys/contrib/ipfilter/netinet/ip_fil.c index 149d0c7..5e5bfce 100644 --- a/sys/contrib/ipfilter/netinet/ip_fil.c +++ b/sys/contrib/ipfilter/netinet/ip_fil.c @@ -491,7 +491,7 @@ int mode; int error = 0, unit = 0, tmp; #if (BSD >= 199306) && defined(_KERNEL) - if ((securelevel >= 2) && (mode & FWRITE)) + if ((securelevel >= 3) && (mode & FWRITE)) return EPERM; #endif #ifdef _KERNEL diff --git a/sys/contrib/ipfilter/netinet/ip_nat.c b/sys/contrib/ipfilter/netinet/ip_nat.c index f48ab76..363ab24 100644 --- a/sys/contrib/ipfilter/netinet/ip_nat.c +++ b/sys/contrib/ipfilter/netinet/ip_nat.c @@ -431,7 +431,7 @@ int mode; u_32_t i, j; #if (BSD >= 199306) && defined(_KERNEL) - if ((securelevel >= 2) && (mode & FWRITE)) + if ((securelevel >= 3) && (mode & FWRITE)) return EPERM; #endif |