OSDN Git Service

signal/x86: Remove the pkey parameter from do_sigbus
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 17 Sep 2018 22:16:01 +0000 (00:16 +0200)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 21 Sep 2018 12:48:44 +0000 (14:48 +0200)
commit27274f731c3a3a50f574e6671b0a15247fdf2084
tree2687727bc4cd297cc968fc411ce95e5b226dc428
parent768fd9c69bb56df44ed5e58de1a7a4f8b8bb1701
signal/x86: Remove the pkey parameter from do_sigbus

The function do_sigbus never sets si_code to PKUERR so it can never
return a pkey to userspace.  Therefore remove the unusable pkey
parameter from do_sigbus.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/x86/mm/fault.c