aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/libdtrace/libproc_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/lib/libdtrace/libproc_compat.h')
-rw-r--r--cddl/lib/libdtrace/libproc_compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cddl/lib/libdtrace/libproc_compat.h b/cddl/lib/libdtrace/libproc_compat.h
index 0bb9e05424b7..167858cf675c 100644
--- a/cddl/lib/libdtrace/libproc_compat.h
+++ b/cddl/lib/libdtrace/libproc_compat.h
@@ -34,6 +34,9 @@
* Functions sorted alphabetically.
*/
#define PR_LMID_EVERY 0
+#define PGRAB_RDONLY PATTACH_RDONLY
+#define PGRAB_FORCE PATTACH_FORCE
+
#define Psetrun(p, a1, a2) proc_continue((p))
#define Pxlookup_by_addr(p, a, n, s, sym, i) \
proc_addr2sym(p, a, n, s, sym)