]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerHelge Deller <deller@gmx.de>
Wed, 1 Feb 2023 20:42:36 +0000 (21:42 +0100)
commit3f0c17809a098d3f0c1ec83f1fb3ca61638d3dcd
tree0e7b7b1ecdcab11a50cb310dbf70e7c9794f424e
parent5d1335dabb3c493a3d6d5b233953b6ac7b6c1ff2
parisc: Replace hardcoded value with PRIV_USER constant in ptrace.c

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+
arch/parisc/kernel/ptrace.c