]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Replace hardcoded value with PRIV_USER constant in ptrace.c
authorHelge Deller <deller@gmx.de>
Wed, 1 Feb 2023 10:04:06 +0000 (11:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:20 +0000 (11:28 +0100)
commite3cf91b50cf3bcce9f720bdad556e021cbbfc319
tree46b0312fbe23a3e928d58969a67488ac7f9bf8d5
parent1ee03809caa4123043acbc8a77f11f9298cbd1b9
parisc: Replace hardcoded value with PRIV_USER constant in ptrace.c

commit 3f0c17809a098d3f0c1ec83f1fb3ca61638d3dcd upstream.

Prefer usage of the PRIV_USER constant over the hard-coded value to set
the lowest 2 bits for the userspace privilege.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # 5.16+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/ptrace.c