]> git.baikalelectronics.ru Git - kernel.git/commit
ptrace: Use copy_siginfo in setsiginfo and getsiginfo
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 24 Jul 2017 20:08:16 +0000 (15:08 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 16 Jan 2018 18:48:30 +0000 (12:48 -0600)
commit529537eb3dc19cceb9d86398e26976a6c40cd854
treeeaa5beac5a37bbf241b3552a9e7cb2bfe4dc0318
parentea6d4a37e52def4d389750f21e28b30a5f513d1b
ptrace: Use copy_siginfo in setsiginfo and getsiginfo

Now that copy_siginfo copies all of the fields this is safe, safer (as
all of the bits are guaranteed to be copied), clearer, and less error
prone than using a structure copy.

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