From: Al Viro <viro@ZenIV.linux.org.uk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Subject: [git pull] signals, the first series
Date: Tue, 22 May 2012 05:35:25 +0100 [thread overview]
Message-ID: <20120522043525.GI11775@ZenIV.linux.org.uk> (raw)
This is just the first part of the queue (about a half of it);
assorted fixes all over the place in signals' handling. This one ends
with all sigsuspend() implementations switched to generic one
(->saved_sigmask-based), a bunch of assorted old buglets fixed and most
of the missing bits of NOTIFY_RESUME hookup in place (two more sit in
arm and um trees resp. and there's a couple of broken ones that need
obvious fixes - parisc and avr32 check TIF_NOTIFY_RESUME only on one of
two codepaths; that'll go in the next series). Please, pull from
git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal.git for-linus
Shortlog:
Al Viro (35):
new helper: sigsuspend()
parisc: resetting ->restart_block.fn needs to be done on rt_sigreturn()
c6x: ->restart_block.fn needs to be reset on rt_sigreturn
hexagon: ->restart_block.fn needs to be reset on rt_sigreturn
microblaze: ->restart_block.fn needs to be reset on rt_sigreturn
score: ->restart_block.fn needs to be reset on rt_sigreturn
xtensa: ->restart_block.fn needs to be reset on rt_sigreturn
avr32: ->restart_block.fn needs to be reset on rt_sigreturn
xtensa: switch to generic rt_sigsuspend(2)
sh: switch to saved_sigmask-based sigsuspend()/rt_sigsuspend()
h8300: don't change blocked signals' mask if setting frame up fails
h8300: switch to saved_sigmask-based sigsuspend/rt_sigsuspend
cris: SA_ONESHOT handling is done by get_signal_to_deliver()
microblaze: bury sys_rt_sigsuspend_wrapper in nommu case too
avr32: need to clear RESTORE_SIGMASK on successful signal delivery
blackfin: don't open-code force_sigsegv()
cris: don't open-code force_sigsegv()
score: don't open-code force_sigsegv()
alpha: tidy signal delivery up
xtensa: xtensa_sigaction doesn't exist
m32r: struct old_sigaction is never used
avr32: struct old_sigaction is never used
sparc: missing checks of __get_user()/__put_user() return values
sh: missing checks of __get_user()/__put_user() return values
powerpc: missing checks of __get_user()/__put_user() return values
cris: missing checks of __get_user()/__put_user() return values
frv: missing checks of __get_user()/__put_user() return values
h8300: missing checks of __get_user()/__put_user() return values
sparc: kill ancient comment in sparc_sigaction()
m68k: add TIF_NOTIFY_RESUME and handle it.
score: add handling of NOTIFY_RESUME to do_notify_resume()
microblaze: handle TIF_NOTIFY_RESUME
microblaze: drop 'oldset' argument of do_notify_resume()
xtensa: add handling of TIF_NOTIFY_RESUME
unicore32: if there's no handler we need to restore sigmask, syscall or no syscall
Matt Fleming (18):
parisc: use set_current_blocked() and block_sigmask()
frv: use set_current_blocked() and block_sigmask()
blackfin: use set_current_blocked() and block_sigmask()
unicore32: use block_sigmask()
h8300: use set_current_blocked() and block_sigmask()
score: don't mask signals if we fail to setup signal stack
score: use set_current_blocked() and block_sigmask()
microblaze: don't reimplement force_sigsegv()
microblaze: no need to reset handler if SA_ONESHOT
microblaze: fix signal masking
microblaze: use set_current_blocked() and block_sigmask()
ia64: use set_current_blocked() and block_sigmask()
cris: use set_current_blocked() and block_sigmask()
mn10300: use set_current_blocked() and block_sigmask()
m32r: use set_current_blocked() and block_sigmask()
avr32: don't mask signals in the error path
avr32: use block_sigmask()
m68k: use set_current_blocked() and block_sigmask()
Oleg Nesterov (2):
avr32: use set_current_blocked() in handle_signal/sys_rt_sigreturn
hexagon: do_notify_resume() needs tracehook_notify_resume()
Diffstat:
arch/alpha/kernel/signal.c | 80 +++++++--------------
arch/arm/kernel/signal.c | 11 +---
arch/avr32/include/asm/signal.h | 7 --
arch/avr32/kernel/signal.c | 30 +++-----
arch/blackfin/kernel/signal.c | 21 ++----
arch/c6x/kernel/signal.c | 3 +
arch/cris/arch-v10/kernel/signal.c | 50 ++++---------
arch/cris/arch-v32/kernel/signal.c | 66 ++++-------------
arch/frv/kernel/signal.c | 47 ++++---------
arch/h8300/include/asm/unistd.h | 1 +
arch/h8300/kernel/signal.c | 122 +++++++++++----------------------
arch/h8300/kernel/syscalls.S | 6 --
arch/hexagon/kernel/signal.c | 4 +
arch/ia64/kernel/signal.c | 15 +----
arch/m32r/include/asm/signal.h | 7 --
arch/m32r/kernel/signal.c | 12 +---
arch/m68k/include/asm/thread_info.h | 1 +
arch/m68k/kernel/entry_mm.S | 6 +-
arch/m68k/kernel/signal.c | 41 ++++++------
arch/m68k/platform/68328/entry.S | 2 +-
arch/m68k/platform/68360/entry.S | 2 +-
arch/m68k/platform/coldfire/entry.S | 2 +-
arch/microblaze/kernel/entry-nommu.S | 20 ++----
arch/microblaze/kernel/entry.S | 30 ++++-----
arch/microblaze/kernel/signal.c | 85 ++++++++++++-----------
arch/mips/kernel/signal.c | 20 +-----
arch/mips/kernel/signal32.c | 20 +-----
arch/mips/kernel/signal_n32.c | 10 +---
arch/mn10300/kernel/signal.c | 35 ++--------
arch/parisc/kernel/signal.c | 15 +---
arch/powerpc/kernel/signal_32.c | 17 +----
arch/s390/kernel/signal.c | 9 +--
arch/score/kernel/signal.c | 29 ++++----
arch/sh/include/asm/syscalls_32.h | 4 +-
arch/sh/include/asm/unistd.h | 4 +-
arch/sh/kernel/signal_32.c | 53 ++++++--------
arch/sh/kernel/signal_64.c | 84 ++++------------------
arch/sparc/kernel/signal32.c | 10 ++-
arch/sparc/kernel/signal_32.c | 12 +---
arch/sparc/kernel/signal_64.c | 13 +---
arch/sparc/kernel/sys_sparc_32.c | 17 ++---
arch/um/kernel/signal.c | 9 +--
arch/unicore32/kernel/signal.c | 18 ++---
arch/x86/ia32/ia32_signal.c | 12 +---
arch/x86/kernel/signal.c | 12 +---
arch/xtensa/include/asm/signal.h | 7 --
arch/xtensa/include/asm/syscall.h | 4 -
arch/xtensa/include/asm/thread_info.h | 1 +
arch/xtensa/include/asm/unistd.h | 2 +-
arch/xtensa/kernel/entry.S | 6 +-
arch/xtensa/kernel/signal.c | 73 +++++++++-----------
include/linux/signal.h | 1 +
kernel/compat.c | 10 +---
kernel/signal.c | 25 ++++---
54 files changed, 386 insertions(+), 817 deletions(-)
next reply other threads:[~2012-05-22 4:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-22 4:35 Al Viro [this message]
2012-05-22 8:06 ` [git pull] signals, the first series Stephen Rothwell
2012-05-23 5:14 ` Stephen Rothwell
2012-05-25 21:48 ` Al Viro
2012-05-25 21:48 ` Al Viro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120522043525.GI11775@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.