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: Tue, 21 Jun 2011 12:09:45 -0700 From: H Hartley Sweeten <hartleys@...ionengravers.com> To: Linux Kernel <linux-kernel@...r.kernel.org> CC: ARM Kernel <linux-arm-kernel@...ts.infradead.org>, Russell King <linux@....linux.org.uk>, <mikpe@...uu.se>, <ebiederm@...ssion.com>, <vapier@...too.org>, <tony.luck@...el.com> Subject: [PATCH] ARM: quiet sparse noise due to __ARCH_WANT_SYS_RT_SIG(ACTION|SUSPEND) ARM defines __ARCH_WANT_SYS_RT_SIG(ACTION|SUSPEND) which produces the following sparse warnings in kernel/signal.c: warning: symbol 'sys_rt_sigaction' was not declared. Should it be static? warning: symbol 'sys_rt_sigsuspend' was not declared. Should it be static? Since ARM doesn't include <asm-generic/syscalls.h>, due to different calling conventions for some system calls, prototype the functions in <asm/unistd.h> to quiet the noise. Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com> Cc: Russell King <linux@....linux.org.uk> Cc: Mikael Pettersson <mikpe@...uu.se> Cc: "Eric W. Biederman" <ebiederm@...ssion.com> Cc: Mike Frysinger <vapier@...too.org> Cc: Tony Luck <tony.luck@...el.com> --- diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 2c04ed5..322c54e 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h @@ -467,6 +467,20 @@ #define __ARCH_WANT_SYS_SOCKETCALL #endif +#ifndef __ASSEMBLY__ + +#include <linux/types.h> +#include <linux/linkage.h> +#include <linux/compiler.h> +#include <linux/signal.h> + +asmlinkage long sys_rt_sigaction(int sig, const struct sigaction __user *act, + struct sigaction __user *oact, + size_t sigsetsize); +asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize); + +#endif /* !__ASSEMBLY__ */ + /* * "Conditional" syscalls * -- 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