mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Style fix my previous commit.
This commit is contained in:
parent
9679e98125
commit
2c39c8177b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26962
@ -36,7 +36,7 @@
|
||||
*
|
||||
* @(#)procfs_subr.c 8.6 (Berkeley) 5/14/95
|
||||
*
|
||||
* $Id: procfs_subr.c,v 1.14 1997/03/08 16:06:34 bde Exp $
|
||||
* $Id: procfs_subr.c,v 1.15 1997/06/21 16:09:49 alex Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -243,7 +243,7 @@ procfs_rw(ap)
|
||||
if (p == 0)
|
||||
return (EINVAL);
|
||||
if (p->p_pid == 1 && securelevel > 0 && uio->uio_rw == UIO_WRITE)
|
||||
return(EACCES);
|
||||
return (EACCES);
|
||||
|
||||
while (pfs->pfs_lockowner) {
|
||||
tsleep(&pfs->pfs_lockowner, PRIBIO, "pfslck", 0);
|
||||
|
@ -36,7 +36,7 @@
|
||||
*
|
||||
* @(#)procfs_subr.c 8.6 (Berkeley) 5/14/95
|
||||
*
|
||||
* $Id: procfs_subr.c,v 1.14 1997/03/08 16:06:34 bde Exp $
|
||||
* $Id: procfs_subr.c,v 1.15 1997/06/21 16:09:49 alex Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -243,7 +243,7 @@ procfs_rw(ap)
|
||||
if (p == 0)
|
||||
return (EINVAL);
|
||||
if (p->p_pid == 1 && securelevel > 0 && uio->uio_rw == UIO_WRITE)
|
||||
return(EACCES);
|
||||
return (EACCES);
|
||||
|
||||
while (pfs->pfs_lockowner) {
|
||||
tsleep(&pfs->pfs_lockowner, PRIBIO, "pfslck", 0);
|
||||
|
Loading…
Reference in New Issue
Block a user