Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ptrace: fix wrong comment of PT_DTRACE

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>

authored by

Tiezhu Yang and committed by
akpm
a9866bef f26b2afd

+1 -1
+1 -1
include/linux/ptrace.h
··· 30 30 31 31 #define PT_SEIZED 0x00010000 /* SEIZE used, enable new behavior */ 32 32 #define PT_PTRACED 0x00000001 33 - #define PT_DTRACE 0x00000002 /* delayed trace (used on m68k, i386) */ 33 + #define PT_DTRACE 0x00000002 /* delayed trace (used on um) */ 34 34 35 35 #define PT_OPT_FLAG_SHIFT 3 36 36 /* PT_TRACE_* event enable flags */