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)
commita6a5b7067018d23e09b4a627b85a74c7c2e43afc
tree46b0312fbe23a3e928d58969a67488ac7f9bf8d5
parentd386bc5bf1cd00aee94bfc7b72d20b57d26ff5a8
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