aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-11Merge tag 'vfs-6.9.pidfd' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-24/+7
2024-02-07exit: wait_task_zombie: kill the no longer necessary spin_lock_irq(siglock)Oleg Nesterov1-7/+3
2024-02-06pidfd: exit: kill the no longer used thread_group_exited()Oleg Nesterov1-24/+0
2024-02-02pidfd: implement PIDFD_THREAD flag for pidfd_open()Oleg Nesterov1-0/+7
2024-01-10Merge tag 'header_cleanup-2024-01-10' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-1/+3
2023-12-20wait: Remove uapi header file from main header fileMatthew Wilcox (Oracle)1-1/+3
2023-12-15cred: get rid of CONFIG_DEBUG_CREDENTIALSJens Axboe1-3/+0
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+0
2023-11-02Merge tag 'mm-stable-2023-11-01-14-33' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-4/+0
2023-10-04kill task_struct->thread_groupOleg Nesterov1-1/+0
2023-10-04mm: remove remnants of SPLIT_RSS_COUNTINGMateusz Guzik1-4/+0
2023-09-21exit: add internal include file with helpersJens Axboe1-25/+7
2023-09-21exit: add kernel_waitid_prepare() helperJens Axboe1-13/+25
2023-09-21exit: move core of do_wait() into helperJens Axboe1-20/+31
2023-09-21exit: abstract out should_wake helper for child_wait_callback()Jens Axboe1-6/+14
2023-06-01fork, vhost: Use CLONE_THREAD to fix freezer/ps regressionMike Christie1-1/+4
2023-04-28Merge tag 'trace-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-0/+2
2023-03-29tracing/user_events: Track fork/exec/exit for mm lifetimeBeau Belgrave1-0/+2
2023-03-28lazy tlb: introduce lazy tlb mm refcount helper functionsNicholas Piggin1-1/+1
2023-02-21Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-1/+8
2023-01-24Compiler attributes: GCC cold function alignment workaroundsMark Rutland1-1/+8
2023-01-21exit: Detect and fix irq disabled state in oopsNicholas Piggin1-0/+7
2022-12-16exit: Use READ_ONCE() for all oops/warn limit readsKees Cook1-2/+4
2022-12-02exit: Allow oops_limit to be disabledKees Cook1-1/+1
2022-12-01exit: Expose "oops_count" to sysfsKees Cook1-2/+20
2022-12-01exit: Put an upper limit on how often we can oopsJann Horn1-0/+42
2022-10-12Merge tag 'mm-nonmm-stable-2022-10-11' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+4
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+3
2022-10-10Merge tag 'sched-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2022-10-09Merge tag 'signal-for-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+19
2022-10-03kmsan: handle task creation and exitingAlexander Potapenko1-0/+2
2022-09-26mm: multi-gen LRU: support page table walksYu Zhao1-0/+1
2022-09-11kernel: exit: cleanup release_thread()Kefeng Wang1-0/+4
2022-09-07freezer,sched: Rewrite core freezer logicPeter Zijlstra1-2/+2
2022-08-03exit: Fix typo in comment: s/sub-theads/sub-threadsIngo Molnar1-1/+1
2022-07-20signal: Guarantee that SIGNAL_GROUP_EXIT is set on process exitEric W. Biederman1-0/+18
2022-07-20signal: Ensure SIGNAL_GROUP_EXIT gets set in do_group_exitEric W. Biederman1-1/+1
2022-07-11fix race between exit_itimers() and /proc/pid/timersOleg Nesterov1-1/+1
2022-03-28Merge tag 'ptrace-cleanups-for-v5.18' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+2
2022-03-27Merge tag 'x86_core_for_5.18_rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2022-03-24Merge tag 'net-next-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+2
2022-03-23Merge tag 'asm-generic-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-14/+0
2022-03-21Merge tag 'for-5.18/block-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2022-03-17rethook: Add a generic return hookMasami Hiramatsu1-0/+2
2022-03-15exit: Mark do_group_exit() __noreturnPeter Zijlstra1-1/+1
2022-03-10tracehook: Remove tracehook.hEric W. Biederman1-1/+2
2022-02-25uaccess: remove CONFIG_SET_FSArnd Bergmann1-14/+0
2022-02-22fork: Move task stack accounting to do_exit()Sebastian Andrzej Siewior1-0/+1
2022-02-02block: remove blk_needs_flush_plugChristoph Hellwig1-1/+1
2022-01-08exit: Fix the exit_code for wait_task_zombieEric W. Biederman1-1/+2
2022-01-08exit: Coredumps reach do_group_exitEric W. Biederman1-2/+0
2022-01-08exit: Remove profile_task_exit & profile_munmapEric W. Biederman1-1/+0
2022-01-08signal: Remove the helper signal_group_exitEric W. Biederman1-2/+6
2022-01-08signal: Rename group_exit_task group_exec_taskEric W. Biederman1-2/+2
2022-01-08exit: Move force_uaccess back into do_exitEric W. Biederman1-9/+14
2022-01-08exit: Guarantee make_task_dead leaks the tsk when calling do_task_exitEric W. Biederman1-0/+2
2021-12-13exit: Rename complete_and_exit to kthread_complete_and_exitEric W. Biederman1-9/+0
2021-12-13exit: Stop exporting do_exitEric W. Biederman1-1/+0
2021-12-13exit: Stop poorly open coding do_task_dead in make_task_deadEric W. Biederman1-2/+1
2021-12-13exit: Move oops specific logic from do_exit into make_task_deadEric W. Biederman1-39/+39
2021-12-13exit: Add and use make_task_dead.Eric W. Biederman1-0/+9
2021-11-03Merge branch 'per_signal_struct_coredumps-for-v5.16' of git://git.kernel.org/...Linus Torvalds1-35/+41
2021-11-01Merge tag 'sched-core-2021-11-01' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+2
2021-10-18kernel: remove spurious blkdev.h includesChristoph Hellwig1-1/+0
2021-10-08coredump: Limit coredumps to a single thread groupEric W. Biederman1-9/+4
2021-10-06coredump: Don't perform any cleanups before dumping coreEric W. Biederman1-7/+12
2021-10-06exit: Factor coredump_exit_mm out of exit_mmEric W. Biederman1-35/+41
2021-10-05sched: Move kprobes cleanup out of finish_task_switch()Thomas Gleixner1-0/+2
2021-08-23io_uring: remove files pointer in cancellation functionsHao Xu1-1/+1
2021-06-28Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-1/+1
2021-06-27Revert "signal: Allow tasks to cache one sigqueue struct"Linus Torvalds1-1/+0
2021-05-06do_wait: make PIDTYPE_PID case O(1) instead of O(n)Jim Newsome1-10/+57
2021-04-30Reimplement RLIMIT_NPROC on top of ucountsAlexey Gladkov1-1/+1
2021-04-14signal: Allow tasks to cache one sigqueue structThomas Gleixner1-0/+1
2020-12-30kernel/io_uring: cancel io_uring before task worksPavel Begunkov1-0/+2
2020-11-27Merge branch 'linus' into sched/core, to resolve semantic conflictIngo Molnar1-1/+4
2020-10-29sched: fix exit_mm vs membarrier (v4)Mathieu Desnoyers1-1/+15
2020-10-28don't dump the threads that had been already exiting when zapped.Al Viro1-1/+4
2020-10-18pid: move pidfd_get_pid() to pid.cMinchan Kim1-19/+0
2020-09-04exit: support non-blocking pidfdsChristian Brauner1-3/+12
2020-08-12kernel: add a kernel_wait helperChristoph Hellwig1-0/+16
2020-08-12exec: use force_uaccess_begin during exec and exitChristoph Hellwig1-1/+1
2020-08-04Merge branch 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...Linus Torvalds1-1/+24
2020-08-04Merge tag 'seccomp-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+1
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-1/+1
2020-07-10seccomp: release filter after task is fully deadChristian Brauner1-0/+1
2020-07-07umd: Remove exit_umhEric W. Biederman1-3/+0
2020-07-07exit: Factor thread_group_exited out of pidfd_pollEric W. Biederman1-0/+24
2020-07-04umd: Track user space drivers with struct pidEric W. Biederman1-1/+2
2020-07-04umh: Separate the user mode driver and the user mode helper supportEric W. Biederman1-0/+1
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-1/+1
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-4/+4
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport1-1/+0
2020-06-03Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-3/+6
2020-06-03Merge tag 'sched-core-2020-06-02' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-9/+16
2020-06-01Merge branch 'uaccess.readdir' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-6/+6
2020-05-20Merge tag 'noinstr-x86-kvm-2020-05-16' of git://git.kernel.org/pub/scm/linux/...Paolo Bonzini1-0/+1
2020-05-13rcuwait: Let rcuwait_wake_up() return whether or not a task was awokenDavidlohr Bueso1-2/+5
2020-05-13rcuwait: Fix stale wake call name in commentDavidlohr Bueso1-1/+1
2020-05-01uaccess: Selectively open read or write user accessChristophe Leroy1-6/+6
2020-04-30exit: Move preemption fixup up, move blocking operations downJann Horn1-9/+16
2020-04-24proc: Put thread_pid in release_task not proc_flush_pidEric W. Biederman1-0/+1
2020-04-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-1/+3
2020-03-30Merge tag 'timers-core-2020-03-30' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-10/+1
2020-03-30Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+1
2020-03-04posix-cpu-timers: Stop disabling timers on mt-execEric W. Biederman1-10/+1
2020-02-28exit: Fix Sparse errors and warningsMadhuparna Bhowmik1-2/+2
2020-02-24proc: Use a list of inodes to flush from procEric W. Biederman1-1/+3
2020-02-11locking/percpu-rwsem: Fold __percpu_up_read()Davidlohr Bueso1-0/+1
2020-01-03Merge tag 'for-linus-2020-01-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+8
2019-12-21exit: panic before exit_mm() on global init exitchenqiwu1-4/+8
2019-11-30Merge tag 'notifications-pipe-prep-20191115' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+1
2019-11-26Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-28/+2
2019-11-20futex: Mark the begin of futex exit explicitlyThomas Gleixner1-12/+1
2019-11-20futex: Set task::futex_state to DEAD right after handling futex exitThomas Gleixner1-1/+0
2019-11-20exit/exec: Seperate mm_release()Thomas Gleixner1-1/+1
2019-11-20futex: Replace PF_EXITPIDONE with a stateThomas Gleixner1-16/+2
2019-10-23Remove the nr_exclusive argument from __wake_up_sync_key()David Howells1-1/+1
2019-10-17exit: use pid_has_task() in do_wait()Christian Brauner1-1/+1
2019-09-25tasks, sched/core: With a grace period after finish_task_switch(), remove unn...Eric W. Biederman1-67/+0
2019-09-25tasks: Add a count of task RCU usersEric W. Biederman1-1/+6
2019-09-16Merge tag 'core-process-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-4/+34
2019-09-10waitid: Add support for waiting for the current process groupEric W. Biederman1-2/+5
2019-08-01pidfd: add P_PIDFD to waitid()Christian Brauner1-3/+30
2019-07-30exit: make setting exit_state consistentChristian Brauner1-2/+3
2019-07-22pidfd: fix a poll race when setting exit_stateSuren Baghdasaryan1-0/+1
2019-05-31cgroup: Call cgroup_release() before __exit_signal()Tejun Heo1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-14mm: change mm_update_next_owner() to update mm->owner with WRITE_ONCEAndrea Arcangeli1-3/+3
2019-03-07Merge branch 'for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-0/+1
2019-02-01kernel/exit.c: release ptraced tasks before zap_pid_ns_processesAndrei Vagin1-2/+10
2019-01-31cgroup/pids: turn cgroup_subsys->free() into cgroup_subsys->release() to fix ...Oleg Nesterov1-0/+1
2019-01-21sched/wait: Fix rcuwait_wake_up() orderingPrateek Sood1-1/+1
2019-01-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-0/+1
2019-01-11umh: add exit routine for UMH processTaehee Yoo1-0/+1
2019-01-04make 'user_access_begin()' do 'access_ok()'Linus Torvalds1-4/+2
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds1-2/+2
2018-07-21signal: Pass pid type into group_send_sig_infoEric W. Biederman1-1/+2
2018-07-21pid: Implement PIDTYPE_TGIDEric W. Biederman1-0/+1
2018-07-21pids: Move task_pid_type into sched/signal.hEric W. Biederman1-8/+0
2018-04-02kernel: use kernel_wait4() instead of sys_wait4()Dominik Brodowski1-1/+1
2018-01-04kernel/exit.c: export abort() to modulesAndrew Morton1-0/+1
2017-12-14arch: define weak abort()Sudip Mukherjee1-0/+8
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-10-20waitid(): Avoid unbalanced user_access_end() on access_ok() errorKees Cook1-2/+2
2017-10-09waitid(): Add missing access_ok() checksKees Cook1-0/+6
2017-09-29fix infoleak in waitid(2)Al Viro1-13/+10
2017-09-11Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-2/+2
2017-09-04Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+1
2017-08-17Merge branches 'doc.2017.08.17a', 'fixes.2017.08.17a', 'hotplug.2017.07.25b',...Paul E. McKenney1-6/+4
2017-08-17exit: Replace spin_unlock_wait() with lock/unlock pairPaul E. McKenney1-1/+2
2017-08-17rcu: Create reasonable API for do_exit() TASKS_RCU processingPaul E. McKenney1-5/+2
2017-08-10locking/lockdep: Implement the 'crossrelease' featureByungchul Park1-0/+1
2017-07-24signal: Remove kernel interal si_code magicEric W. Biederman1-2/+2
2017-07-10kernel/exit.c: avoid undefined behaviour when calling wait4()zhongjiang1-0/+4
2017-07-08fix waitid(2) breakageAl Viro1-5/+12
2017-07-06kernel/exit.c: don't include unused userfaultfd_k.hMike Rapoport1-1/+0
2017-07-05Merge branch 'work.sys_wait' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-143/+164
2017-06-20sched/core: Drop the unused try_get_task_struct() helper functionDavidlohr Bueso1-13/+0
2017-06-20sched/wait: Rename wait_queue_t => wait_queue_entry_tIngo Molnar1-2/+2
2017-05-21osf_wait4: switch to kernel_wait4()Al Viro1-2/+2
2017-05-21waitid(): switch copyout of siginfo to unsafe_put_user()Al Viro1-15/+25
2017-05-21wait_task_zombie: consolidate info logicsAl Viro1-29/+16
2017-05-21kill wait_noreap_copyout()Al Viro1-40/+25
2017-05-21lift getrusage() from wait_noreap_copyout()Al Viro1-7/+6
2017-05-21waitid(2): leave copyout of siginfo to syscall itselfAl Viro1-104/+64
2017-05-21kernel_wait4()/kernel_waitid(): delay copying status to userlandAl Viro1-12/+8
2017-05-21wait4(2)/waitid(2): separate copying rusage to userlandAl Viro1-37/+52
2017-05-21move compat wait4 and waitid next to native variantsAl Viro1-0/+69
2017-03-09userfaultfd: non-cooperative: rollback userfaultfd_exitAndrea Arcangeli1-1/+0
2017-03-02sched/headers: Prepare to move cputime functionality from <linux/sched.h> int...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: 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-02-27mm: add new mmgrab() helperVegard Nossum1-1/+1
2017-02-24userfaultfd: non-cooperative: add event for exit() notificationMike Rapoport1-0/+2
2017-02-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-5/+8
2017-02-21Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-17/+2
2017-02-20Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-11/+41
2017-02-01sched/cputime: Convert task/group cputime to nsecsFrederic Weisbecker1-2/+2
2017-02-01exit: fix the setns() && PR_SET_CHILD_SUBREAPER interactionOleg Nesterov1-5/+8
2017-01-14sched/wait, RCU: Introduce rcuwait machineryDavidlohr Bueso1-0/+30
2017-01-14sched/core: Remove set_task_state()Davidlohr Bueso1-2/+2
2017-01-14kernel/exit: Compute 'current' directlyDavidlohr Bueso1-11/+11
2017-01-12security,selinux,smack: kill security_task_wait hookStephen Smalley1-17/+2
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-12Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-2/+13
2016-11-22sched/autogroup: Do not use autogroup->tg in zombie threadsOleg Nesterov1-0/+1
2016-11-16posix-timers: Make them configurableNicolas Pitre1-2/+9
2016-11-16posix_cpu_timers: Move the add_device_randomness() call to a proper placeNicolas Pitre1-0/+4
2016-10-07mm, oom: enforce exit_oom_victim on current taskTetsuo Handa1-1/+1
2016-09-22sched/core: Optimize __schedule()Peter Zijlstra1-24/+2
2016-09-01mm, mempolicy: task->mempolicy must be NULL before dropping final referenceDavid Rientjes1-6/+1
2016-08-02kernel/exit.c: quieten greatest stack depth printkAnton Blanchard1-1/+1
2016-07-25Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+76
2016-06-14locking/spinlock: Update spin_unlock_wait() usersPeter Zijlstra1-2/+6
2016-06-03sched/api: Introduce task_rcu_dereference() and try_get_task_struct()Oleg Nesterov1-0/+76
2016-05-23wait: allow sys_waitid() to accept __WNOTHREAD/__WCLONE/__WALLOleg Nesterov1-1/+2