summaryrefslogtreecommitdiff
path: root/sys/miscfs/procfs/procfs_vnops.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-12-11 21:30:32 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-12-11 21:30:32 +0000
commita342f962baf22ac9db5f3bd2a04ed48f1e2a2b74 (patch)
treed3643230668304deebb48d98ba0541e2eb192241 /sys/miscfs/procfs/procfs_vnops.c
parentbdbdd1c8cc21dca99b15a748a74b14759192348c (diff)
Replace procfs_domem() with a similar interface, process_domem(), which lives
out of procfs and gets a ptrace request PT_{READ,WRITE}_{I,D} as argument; also procfs_checkioperm() becomes process_checkioperm(). From art@ some time ago; ok kettenis@ pedro@
Diffstat (limited to 'sys/miscfs/procfs/procfs_vnops.c')
-rw-r--r--sys/miscfs/procfs/procfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/procfs/procfs_vnops.c b/sys/miscfs/procfs/procfs_vnops.c
index 244a0012feb..c235332da09 100644
--- a/sys/miscfs/procfs/procfs_vnops.c
+++ b/sys/miscfs/procfs/procfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procfs_vnops.c,v 1.36 2005/04/21 23:28:55 deraadt Exp $ */
+/* $OpenBSD: procfs_vnops.c,v 1.37 2005/12/11 21:30:31 miod Exp $ */
/* $NetBSD: procfs_vnops.c,v 1.40 1996/03/16 23:52:55 christos Exp $ */
/*
@@ -227,7 +227,7 @@ procfs_open(v)
((pfs->pfs_flags & O_EXCL) && (ap->a_mode & FWRITE)))
return (EBUSY);
- if ((error = procfs_checkioperm(p1, p2)) != 0)
+ if ((error = process_checkioperm(p1, p2)) != 0)
return (error);
if (ap->a_mode & FWRITE)