]> git.baikalelectronics.ru Git - kernel.git/commit
ptrace: remove redudant check of #ifdef PTRACE_SINGLESTEP
authorTiezhu Yang <yangtiezhu@loongson.cn>
Fri, 29 Apr 2022 21:38:02 +0000 (14:38 -0700)
committerakpm <akpm@linux-foundation.org>
Fri, 29 Apr 2022 21:38:02 +0000 (14:38 -0700)
commite7b043bdc98a76aefa059f0570750de3ca6f6beb
tree134d90902b6f174f4579f9b63321a529eae84407
parent840be7d272d742fb09592e26d3c5341f580f7e46
ptrace: remove redudant check of #ifdef PTRACE_SINGLESTEP

Patch series "ptrace: do some cleanup".

This patch (of 3):

PTRACE_SINGLESTEP is always defined as 9 in include/uapi/linux/ptrace.h,
remove redudant check of #ifdef PTRACE_SINGLESTEP.

Link: https://lkml.kernel.org/r/1649240981-11024-2-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>
kernel/ptrace.c