diff options
Diffstat (limited to 'sys/fs/procfs')
-rw-r--r-- | sys/fs/procfs/procfs_fpregs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/fs/procfs/procfs_fpregs.c b/sys/fs/procfs/procfs_fpregs.c index c3e5f0b..14c3fd3 100644 --- a/sys/fs/procfs/procfs_fpregs.c +++ b/sys/fs/procfs/procfs_fpregs.c @@ -37,7 +37,7 @@ * @(#)procfs_fpregs.c 8.2 (Berkeley) 6/15/94 * * From: - * $Id: procfs_fpregs.c,v 1.6 1997/02/22 09:40:27 peter Exp $ + * $Id: procfs_fpregs.c,v 1.7 1997/08/02 14:32:11 bde Exp $ */ #include <sys/param.h> @@ -60,6 +60,8 @@ procfs_dofpregs(curp, p, pfs, uio) char *kv; int kl; + if (!CHECKIO(curp, p)) + return EPERM; kl = sizeof(r); kv = (char *) &r; |