aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-14Merge tag 'mm-nonmm-stable-2024-03-14-09-36' of git://git.kernel.org/pub/scm/...Linus Torvalds1-12/+16
2024-03-06get_signal: don't initialize ksig->info if SIGNAL_GROUP_EXIT/group_exec_taskOleg Nesterov1-3/+6
2024-03-06get_signal: hide_si_addr_tag_bits: fix the usage of uninitialized ksigOleg Nesterov1-5/+6
2024-03-06get_signal: don't abuse ksig->info.si_signo and ksig->sigOleg Nesterov1-4/+4
2024-02-21pidfd: allow to override signal scope in pidfd_send_signal()Christian Brauner1-9/+37
2024-02-10pidfd: change pidfd_send_signal() to respect PIDFD_THREADOleg Nesterov1-16/+23
2024-02-10signal: fill in si_code in prepare_kill_siginfo()Oleg Nesterov1-10/+6
2024-02-06pidfd: change do_notify_pidfd() to use __wake_up(poll_to_key(EPOLLIN))Oleg Nesterov1-3/+4
2024-02-02pidfd: implement PIDFD_THREAD flag for pidfd_open()Oleg Nesterov1-2/+4
2024-02-02pidfd: don't do_notify_pidfd() if !thread_group_empty()Oleg Nesterov1-3/+5
2023-12-10kernel/signal.c: simplify force_sig_info_to_task(), kill recalc_sigpending_an...Oleg Nesterov1-13/+4
2023-12-10introduce for_other_threads(p, t)Oleg Nesterov1-7/+4
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-10/+14
2023-11-01Merge tag 'asm-generic-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-20/+5
2023-10-18kernel/signal: remove unnecessary NULL values from ucountsLi kunyu1-1/+1
2023-10-04signal: complete_signal: use __for_each_thread()Oleg Nesterov1-3/+2
2023-10-04__kill_pgrp_info: simplify the calculation of return valueOleg Nesterov1-6/+11
2023-09-19signal: Don't disable preemption in ptrace_stop() on PREEMPT_RTSebastian Andrzej Siewior1-2/+13
2023-09-19signal: Add a proper comment about preempt_disable() in ptrace_stop()Sebastian Andrzej Siewior1-3/+15
2023-09-11kernel: Drop IA64 support from sig_fault handlersArd Biesheuvel1-20/+5
2023-08-18signal: print comm and exe name on fatal signalsVincent Whitchurch1-1/+12
2023-07-26mm: suppress mm fault logging if fatal signal already pendingLinus Torvalds1-0/+4
2023-06-28Merge tag 'v6.5-rc1-sysctl-next' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+23
2023-06-01fork, vhost: Use CLONE_THREAD to fix freezer/ps regressionMike Christie1-3/+5
2023-05-30signal: move show_unhandled_signals sysctl to its own fileLuis Chamberlain1-0/+23
2023-04-16posix-timers: Prefer delivery of signals to the current threadDmitry Vyukov1-3/+18
2022-12-27sched: Introduce per-memory-map concurrency IDMathieu Desnoyers1-0/+2
2022-12-14Merge tag 'hardening-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+1
2022-12-02signal: Initialize the info in ksignalhaifeng.xu1-0/+1
2022-10-23kill signal_pt_regs()Al Viro1-1/+1
2022-10-10Merge tag 'sched-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-7/+7
2022-09-07freezer,sched: Rewrite core freezer logicPeter Zijlstra1-7/+7
2022-07-20signal: Drop signals received after a fatal signal has been processedEric W. Biederman1-1/+2
2022-07-07signal handling: don't use BUG_ON() for debuggingLinus Torvalds1-4/+4
2022-06-03Merge tag 'ptrace_stop-cleanup-for-v5.19' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-79/+61
2022-05-11sched,signal,ptrace: Rework TASK_TRACED, TASK_STOPPED statePeter Zijlstra1-2/+8
2022-05-11ptrace: Don't change __stateEric W. Biederman1-8/+6
2022-05-11ptrace: Admit ptrace_stop can generate spuriuos SIGTRAPsEric W. Biederman1-54/+38
2022-05-11signal: Use lockdep_assert_held instead of assert_spin_lockedEric W. Biederman1-2/+2
2022-05-11signal: Replace __group_send_sig_info with send_signal_lockedEric W. Biederman1-7/+1
2022-05-11signal: Rename send_signal send_signal_lockedEric W. Biederman1-12/+12
2022-04-22signal: Deliver SIGTRAP on perf event asynchronously if blockedMarco Elver1-2/+16
2022-03-31Revert "signal, x86: Delay calling signals in atomic on RT enabled kernels"Thomas Gleixner1-40/+0
2022-03-28Merge tag 'ptrace-cleanups-for-v5.18' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-30/+32
2022-03-18ptrace: Return the signal to continue with from ptrace_stopEric W. Biederman1-13/+19
2022-03-18ptrace: Move setting/clearing ptrace_message into ptrace_stopEric W. Biederman1-9/+12
2022-03-10tracehook: Remove tracehook.hEric W. Biederman1-1/+1
2022-03-10task_work: Call tracehook_notify_signal from get_signal on all architecturesEric W. Biederman1-11/+3
2022-03-10task_work: Introduce task_work_pendingEric W. Biederman1-2/+2
2022-03-10ptrace: Remove tracehook_signal_handlerEric W. Biederman1-1/+2
2022-03-04signal, x86: Delay calling signals in atomic on RT enabled kernelsOleg Nesterov1-0/+40
2022-02-10signal: HANDLER_EXIT should clear SIGNAL_UNKILLABLEKees Cook1-2/+3
2022-01-17Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-25/+36
2022-01-08signal: clean up kernel-doc commentsRandy Dunlap1-2/+3
2022-01-08signal: Remove the helper signal_group_exitEric W. Biederman1-3/+5
2022-01-08signal: Remove SIGNAL_GROUP_COREDUMPEric W. Biederman1-1/+1
2022-01-08signal: Make coredump handling explicit in complete_signalEric W. Biederman1-1/+1
2022-01-08signal: Have prepare_signal detect coredumps using signal->core_stateEric W. Biederman1-2/+2
2021-12-14signal: Skip the altstack update when not neededChang S. Bae1-0/+9
2021-12-03Merge SA_IMMUTABLE-fixes-for-v5.16-rc2Eric W. Biederman1-7/+29
2021-11-19signal: Replace force_fatal_sig with force_exit_sig when in doubtEric W. Biederman1-0/+13
2021-11-19signal: Don't always set SA_IMMUTABLE for forced signalsEric W. Biederman1-7/+16
2021-11-17signal: Requeue ptrace signalsEric W. Biederman1-1/+2
2021-11-17signal: Requeue signals in the appropriate queueEric W. Biederman1-7/+14
2021-11-17signal: In get_signal test for signal_group_exit every time through the loopEric W. Biederman1-10/+10
2021-11-10Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-10/+24
2021-11-03Merge branch 'per_signal_struct_coredumps-for-v5.16' of git://git.kernel.org/...Linus Torvalds1-42/+7
2021-11-03signal: Add SA_IMMUTABLE to ensure forced siganls do not get changedEric W. Biederman1-1/+7
2021-11-01Merge tag 'x86-fpu-2021-11-01' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-6/+29
2021-10-29signal: Implement force_fatal_sigEric W. Biederman1-9/+17
2021-10-26signal: Add an optional check for altstack sizeThomas Gleixner1-6/+29
2021-10-21Merge branch 'ucount-fixes-for-v5.15' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-19/+6
2021-10-18ucounts: Fix signal ucount refcountingEric W. Biederman1-19/+6
2021-10-06coredump: Don't perform any cleanups before dumping coreEric W. Biederman1-26/+1
2021-10-06ptrace: Remove the unnecessary arguments from arch_ptrace_stopEric W. Biederman1-2/+2
2021-10-06signal: Remove the bogus sigkill_pending in ptrace_stopEric W. Biederman1-14/+4
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2021-09-03memcg: enable accounting for signalsVasily Averin1-1/+1
2021-09-01Merge branch 'exit-cleanups-for-v5.15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-4/+26
2021-09-01Merge branch 'siginfo-si_trapno-for-v5.15' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-18/+44
2021-08-26signal/seccomp: Refactor seccomp signal and coredump generationEric W. Biederman1-4/+26
2021-08-10posix-cpu-timers: Assert task sighand is locked while starting cputime counterFrederic Weisbecker1-0/+15
2021-07-23signal: Rename SIL_PERF_EVENT SIL_FAULT_PERF_EVENT for consistencyEric W. Biederman1-5/+5
2021-07-23signal: Remove the generic __ARCH_SI_TRAPNO supportEric W. Biederman1-14/+0
2021-07-23signal/alpha: si_trapno is only used with SIGFPE and SIGTRAP TRAP_UNKEric W. Biederman1-0/+21
2021-07-23signal/sparc: si_trapno is only used with SIGILL ILL_ILLTRPEric W. Biederman1-0/+19
2021-07-08Fix UCOUNT_RLIMIT_SIGPENDING counter leakAlexey Gladkov1-4/+16
2021-07-02Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-10/+4
2021-07-01x86: signal: don't do sas_ss_reset() until we are certain that sigframe won't...Al Viro1-10/+4
2021-06-28Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-12/+13
2021-06-28Merge tag 'sched-core-2021-06-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2021-06-27Revert "signal: Allow tasks to cache one sigqueue struct"Linus Torvalds1-57/+2
2021-06-22signal: Prevent sigqueue caching after task got releasedThomas Gleixner1-1/+16
2021-06-18sched: Introduce task_is_running()Peter Zijlstra1-1/+1
2021-05-21Merge branch 'for-v5.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-25/+34
2021-05-18signal: Deliver all of the siginfo perf data in _perfEric W. Biederman1-8/+13
2021-05-18signal: Factor force_sig_perf out of perf_sigtrapEric W. Biederman1-0/+13
2021-05-18signal: Implement SIL_FAULT_TRAPNOEric W. Biederman1-22/+12
2021-05-18siginfo: Move si_trapno inside the union inside _si_faultEric W. Biederman1-0/+1
2021-04-30Reimplement RLIMIT_SIGPENDING on top of ucountsAlexey Gladkov1-12/+13
2021-04-28Merge tag 'sched-core-2021-04-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-11/+48
2021-04-28Merge tag 'perf-core-2021-04-28' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+13
2021-04-27Merge tag 'livepatching-for-5.13' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+1
2021-04-23signal, perf: Add missing TRAP_PERF case in siginfo_layout()Marco Elver1-0/+2
2021-04-20Merge tag 'v5.12-rc8' into sched/core, to pick up fixesIngo Molnar1-3/+11
2021-04-16signal: Introduce TRAP_PERF si_code and si_perf to siginfoMarco Elver1-0/+11
2021-04-14signal: Allow tasks to cache one sigqueue structThomas Gleixner1-2/+42
2021-04-14signal: Hand SIGQUEUE_PREALLOC flag to __sigqueue_alloc()Thomas Gleixner1-10/+7
2021-03-30livepatch: Replace the fake signal sending with TIF_NOTIFY_SIGNAL infrastructureMiroslav Benes1-3/+1
2021-03-27Revert "signal: don't allow STOP on PF_IO_WORKER threads"Jens Axboe1-2/+1
2021-03-27Revert "kernel: treat PF_IO_WORKER like PF_KTHREAD for ptrace/signals"Jens Axboe1-2/+2
2021-03-27Revert "signal: don't allow sending any signals to PF_IO_WORKER threads"Jens Axboe1-3/+0
2021-03-26kernel: don't call do_exit() for PF_IO_WORKER threadsJens Axboe1-1/+9
2021-03-21signal: don't allow STOP on PF_IO_WORKER threadsEric W. Biederman1-1/+2
2021-03-21signal: don't allow sending any signals to PF_IO_WORKER threadsJens Axboe1-0/+3
2021-02-21kernel: treat PF_IO_WORKER like PF_KTHREAD for ptrace/signalsJens Axboe1-2/+2
2021-01-24Merge tag 'for-linus-2021-01-24' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+2
2021-01-11signal: Add missing __user annotation to copy_siginfo_from_user_anyJann Horn1-1/+2
2021-01-08task_work: unconditionally run task_work from get_signal()Jens Axboe1-0/+3
2020-12-16Merge tag 'tif-task_work.arch-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds1-22/+0
2020-12-14Merge tag 'core-entry-2020-12-14' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-4/+18
2020-12-12kernel: remove checking for TIF_NOTIFY_SIGNALJens Axboe1-2/+0
2020-12-12signal: kill JOBCTL_TASK_WORKJens Axboe1-20/+0
2020-11-23signal: define the SA_EXPOSE_TAGBITS bit in sa_flagsPeter Collingbourne1-0/+24
2020-11-23signal: define the SA_UNSUPPORTED bit in sa_flagsPeter Collingbourne1-0/+6
2020-11-23signal: clear non-uapi flag bits when passing/returning sa_flagsPeter Collingbourne1-0/+10
2020-11-09Merge tag 'core-entry-notify-signal' of git://git.kernel.org/pub/scm/linux/ke...Jens Axboe1-4/+18
2020-11-04Merge branch 'core/urgent' into core/entryThomas Gleixner1-1/+1
2020-11-02ptrace: fix task_join_group_stop() for the case when current is tracedOleg Nesterov1-9/+10
2020-10-29entry: Add support for TIF_NOTIFY_SIGNALJens Axboe1-0/+14
2020-10-29signal: Add task_sigpending() helperJens Axboe1-4/+4
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-13task_work: only grab task signal lock when neededJens Axboe1-1/+15
2020-07-26signal: fix typo in dequeue_synchronous_signal()Pavel Machek1-1/+1
2020-06-30task_work: teach task_work_add() to do signal_wake_up()Oleg Nesterov1-3/+7
2020-06-01Merge branch 'work.set_fs-exec' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-53/+53
2020-05-05signal: refactor copy_siginfo_to_user32Christoph Hellwig1-53/+53
2020-04-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-1/+5
2020-04-21signal: Avoid corrupting si_pid and si_uid in do_notify_parentEric W. Biederman1-1/+5
2020-04-12signal: use kill_proc_info instead of kill_pid_info in kill_something_infoZhiqiang Liu1-6/+2
2020-04-12signal: check sig before setting info in kill_pid_usb_asyncioZhiqiang Liu1-3/+3
2020-04-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-1/+1
2020-04-01signal: Extend exec_id to 64bitsEric W. Biederman1-1/+1
2020-02-26signal: avoid double atomic counter increments for user accountingLinus Torvalds1-9/+14
2020-01-26sched.h: Annotate sighand_struct with __rcuMadhuparna Bhowmik1-1/+1
2019-10-11cgroup: freezer: call cgroup_enter_frozen() with preemption disabled in ptrac...Oleg Nesterov1-1/+1
2019-09-16Merge tag 'core-process-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+5
2019-08-19signal: Allow cifs and drbd to receive their terminating signalsEric W. Biederman1-0/+5
2019-08-03kernel/signal.c: fix a kernel-doc markupMauro Carvalho Chehab1-1/+1
2019-08-01pidfd: add P_PIDFD to waitid()Christian Brauner1-2/+5
2019-07-29pidfd: Add warning if exit_state is 0 during notificationJoel Fernandes (Google)1-0/+1
2019-07-16signal: simplify set_user_sigmask/restore_user_sigmaskOleg Nesterov1-50/+19
2019-07-10Merge tag 'pidfd-updates-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+11
2019-07-08Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-75/+174
2019-07-08Merge tag 'audit-pr-20190702' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2019-06-29signal: remove the wrong signal_pending() check in restore_user_sigmask()Oleg Nesterov1-2/+3
2019-06-28pidfd: add polling supportJoel Fernandes (Google)1-0/+11
2019-06-05signal: improve commentsChristian Brauner1-6/+5
2019-06-01kernel/signal.c: trace_signal_deliver when signal_group_exitZhenliang Wei1-0/+2
2019-05-29signal: Remove the signal number and task parameters from force_sig_infoEric W. Biederman1-7/+7
2019-05-29signal: Factor force_sig_info_to_task out of force_sig_infoEric W. Biederman1-3/+9
2019-05-29signal: Generate the siginfo in force_sigEric W. Biederman1-1/+9
2019-05-29signal: Move the computation of force into send_signal and correct it.Eric W. Biederman1-13/+22
2019-05-29signal: Properly set TRACE_SIGNAL_LOSE_INFO in __send_signalEric W. Biederman1-17/+16
2019-05-29signal: Remove the task parameter from force_sig_faultEric W. Biederman1-3/+2
2019-05-29signal: Use force_sig_fault_to_task for the two calls that don't deliver to c...Eric W. Biederman1-1/+11
2019-05-27signal: Remove task parameter from force_sig_mceerrEric W. Biederman1-2/+2
2019-05-27signal: Remove task parameter from force_sigEric W. Biederman1-3/+3
2019-05-27signal: Remove task parameter from force_sigsegvEric W. Biederman1-2/+4
2019-05-22signal: Correct namespace fixups of si_pid and si_uidEric W. Biederman1-27/+40
2019-05-22signal/usb: Replace kill_pid_info_as_cred with kill_pid_usb_asyncioEric W. Biederman1-8/+61
2019-05-21audit: deliver signal_info regarless of syscallRichard Guy Briggs1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-16signal: unconditionally leave the frozen state in ptrace_stop()Roman Gushchin1-0/+1
2019-05-14kernel/signal.c: annotate implicit fall throughMathieu Malaterre1-0/+1
2019-05-09Merge branch 'for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-4/+62
2019-05-09cgroup: never call do_group_exit() with task->frozen bit setRoman Gushchin1-5/+3
2019-05-07Merge tag 'pidfd-v5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/b...Linus Torvalds1-3/+9
2019-05-07signal: support CLONE_PIDFD with pidfd_send_signalChristian Brauner1-3/+9
2019-05-06cgroup: prevent spurious transition into non-frozen stateRoman Gushchin1-1/+1
2019-04-19cgroup: cgroup v2 freezerRoman Gushchin1-5/+65
2019-04-18signal: use fdget() since we don't allow O_PATHChristian Brauner1-1/+1
2019-04-01signal: don't silently convert SI_USER signals to non-current pidfdJann Horn1-9/+4
2019-03-16Merge tag 'pidfd-v5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/b...Linus Torvalds1-6/+127
2019-03-05Merge branch 'timers-2038-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2019-03-05signal: add pidfd_send_signal() syscallChristian Brauner1-6/+127
2019-02-13signal: Restore the stop PTRACE_EVENT_EXITEric W. Biederman1-2/+5
2019-02-07signal: Better detection of synchronous signalsEric W. Biederman1-1/+51
2019-02-07signal: Always notice exiting tasksEric W. Biederman1-0/+6
2019-02-07y2038: syscalls: rename y2038 compat syscallsArnd Bergmann1-1/+1
2019-02-05signal: Always attempt to allocate siginfo for SIGSTOPEric W. Biederman1-3/+2
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds1-4/+4
2018-12-18y2038: signal: Add compat_sys_rt_sigtimedwait_time64Arnd Bergmann1-0/+32
2018-12-18y2038: signal: Add sys_rt_sigtimedwait_time32Arnd Bergmann1-0/+33
2018-12-06signal: Add restore_user_sigmask()Deepa Dinamani1-0/+33
2018-12-06signal: Add set_user_sigmask()Deepa Dinamani1-0/+45
2018-10-31kernel/signal.c: fix a comment errorWeikang Shi1-1/+1
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