Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93bfba81 authored by Michael Karcher's avatar Michael Karcher Committed by Greg Kroah-Hartman
Browse files

sh: Fix validation of system call number



[ Upstream commit 04a8a3d0a73f51c7c2da84f494db7ec1df230e69 ]

The slow path for traced system call entries accessed a wrong memory
location to get the number of the maximum allowed system call number.
Renumber the numbered "local" label for the correct location to avoid
collisions with actual local labels.

Signed-off-by: default avatarMichael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
Tested-by: default avatarJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Fixes: f3a83088 ("sh: Add a few missing irqflags tracing markers.")
Signed-off-by: default avatarRich Felker <dalias@libc.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7846460c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment