Import this patch to address user concerns.

PR:		 27615
Submitted by:	Andria Thomas <andria@tovaris.com>
Approved by:	Me.
MFC after:	7 days
This commit is contained in:
darrenr 2002-01-04 12:32:34 +00:00
parent 82f83a1cbe
commit 7d85b12d90
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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