aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
AgeCommit message (Expand)AuthorFilesLines
2018-10-25Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-9/+10
2018-10-24Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-149/+272
2018-10-10signal: Guard against negative signal numbers in copy_siginfo_from_user32Eric W. Biederman1-1/+1
2018-10-10signal: Guard against negative signal numbers in copy_siginfo_from_userEric W. Biederman1-1/+1
2018-10-08signal: In sigqueueinfo prefer sig not si_signoEric W. Biederman1-57/+84
2018-10-03signal: Use a smaller struct siginfo in the kernelEric W. Biederman1-18/+64
2018-10-03signal: Distinguish between kernel_siginfo and siginfoEric W. Biederman1-52/+99
2018-10-03signal: Introduce copy_siginfo_from_user and use it's return valueEric W. Biederman1-9/+16
2018-10-03signal: Remove the need for __ARCH_SI_PREABLE_SIZE and SI_PAD_SIZEEric W. Biederman1-3/+0
2018-10-03signal: Fail sigqueueinfo if si_signo != sigEric W. Biederman1-2/+4
2018-10-03signal/sparc: Move EMT_TAGOVF into the generic siginfo.hEric W. Biederman1-1/+1
2018-10-01signal: Introduce COMPAT_SIGMINSTKSZ for use in compat_sys_sigaltstackWill Deacon1-5/+9
2018-09-16signal: Pair exports with their functionsEric W. Biederman1-8/+7
2018-09-16signal: Remove specific_send_sig_infoEric W. Biederman1-8/+2
2018-09-11signal: Remove SEND_SIG_FORCEDEric W. Biederman1-4/+3
2018-09-11signal: Never allocate siginfo for SIGKILL or SIGSTOPEric W. Biederman1-3/+4
2018-09-11signal: Don't send siginfo to kthreads.Eric W. Biederman1-1/+1
2018-09-11signal: Always deliver the kernel's SIGKILL and SIGSTOP to a pid namespace initEric W. Biederman1-1/+1
2018-09-11signal: Always ignore SIGKILL and SIGSTOP sent to the global initEric W. Biederman1-0/+4
2018-08-29y2038: signal: Change rt_sigtimedwait to use __kernel_timespecArnd Bergmann1-8/+9
2018-08-27y2038: globally rename compat_time to old_time32Arnd Bergmann1-1/+1
2018-08-22Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-87/+83
2018-08-22signal: make get_signal() return boolChristian Brauner1-2/+2
2018-08-22signal: make sigkill_pending() return boolChristian Brauner1-3/+3
2018-08-22signal: make legacy_queue() return boolChristian Brauner1-1/+1
2018-08-22signal: make wants_signal() return boolChristian Brauner1-5/+9
2018-08-22signal: make flush_sigqueue_mask() voidChristian Brauner1-3/+2
2018-08-22signal: make unhandled_signal() return boolChristian Brauner1-3/+5
2018-08-22signal: make recalc_sigpending_tsk() return boolChristian Brauner1-3/+4
2018-08-22signal: make has_pending_signals() return boolChristian Brauner1-1/+1
2018-08-22signal: make sig_ignored() return boolChristian Brauner1-3/+3
2018-08-22signal: make sig_task_ignored() return boolChristian Brauner1-2/+2
2018-08-22signal: make sig_handler_ignored() return boolChristian Brauner1-2/+2
2018-08-22signal: make kill_ok_by_cred() return boolChristian Brauner1-11/+6
2018-08-22signal: simplify rt_sigaction()Christian Brauner1-12/+10
2018-08-22signal: make do_sigpending() voidChristian Brauner1-21/+20
2018-08-22signal: make may_ptrace_stop() return boolChristian Brauner1-4/+4
2018-08-22signal: make kill_as_cred_perm() return boolChristian Brauner1-6/+7
2018-08-22signal: make force_sigsegv() voidChristian Brauner1-5/+2
2018-08-09signal: Don't restart fork when signals come in.Eric W. Biederman1-0/+15
2018-08-03fork: Have new threads join on-going signal group stopsEric W. Biederman1-0/+14
2018-08-03signal: Add calculate_sigpending()Eric W. Biederman1-0/+11
2018-07-21signal: Push pid type down into complete_signal.Eric W. Biederman1-4/+4
2018-07-21signal: Push pid type down into __send_signalEric W. Biederman1-6/+6
2018-07-21signal: Push pid type down into send_signalEric W. Biederman1-6/+6
2018-07-21signal: Pass pid type into do_send_sig_infoEric W. Biederman1-5/+5
2018-07-21signal: Pass pid type into group_send_sig_infoEric W. Biederman1-4/+6
2018-07-21signal: Pass pid and pid type into send_sigqueueEric W. Biederman1-5/+9
2018-06-10signal: Remove no longer required irqsave/restoreAnna-Maria Gleixner1-17/+7
2018-06-04Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-129/+52
2018-05-04sched/core: Introduce set_special_state()Peter Zijlstra1-2/+15
2018-04-26signal: Extend siginfo_layout with SIL_FAULT_{MCEERR|BNDERR|PKUERR}Eric W. Biederman1-25/+56
2018-04-26signal: Remove unncessary #ifdef SEGV_PKUERR in 32bit compat codeEric W. Biederman1-5/+0
2018-04-25signal: Remove ifdefs for BUS_MCEERR_AR and BUS_MCEERR_AOEric W. Biederman1-16/+8
2018-04-25signal: Remove SEGV_BNDERR ifdefsEric W. Biederman1-6/+0
2018-04-25signal: Stop special casing TRAP_FIXME and FPE_FIXME in siginfo_layoutEric W. Biederman1-9/+0
2018-04-25signal: Reduce copy_siginfo_to_user to just copy_to_userEric W. Biederman1-82/+2
2018-04-07Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+3
2018-04-04Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-4/+0
2018-04-02kernel: add do_compat_sigaltstack() helper; remove in-kernel call to compat s...Dominik Brodowski1-4/+10
2018-04-02kernel: open-code sys_rt_sigpending() in sys_sigpending()Dominik Brodowski1-3/+12
2018-03-09arm64: signal: Ensure si_code is valid for all fault signalsDave Martin1-4/+0
2018-03-07usb, signal, security: only pass the cred, not the secid, to kill_pid_info_as...Stephen Smalley1-3/+3
2018-01-31Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+3
2018-01-22signal/ptrace: Add force_sig_ptrace_errno_trap and use it where neededEric W. Biederman1-0/+15
2018-01-22signal: Helpers for faults with specialized siginfo layoutsEric W. Biederman1-0/+61
2018-01-22signal: Add send_sig_fault and force_sig_faultEric W. Biederman1-0/+47
2018-01-22signal: Don't use structure initializers for struct siginfoEric W. Biederman1-1/+2
2018-01-15signal: Unify and correct copy_siginfo_to_user32Eric W. Biederman1-0/+90
2018-01-15signal: Remove the code to clear siginfo before calling copy_siginfo_from_user32Eric W. Biederman1-2/+2
2018-01-15signal: Unify and correct copy_siginfo_from_user32Eric W. Biederman1-0/+81
2018-01-15signal/blackfin: Move the blackfin specific si_codes to asm-generic/siginfo.hEric W. Biederman1-3/+6
2018-01-12signal: Remove unnecessary ifdefs now that there is only one struct siginfoEric W. Biederman1-4/+0
2018-01-12signal/ia64: switch the last arch-specific copy_siginfo_to_user() to generic ...Eric W. Biederman1-4/+5
2018-01-12signal: Clear si_sys_private before copying siginfo to userspaceEric W. Biederman1-0/+3
2018-01-12signal: Ensure no siginfo union member increases the size of struct siginfoEric W. Biederman1-0/+1
2018-01-12signal: Ensure generic siginfos the kernel sends have all bits initializedEric W. Biederman1-1/+8
2018-01-12signal/arm64: Document conflicts with SI_USER and SIGFPE,SIGTRAP,SIGBUSEric W. Biederman1-0/+4
2018-01-03signal: Simplify and fix kdb_send_sigEric W. Biederman1-7/+7
2017-12-04livepatch: send a fake signal to all blocking tasksMiroslav Benes1-1/+3
2017-11-17Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-8/+10
2017-11-17kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in compl...Oleg Nesterov1-2/+2
2017-11-17kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() ...Oleg Nesterov1-1/+1
2017-11-17kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILLOleg Nesterov1-5/+7
2017-11-17Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-54/+23
2017-11-15kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACKLevin, Alexander (Sasha Levin)1-2/+1
2017-11-01signal: Fix name of SIGEMT in #if defined() checkAndrew Clayton1-1/+1
2017-09-19get_compat_sigset()Al Viro1-23/+4
2017-09-19signal: lift sigset size check out of do_sigpending()Dmitry V. Levin1-7/+14
2017-09-19signal: simplify compat_sigpending()Dmitry V. Levin1-4/+0
2017-09-19signal: replace sigset_to_compat() with put_compat_sigset()Dmitry V. Levin1-21/+6
2017-09-11Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-17/+55
2017-08-18signal: don't remove SIGNAL_UNKILLABLE for traced tasks.Jamie Iles1-1/+5
2017-08-06Fix compat_sys_sigpending breakageDmitry V. Levin1-4/+7
2017-07-24signal: Remove kernel interal si_code magicEric W. Biederman1-17/+55
2017-07-10kernel/signal.c: avoid undefined behaviour in kill_something_infozhongjiang1-0/+4
2017-07-06Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-62/+93
2017-07-03Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+2
2017-07-03Merge tag 'm68k-for-v4.13-tag1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+0
2017-06-19m68k: Remove ptrace_signal_deliverAndreas Schwab1-1/+0
2017-06-17signal: Only reschedule timers on signals timers have sentEric W. Biederman1-6/+14
2017-06-09rt_sigtimedwait(): move compat to nativeAl Viro1-1/+35
2017-06-09sigpending(): move compat to nativeAl Viro1-0/+12
2017-06-04posix-timers: Rename do_schedule_next_timerThomas Gleixner1-1/+1
2017-06-04posix-timers: Move the do_schedule_next_timer declarationChristoph Hellwig1-0/+1
2017-05-27do_sigaltstack(): lift copying to/from userland into callersAl Viro1-61/+46
2017-05-10Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2017-04-21signal: Make kill_proc_info staticEric W. Biederman1-1/+1
2017-04-18mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCUPaul E. McKenney1-1/+1
2017-03-02sched/headers: Prepare to move cputime functionality from <linux/sched.h> int...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linu...Ingo Molnar1-1/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers, cgroups: Remove the threadgroup_change_*() wrapperyIngo Molnar1-3/+3
2017-02-27sigaltstack: support SS_AUTODISARM for CONFIG_COMPATStas Sergeev1-2/+9
2017-02-01signal: Convert obsolete cputime type to nsecsFrederic Weisbecker1-8/+8
2017-02-01sched/cputime: Convert task/group cputime to nsecsFrederic Weisbecker1-2/+2
2017-02-01sched/cputime: Introduce special task_cputime_t() API to return old-typed cpu...Frederic Weisbecker1-2/+2
2017-01-10signal: protect SIGNAL_UNKILLABLE from unintentional clearing.Jamie Iles1-2/+2
2016-12-25ktime: Get rid of the unionThomas Gleixner1-3/+3
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-14signals: avoid unnecessary taking of sighand->siglockWaiman Long1-0/+7
2016-11-16posix-timers: Make them configurableNicolas Pitre1-0/+6
2016-09-14x86/signal: Add SA_{X32,IA32}_ABI sa_flagsDmitry Safonov1-0/+7
2016-07-07signals: Use hrtimer for sigtimedwait()Thomas Gleixner1-14/+10
2016-05-23kernel/signal.c: convert printk(KERN_<LEVEL> ...) to pr_<level>(...)Wang Xiaoqiang1-5/+5
2016-05-04signals/sigaltstack: Report current flag bits in sigaltstack()Andy Lutomirski1-1/+2
2016-05-03signals/sigaltstack: Implement SS_AUTODISARM flagStas Sergeev1-2/+8
2016-05-03signals/sigaltstack: Prepare to add new SS_xxx flagsStas Sergeev1-10/+6
2016-03-22kernel/signal.c: add compile-time check for __ARCH_SI_PREAMBLE_SIZEHelge Deller1-0/+4
2016-02-18signals, pkeys: Notify userspace about protection key faultsDave Hansen1-0/+4
2016-02-05signals: avoid random wakeups in sigsuspend()Sasha Levin1-2/+4
2015-11-20kernel/signal.c: unexport sigsuspend()Richard Weinberger1-1/+1
2015-11-06coredump: ensure all coredumping tasks have SIGNAL_GROUP_COREDUMPOleg Nesterov1-1/+1
2015-11-06signals: kill block_all_signals() and unblock_all_signals()Oleg Nesterov1-50/+1
2015-08-07signal: fix information leak in copy_siginfo_to_userAmanieu d'Antras1-3/+6
2015-08-07signal: fix information leak in copy_siginfo_from_user32Amanieu d'Antras1-2/+2
2015-06-27Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-9/+4
2015-06-04signals: don't abuse __flush_signals() in selinux_bprm_committed_creds()Oleg Nesterov1-9/+4
2015-05-08signals, sched: Change all uses of JOBCTL_* from 'int' to 'long'Palmer Dabbelt1-3/+3
2015-04-17signal: remove warning about using SI_TKILL in rt_[tg]sigqueueinfoVladimir Davydov1-9/+5
2015-02-17signal: use current->state helpersDavidlohr Bueso1-2/+2
2015-02-12all arches, signal: move restart_block to struct task_structAndy Lutomirski1-1/+1
2014-12-10Merge branch 'x86-mpx-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+4
2014-11-18mpx: Extend siginfo structure to include bound violation informationQiaowei Ren1-0/+4
2014-10-29signal: Document the RCU protection of ->sighandOleg Nesterov1-1/+11
2014-10-29signal: Exit RCU read-side critical section on each pass through loopPaul E. McKenney1-16/+14
2014-08-09Merge branch 'signal-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-25/+21
2014-08-06Rip out get_signal_to_deliver()Richard Weinberger1-11/+12
2014-08-06Clean up signal_delivered()Richard Weinberger1-13/+8
2014-08-06tracehook_signal_handler: Remove sig, info, ka and regsRichard Weinberger1-1/+1
2014-07-09signal: Explain local_irq_save() callPaul E. McKenney1-0/+4
2014-06-06signals: introduce kernel_sigaction()Oleg Nesterov1-24/+12
2014-06-06signals: disallow_signal() should flush the potentially pending signalOleg Nesterov1-0/+7
2014-06-06signals: kill the obsolete sigdelset() and recalc_sigpending() in allow_signal()Oleg Nesterov1-4/+1
2014-06-06signals: mv {dis,}allow_signal() from sched.h/exit.c to signal.[ch]Oleg Nesterov1-0/+29
2014-06-06signals: cleanup the usage of t/current in do_sigaction()Oleg Nesterov1-8/+7
2014-06-06signals: rename rm_from_queue_full() to flush_sigqueue_mask()Oleg Nesterov1-11/+8
2014-06-06signals: kill rm_from_queue(), change prepare_signal() to use for_each_thread()Oleg Nesterov1-33/+10
2014-06-06signals: s/siginitset/sigemptyset/ in do_sigtimedwait()Oleg Nesterov1-1/+1
2014-06-06ptrace: task_clear_jobctl_trapping()->wake_up_bit() needs mb()Oleg Nesterov1-0/+1
2014-06-04sys_sgetmask/sys_ssetmask: add CONFIG_SGETMASK_SYSCALLFabian Frederick1-2/+2
2014-04-07kernel: use macros from compiler.h instead of __attribute__((...))Gideon Israel Dsouza1-1/+3
2014-02-20Merge branch 'master' into for-nextJiri Kosina1-4/+3
2014-02-19treewide: Fix typo in Documentation/DocBookMasanari Iida1-1/+1
2014-01-23kernel/signal.c: change do_signal_stop/do_sigaction to use while_each_thread()Oleg Nesterov1-4/+3
2013-11-09constify copy_siginfo_to_user{,32}()Al Viro1-1/+1
2013-09-11kernel-wide: fix missing validations on __get/__put/__copy_to/__copy_from_user()Mathieu Desnoyers1-2/+2
2013-05-12sigtimedwait: use freezable blocking callColin Cross1-1/+1
2013-05-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-0/+2
2013-04-30coredump: only SIGKILL should interrupt the coredumping taskOleg Nesterov1-2/+4
2013-04-30arc, print-fatal-signals: reduce duplicated informationVineet Gupta1-2/+1
2013-04-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2013-04-17kernel/signal.c: stop info leak via the tkill and the tgkill syscallsEmese Revfy1-1/+1
2013-03-20connector: Added coredumping event to the process connectorJesper Derehag1-0/+2
2013-03-13kernel/signal.c: use __ARCH_HAS_SA_RESTORER instead of SA_RESTORERAndrew Morton1-1/+1
2013-03-13signal: always clear sa_restorer on execveKees Cook1-0/+3
2013-03-12signals: fix new kernel-doc warningsRandy Dunlap1-1/+1
2013-03-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2013-03-02fix compat_sys_rt_sigprocmask()Al Viro1-1/+1
2013-02-27kernel/signal.c: fix suboptimal printk usageValdis Kletnieks1-4/+4
2013-02-27signal: allow to send any siginfo to itselfAndrey Vagin1-2/+4
2013-02-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-39/+293
2013-02-14burying unused conditionalsAl Viro1-12/+0
2013-02-14make do_sigaltstack() staticAl Viro1-1/+1
2013-02-05Merge tag 'full-dynticks-cputime-for-mingo' of git://git.kernel.org/pub/scm/l...Ingo Molnar1-4/+8
2013-02-03switch mips to generic rt_sigsuspend(), make it unconditionalAl Viro1-2/+0
2013-02-03new helper: signal_setup_done()Al Viro1-0/+9
2013-02-03generic sys_sigaction() and compat_sys_sigaction()Al Viro1-0/+78
2013-02-03generic sys_compat_rt_sigaction()Al Viro1-0/+49
2013-02-03switch rt_tgsigqueueinfo to COMPAT_SYSCALL_DEFINEAl Viro1-1/+16
2013-02-03old sigsuspend variants in kernel/signal.cAl Viro1-0/+17
2013-02-03generic compat_sys_rt_sigqueueinfo()Al Viro1-13/+32
2013-02-03generic compat_sys_rt_sigpending()Al Viro1-17/+35
2013-02-03generic compat_sys_rt_sigprocmask()Al Viro1-0/+41
2013-02-03consolidate rt_sigsuspend()Al Viro1-1/+23
2013-02-03sanitize rt_sigaction() situation a bitAl Viro1-2/+2
2013-01-27cputime: Use accessors to read task cputime statsFrederic Weisbecker1-4/+8