diff options
Diffstat (limited to 'sys/miscfs/procfs/procfs_subr.c')
-rw-r--r-- | sys/miscfs/procfs/procfs_subr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/miscfs/procfs/procfs_subr.c b/sys/miscfs/procfs/procfs_subr.c index 5826d25f5c5..ac8a5769c01 100644 --- a/sys/miscfs/procfs/procfs_subr.c +++ b/sys/miscfs/procfs/procfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procfs_subr.c,v 1.23 2005/11/19 02:18:01 pedro Exp $ */ +/* $OpenBSD: procfs_subr.c,v 1.24 2005/12/11 21:30:31 miod Exp $ */ /* $NetBSD: procfs_subr.c,v 1.15 1996/02/12 15:01:42 christos Exp $ */ /* @@ -44,6 +44,7 @@ #include <sys/vnode.h> #include <sys/malloc.h> #include <sys/stat.h> +#include <sys/ptrace.h> #include <miscfs/procfs/procfs.h> @@ -229,7 +230,7 @@ procfs_rw(v) return (procfs_dostatus(curp, p, pfs, uio)); case Pmem: - return (procfs_domem(curp, p, pfs, uio)); + return (process_domem(curp, p, uio, PT_WRITE_I)); case Pcmdline: return (procfs_docmdline(curp, p, pfs, uio)); |