diff options
| author | Sean Eric Fagan <sef@FreeBSD.org> | 1998-01-06 01:37:12 +0000 |
|---|---|---|
| committer | Sean Eric Fagan <sef@FreeBSD.org> | 1998-01-06 01:37:12 +0000 |
| commit | dd30ff81d91557627625903be1c94bb47646dce1 (patch) | |
| tree | 24baa8ba3a6feb7f0862bccbfaaba1e90d61b99d /sys/miscfs/procfs | |
| parent | 4e9914b70899fe5c74c2f18f7b37693d1d0e14f6 (diff) | |
Notes
Diffstat (limited to 'sys/miscfs/procfs')
| -rw-r--r-- | sys/miscfs/procfs/procfs_vnops.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/miscfs/procfs/procfs_vnops.c b/sys/miscfs/procfs/procfs_vnops.c index b7e522bdaa2fc..b8bd8e97a228c 100644 --- a/sys/miscfs/procfs/procfs_vnops.c +++ b/sys/miscfs/procfs/procfs_vnops.c @@ -36,7 +36,7 @@ * * @(#)procfs_vnops.c 8.18 (Berkeley) 5/21/95 * - * $Id: procfs_vnops.c,v 1.49 1997/12/20 03:05:47 sef Exp $ + * $Id: procfs_vnops.c,v 1.50 1997/12/27 02:56:25 bde Exp $ */ /* @@ -236,6 +236,9 @@ procfs_ioctl(ap) return ENOTTY; } + if (!CHECKIO(p, procp)) + return EPERM; + switch (ap->a_command) { case PIOCBIS: procp->p_stops |= *(unsigned int*)ap->a_data; |
