lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 3 Mar 2014 01:00:42 +0100 From: Richard Weinberger <richard@....at> To: linux-kernel@...r.kernel.org Cc: linux-arch@...r.kernel.org, viro@...iv.linux.org.uk, vgupta@...opsys.com, catalin.marinas@....com, will.deacon@....com, hskinnemoen@...il.com, egtvedt@...fundet.no, vapier@...too.org, msalter@...hat.com, a-jacquiot@...com, starvik@...s.com, jesper.nilsson@...s.com, dhowells@...hat.com, rkuo@...eaurora.org, tony.luck@...el.com, fenghua.yu@...el.com, takata@...ux-m32r.org, geert@...ux-m68k.org, james.hogan@...tec.com, monstr@...str.eu, yasutake.koichi@...panasonic.com, ralf@...ux-mips.org, jonas@...thpole.se, jejb@...isc-linux.org, deller@....de, benh@...nel.crashing.org, paulus@...ba.org, schwidefsky@...ibm.com, heiko.carstens@...ibm.com, liqin.linux@...il.com, lennox.wu@...il.com, cmetcalf@...era.com, gxt@...c.pku.edu.cn, linux-xtensa@...ux-xtensa.org, akpm@...ux-foundation.org, oleg@...hat.com, tj@...nel.org, hch@...radead.org, Richard Weinberger <richard@....at> Subject: [PATCH 42/44] x86: Use translate_signal() Use the common helper instead of it's own variant. Signed-off-by: Richard Weinberger <richard@....at> --- arch/x86/kernel/signal.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c index 9e5de68..cad7c49 100644 --- a/arch/x86/kernel/signal.c +++ b/arch/x86/kernel/signal.c @@ -18,7 +18,6 @@ #include <linux/tracehook.h> #include <linux/unistd.h> #include <linux/stddef.h> -#include <linux/personality.h> #include <linux/uaccess.h> #include <linux/user-return-notifier.h> #include <linux/uprobes.h> @@ -596,12 +595,10 @@ badframe: static int signr_convert(int sig) { #ifdef CONFIG_X86_32 - struct thread_info *info = current_thread_info(); - - if (info->exec_domain && info->exec_domain->signal_invmap && sig < 32) - return info->exec_domain->signal_invmap[sig]; -#endif /* CONFIG_X86_32 */ + return translate_signal(sig); +#else /* CONFIG_X86_32 */ return sig; +#endif } static int -- 1.8.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists