projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f26b2af
)
ptrace: fix wrong comment of PT_DTRACE
author
Tiezhu Yang
<yangtiezhu@loongson.cn>
Fri, 29 Apr 2022 21:38:02 +0000
(14:38 -0700)
committer
akpm
<akpm@linux-foundation.org>
Fri, 29 Apr 2022 21:38:02 +0000
(14:38 -0700)
PT_DTRACE is only used on um now, fix the wrong comment.
Link:
https://lkml.kernel.org/r/1649240981-11024-3-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/ptrace.h
patch
|
blob
|
history
diff --git
a/include/linux/ptrace.h
b/include/linux/ptrace.h
index 15b3d176b6b4d7cf3410b7384121532e44d7c63d..db4509587d2ca018350684475b13d2489aef23e8 100644
(file)
--- a/
include/linux/ptrace.h
+++ b/
include/linux/ptrace.h
@@
-30,7
+30,7
@@
extern int ptrace_access_vm(struct task_struct *tsk, unsigned long addr,
#define PT_SEIZED 0x00010000 /* SEIZE used, enable new behavior */
#define PT_PTRACED 0x00000001
-#define PT_DTRACE 0x00000002 /* delayed trace (used on
m68k, i386
) */
+#define PT_DTRACE 0x00000002 /* delayed trace (used on
um
) */
#define PT_OPT_FLAG_SHIFT 3
/* PT_TRACE_* event enable flags */