Page MenuHomeFreeBSD

D50866.diff
No OneTemporary

D50866.diff

diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c
--- a/sys/compat/freebsd32/freebsd32_misc.c
+++ b/sys/compat/freebsd32/freebsd32_misc.c
@@ -1177,7 +1177,7 @@
pscr_args[i] = pscr_args32[i];
r.sr.pscr_args = pscr_args;
break;
- case PTLINUX_FIRST ... PTLINUX_LAST:
+ case PTINTERNAL_FIRST ... PTINTERNAL_LAST:
error = EINVAL;
break;
default:
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -690,7 +690,7 @@
break;
r.sr.pscr_args = pscr_args;
break;
- case PTLINUX_FIRST ... PTLINUX_LAST:
+ case PTINTERNAL_FIRST ... PTINTERNAL_LAST:
error = EINVAL;
break;
default:
diff --git a/sys/sys/ptrace.h b/sys/sys/ptrace.h
--- a/sys/sys/ptrace.h
+++ b/sys/sys/ptrace.h
@@ -91,10 +91,10 @@
#include <machine/ptrace.h> /* machine-specific requests, if any */
#ifdef _KERNEL
-/* Space for Linux ptrace emulation. */
-#define PTLINUX_FIRST 128
-#define PTLINUX_LAST 191
-#define PTLINUX_GET_SC_ARGS (PTLINUX_FIRST + 0)
+/* Space for ptrace commands not exposed directly to userspace. */
+#define PTINTERNAL_FIRST 128
+#define PTINTERNAL_LAST 191
+#define PTLINUX_GET_SC_ARGS (PTINTERNAL_FIRST + 0)
#endif
/* Events used with PT_GET_EVENT_MASK and PT_SET_EVENT_MASK */

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 1, 2:47 PM (4 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28393495
Default Alt Text
D50866.diff (1 KB)

Event Timeline