]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
signal/arm64: Better isolate the COMPAT_TASK portion of ptrace_hbptriggered
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 22 Jan 2018 20:50:53 +0000 (14:50 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 23 Jan 2018 01:06:48 +0000 (19:06 -0600)
commit66e0f26315ce7dd3f4efdbdee63f30dac643763f
treee6d0e0074001653104b63f76f57ca59632a91055
parent0752d7bf626ba90c68caff8be4e5638f6679cacf
signal/arm64: Better isolate the COMPAT_TASK portion of ptrace_hbptriggered

Instead of jumpping while !is_compat_task placee all of the code
inside of an if (is_compat_task) block.  This allows the int i
variable to be properly limited to the compat block no matter how the
rest of ptrace_hbptriggered changes.

In a following change a non-variable declaration will preceed
was made independent to ensure the code is easy to review.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/arm64/kernel/ptrace.c