]> 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)
commit8f7ace7b3e98642db50e13202d72797e09c0b380
tree46b0312fbe23a3e928d58969a67488ac7f9bf8d5
parente7ccd7f45f7a606452888a6797274a6bd2bd5879
parisc: Replace hardcoded value with PRIV_USER constant in ptrace.c

commit e9eb80d44ef8a20794ad9650e50a88d98baaf010 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