Home
last modified time | relevance | path

Searched hist:"574 c4866e33d648520a8bd5bf6f573ea6e554e88" (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/arch/mips/include/asm/
H A Dsignal.hdiff 2a1486981c1317dc4f4aad568f2cc6e49dfb8c82 Tue Mar 19 09:00:53 CDT 2013 David Howells <dhowells@redhat.com> Fix breakage in MIPS siginfo handling

MIPS's siginfo handling has been broken since this commit:

commit 574c4866e33d648520a8bd5bf6f573ea6e554e88
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Sun Nov 25 22:24:19 2012 -0500
consolidate kernel-side struct sigaction declarations

for 64-bit BE MIPS CPUs.

The UAPI variant looks like this:

struct sigaction {
unsigned int sa_flags;
__sighandler_t sa_handler;
sigset_t sa_mask;
};

but the core kernel's variant looks like this:

struct sigaction {
#ifndef __ARCH_HAS_ODD_SIGACTION
__sighandler_t sa_handler;
unsigned long sa_flags;
#else
unsigned long sa_flags;
__sighandler_t sa_handler;
#endif
#ifdef __ARCH_HAS_SA_RESTORER
__sigrestore_t sa_restorer;
#endif
sigset_t sa_mask;
};

The problem is that sa_flags has been changed from an unsigned int to an
unsigned long.

Fix this by making sa_flags unsigned int if __ARCH_HAS_ODD_SIGACTION is
defined.

Whilst we're at it, rename __ARCH_HAS_ODD_SIGACTION to
__ARCH_HAS_IRIX_SIGACTION.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/xtensa/include/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/alpha/include/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/ia64/include/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
H A Dunistd.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/sparc/include/uapi/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/include/uapi/asm-generic/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/powerpc/include/uapi/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/s390/include/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/arm/include/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/parisc/include/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/mips/include/uapi/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/sparc/include/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/sparc/kernel/
H A Dsystbls.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/m68k/include/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/powerpc/include/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
H A Dsyscalls.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/arch/x86/include/asm/
H A Dsignal.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
/openbmc/linux/include/linux/
H A Dsignal.hdiff 2a1486981c1317dc4f4aad568f2cc6e49dfb8c82 Tue Mar 19 09:00:53 CDT 2013 David Howells <dhowells@redhat.com> Fix breakage in MIPS siginfo handling

MIPS's siginfo handling has been broken since this commit:

commit 574c4866e33d648520a8bd5bf6f573ea6e554e88
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Sun Nov 25 22:24:19 2012 -0500
consolidate kernel-side struct sigaction declarations

for 64-bit BE MIPS CPUs.

The UAPI variant looks like this:

struct sigaction {
unsigned int sa_flags;
__sighandler_t sa_handler;
sigset_t sa_mask;
};

but the core kernel's variant looks like this:

struct sigaction {
#ifndef __ARCH_HAS_ODD_SIGACTION
__sighandler_t sa_handler;
unsigned long sa_flags;
#else
unsigned long sa_flags;
__sighandler_t sa_handler;
#endif
#ifdef __ARCH_HAS_SA_RESTORER
__sigrestore_t sa_restorer;
#endif
sigset_t sa_mask;
};

The problem is that sa_flags has been changed from an unsigned int to an
unsigned long.

Fix this by making sa_flags unsigned int if __ARCH_HAS_ODD_SIGACTION is
defined.

Whilst we're at it, rename __ARCH_HAS_ODD_SIGACTION to
__ARCH_HAS_IRIX_SIGACTION.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
H A Dcompat.hdiff 2a1486981c1317dc4f4aad568f2cc6e49dfb8c82 Tue Mar 19 09:00:53 CDT 2013 David Howells <dhowells@redhat.com> Fix breakage in MIPS siginfo handling

MIPS's siginfo handling has been broken since this commit:

commit 574c4866e33d648520a8bd5bf6f573ea6e554e88
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Sun Nov 25 22:24:19 2012 -0500
consolidate kernel-side struct sigaction declarations

for 64-bit BE MIPS CPUs.

The UAPI variant looks like this:

struct sigaction {
unsigned int sa_flags;
__sighandler_t sa_handler;
sigset_t sa_mask;
};

but the core kernel's variant looks like this:

struct sigaction {
#ifndef __ARCH_HAS_ODD_SIGACTION
__sighandler_t sa_handler;
unsigned long sa_flags;
#else
unsigned long sa_flags;
__sighandler_t sa_handler;
#endif
#ifdef __ARCH_HAS_SA_RESTORER
__sigrestore_t sa_restorer;
#endif
sigset_t sa_mask;
};

The problem is that sa_flags has been changed from an unsigned int to an
unsigned long.

Fix this by making sa_flags unsigned int if __ARCH_HAS_ODD_SIGACTION is
defined.

Whilst we're at it, rename __ARCH_HAS_ODD_SIGACTION to
__ARCH_HAS_IRIX_SIGACTION.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
H A Dsyscalls.hdiff 574c4866e33d648520a8bd5bf6f573ea6e554e88 Sun Nov 25 21:24:19 CST 2012 Al Viro <viro@zeniv.linux.org.uk> consolidate kernel-side struct sigaction declarations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>