Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143809811
D50866.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D50866.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D50866: ptrace: Rename the internal command range
Attached
Detach File
Event Timeline
Log In to Comment