aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
AgeCommit message (Expand)AuthorFilesLines
2019-09-28Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-3/+5
2019-09-25fork: improve error message for corrupted page tablesSai Praneeth Prakhya1-2/+14
2019-09-25tasks, sched/core: Ensure tasks are available for a grace period after leavin...Eric W. Biederman1-4/+7
2019-09-25tasks: Add a count of task RCU usersEric W. Biederman1-4/+3
2019-09-21Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rd...Linus Torvalds1-1/+0
2019-09-17Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-31/+3
2019-09-16Merge tag 'please-pull-ia64_for_5.4' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+2
2019-09-16Merge tag 'core-process-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+8
2019-09-12fork: block invalid exit signals with clone3()Eugene Syromiatnikov1-0/+10
2019-08-28posix-cpu-timers: Move state tracking to struct posix_cputimersThomas Gleixner1-6/+0
2019-08-28posix-cpu-timers: Move expiry cache into struct posix_cputimersThomas Gleixner1-22/+3
2019-08-28posix-cpu-timers: Create a container structThomas Gleixner1-7/+4
2019-08-21Merge branch 'odp_fixes' into hmm.gitJason Gunthorpe1-1/+1
2019-08-20hmm: use mmu_notifier_get/put for 'struct hmm'Jason Gunthorpe1-1/+0
2019-08-12kernel: only define task_struct_whitelist conditionallyChristoph Hellwig1-0/+2
2019-08-01pidfd: add P_PIDFD to waitid()Christian Brauner1-0/+8
2019-07-25sched/fair: Don't free p->numa_faults with concurrent readersJann Horn1-1/+1
2019-07-16Merge tag 'for-linus-20190715' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+15
2019-07-14Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rd...Linus Torvalds1-1/+0
2019-07-14clone: fix CLONE_PIDFD supportDmitry V. Levin1-2/+15
2019-07-11Merge tag 'clone3-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/brau...Linus Torvalds1-36/+155
2019-07-10Merge tag 'pidfd-updates-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+26
2019-07-08Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+2
2019-07-08Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-3/+0
2019-07-08Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2019-07-02Merge tag 'v5.2-rc7' into rdma.git hmmJason Gunthorpe1-41/+23
2019-07-01fork: return proper negative error codeChristian Brauner1-0/+1
2019-06-29fork,memcg: alloc_thread_stack_node needs to set tsk->stackAndrea Arcangeli1-1/+5
2019-06-28pidfd: add polling supportJoel Fernandes (Google)1-0/+26
2019-06-27copy_process(): don't use ksys_close() on cleanupsAl Viro1-28/+18
2019-06-24fork: don't check parent_tidptr with CLONE_PIDFDDmitry V. Levin1-12/+0
2019-06-22timekeeping: Use proper clock specifier names in functionsJason A. Donenfeld1-1/+1
2019-06-21arch: handle arches who do not yet define clone3Christian Brauner1-0/+2
2019-06-10mm/hmm: Hold a mmgrab from hmm to mmJason Gunthorpe1-1/+0
2019-06-09fork: add clone3Christian Brauner1-48/+153
2019-06-03locking/lockdep: Use lockdep_init_task for task initiation consistentlyYuyang Du1-3/+0
2019-06-03sched/core: Provide a pointer to the valid CPU maskSebastian Andrzej Siewior1-0/+2
2019-06-01kernel/fork.c: make max_threads symbol staticKefeng Wang1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-14kernel/latencytop.c: rename clear_all_latency_tracing to clear_tsk_latency_tr...Lin Feng1-1/+1
2019-05-14userfaultfd: use RCU to free the task struct when fork failsAndrea Arcangeli1-2/+29
2019-05-10fork: do not release lock that wasn't takenChristian Brauner1-2/+3
2019-05-09Merge branch 'for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-0/+2
2019-05-07Merge tag 'pidfd-v5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/b...Linus Torvalds1-4/+103
2019-05-07clone: add CLONE_PIDFDChristian Brauner1-4/+103
2019-04-30fork: Provide a function for copying init_mmNadav Amit1-6/+18
2019-04-30uprobes: Initialize uprobes earlierNadav Amit1-0/+1
2019-04-19cgroup: cgroup v2 freezerRoman Gushchin1-0/+2
2019-03-09Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds1-1/+1
2019-03-07kernel/fork.c: remove duplicated includeYueHaibing1-1/+0
2019-02-07mm: make mm->pinned_vm an atomic64 counterDavidlohr Bueso1-1/+1
2019-02-04sched/core: Convert task_struct.stack_refcount to refcount_tElena Reshetova1-3/+3
2019-02-04sched/core: Convert task_struct.usage to refcount_tElena Reshetova1-2/+2
2019-02-04sched/core: Convert signal_struct.sigcnt to refcount_tElena Reshetova1-3/+3
2019-02-04sched/core: Convert sighand_struct.count to refcount_tElena Reshetova1-4/+4
2019-01-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+1
2019-01-08fork, memcg: fix cached_stacks caseShakeel Butt1-0/+1
2019-01-08fork: record start_time lateDavid Herrmann1-2/+11
2019-01-04fork: fix some -Wmissing-prototypes warningsYi Wang1-5/+0
2018-12-28kernel/fork.c: mark 'stack_vm_area' with __maybe_unusedYueHaibing1-1/+1
2018-12-28mm: convert totalram_pages and totalhigh_pages variables to atomicArun KS1-1/+1
2018-12-28mm: reference totalram_pages and managed_pages once per functionArun KS1-2/+3
2018-12-21fork,memcg: fix crash in free_thread_stack on memcg charge failRik van Riel1-2/+7
2018-11-01Merge tag 'stackleak-v4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+3
2018-10-26psi: pressure stall information for CPU, memory, and IOJohannes Weiner1-0/+4
2018-10-26mm: rework memcg kernel stack accountingRoman Gushchin1-6/+49
2018-09-04mm: respect arch_dup_mmap() return valueNadav Amit1-2/+1
2018-09-04x86/entry: Add STACKLEAK erasing the kernel stack at the end of syscallsAlexander Popov1-0/+3
2018-08-22Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+5
2018-08-22fork: don't copy inconsistent signal handler state to childJann Horn1-0/+2
2018-08-22kernel/hung_task.c: allow to set checking interval separately from timeoutDmitry Vyukov1-0/+1
2018-08-22mm: zero out the vma in vma_init()Andrew Morton1-1/+2
2018-08-21Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-21/+54
2018-08-17fs: fsnotify: account fsnotify metadata to kmemcgShakeel Butt1-0/+3
2018-08-14Merge tag 'for-4.19/block-20180812' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+5
2018-08-13Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-6/+9
2018-08-09signal: Don't restart fork when signals come in.Eric W. Biederman1-18/+25
2018-08-05Merge tag 'v4.18-rc6' into for-4.19/block2Jens Axboe1-5/+30
2018-08-03fork: Have new threads join on-going signal group stopsEric W. Biederman1-12/+15
2018-08-01blk-cgroup: clear the throttle queue on forkJosef Bacik1-0/+5
2018-07-26mm: introduce vma_init()Kirill A. Shutemov1-4/+2
2018-07-23fork: Unconditionally exit if a fatal signal is pendingEric W. Biederman1-0/+6
2018-07-23fork: Move and describe why the code examines PIDNS_ADDINGEric W. Biederman1-4/+7
2018-07-21mm: make vm_area_alloc() initialize core fieldsLinus Torvalds1-2/+8
2018-07-21mm: make vm_area_dup() actually copy the old vma dataLinus Torvalds1-3/+7
2018-07-21mm: use helper functions for allocating and freeing vm_area structsLinus Torvalds1-3/+18
2018-07-21pid: Implement PIDTYPE_TGIDEric W. Biederman1-1/+2
2018-07-21pids: Move the pgrp and session pid pointers from task_struct to signal_structEric W. Biederman1-5/+18
2018-07-17mm: Allocate the mm_cpumask (mm->cpu_bitmap[]) dynamically based on nr_cpu_idsRik van Riel1-6/+9
2018-06-15mm: check for SIGKILL inside dup_mmap() loopTetsuo Handa1-0/+8
2018-06-14Kbuild: rename CC_STACKPROTECTOR[_STRONG] config variablesLinus Torvalds1-1/+1
2018-06-10Merge branch 'core-rseq-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+2
2018-06-07mm: introduce arg_lock to protect arg_start|end and env_start|end in mm_structYang Shi1-0/+1
2018-06-06Merge tag 'audit-pr-20180605' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2018-06-06rseq: Introduce restartable sequences system callMathieu Desnoyers1-0/+2
2018-05-14audit: use inline function to set audit contextRichard Guy Briggs1-1/+1
2018-04-20fork: unconditionally clear stack on forkKees Cook1-2/+1
2018-04-05kernel/fork.c: detect early free of a live mmMark Rutland1-0/+2
2018-04-02kernel: add ksys_unshare() helper; remove in-kernel calls to sys_unshare()Dominik Brodowski1-1/+6
2018-04-02mm: use do_futex() instead of sys_futex() in mm_release()Dominik Brodowski1-2/+2
2018-02-21include/linux/sched/mm.h: re-inline mmdrop()Andrew Morton1-13/+2
2018-02-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-26/+29
2018-02-06kernel/fork.c: add comment about usage of CLONE_FS flags and namespacesMarcos Paulo de Souza1-0/+4
2018-02-06kernel/fork.c: check error and return earlyMarcos Paulo de Souza1-26/+25
2018-02-06Merge branch 'linus' into sched/urgent, to resolve conflictsIngo Molnar1-217/+267
2018-02-03Merge tag 'usercopy-v4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-5/+26
2018-01-31include/linux/sched/mm.h: uninline mmdrop_async(), etcAndrew Morton1-212/+236
2018-01-15fork: Provide usercopy whitelisting for task_structKees Cook1-2/+20
2018-01-15fork: Define usercopy region in thread_stack slab cachesDavid Windsor1-2/+3
2018-01-15fork: Define usercopy region in mm_struct slab cachesDavid Windsor1-1/+3
2017-12-23Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+1
2017-12-22arch, mm: Allow arch_dup_mmap() to failThomas Gleixner1-2/+1
2017-11-17pid: remove pidhashGargi Sharma1-1/+1
2017-11-15kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACKLevin, Alexander (Sasha Levin)1-6/+6
2017-11-15mm: consolidate page table accountingKirill A. Shutemov1-12/+4
2017-11-15mm: introduce wrappers to access mm->nr_ptesKirill A. Shutemov1-3/+3
2017-11-15mm: account pud page tablesKirill A. Shutemov1-0/+4
2017-10-13kmemleak: clear stale pointers from task stacksKonstantin Khlebnikov1-0/+4
2017-10-03android: binder: drop lru lock in isolate callbackSherry Yang1-0/+18
2017-09-12Merge tag 'selinux-pr-20170831' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-4/+0
2017-09-08locking/rtmutex: replace top-waiter and pi_waiters leftmost cachingDavidlohr Bueso1-2/+1
2017-09-08mm/hmm: heterogeneous memory management (HMM for short)Jérôme Glisse1-0/+3
2017-09-06mm,fork: introduce MADV_WIPEONFORKRik van Riel1-2/+8
2017-09-06mm: oom: let oom_reap_task and exit_mmap run concurrentlyAndrea Arcangeli1-17/+0
2017-09-05Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-1/+2
2017-09-04Merge branch 'linus' into locking/core, to fix up conflictsIngo Molnar1-0/+9
2017-08-31mm, uprobes: fix multiple free of ->uprobes_state.xol_areaEric Biggers1-0/+8
2017-08-25fork: fix incorrect fput of ->exe_file causing use-after-freeEric Biggers1-0/+1
2017-08-15fork: allow arch-override of VMAP stack alignmentMark Rutland1-1/+2
2017-08-11Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar1-1/+1
2017-08-10mm: migrate: prevent racy access to tlb_flush_pendingNadav Amit1-1/+1
2017-08-10locking/lockdep: Implement the 'crossrelease' featureByungchul Park1-0/+4
2017-07-25sync to Linus v4.13-rc2 for subsystem developers to work againstJames Morris1-24/+29
2017-07-18LSM: Remove security_task_create() hook.Tetsuo Handa1-4/+0
2017-07-12fork,random: use get_random_canary() to set tsk->stack_canaryRik van Riel1-1/+1
2017-07-12fault-inject: support systematic fault injectionDmitry Vyukov1-0/+4
2017-07-12kernel/fork.c: virtually mapped stacks: do not disable interruptsChristoph Lameter1-11/+5
2017-07-09Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-3/+3
2017-07-06mm: memcontrol: use generic mod_memcg_page_state for kmem pagesJohannes Weiner1-4/+4
2017-07-05sched/cputime: Move the vtime task fields to their own structFrederic Weisbecker1-3/+3
2017-07-05sched/cputime: Rename vtime fieldsFrederic Weisbecker1-2/+2
2017-05-27Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-5/+12
2017-05-22kthread: Fix use-after-free if kthread fork failsVegard Nossum1-5/+12
2017-05-13pid_ns: Fix race between setns'ed fork() and zap_pid_ns_processes()Kirill Tkhai1-2/+6
2017-05-12Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2017-05-10Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2017-05-08mm, vmalloc: use __GFP_HIGHMEM implicitlyMichal Hocko1-1/+1
2017-05-08fork: free vmapped stacks in cache when cpus are offlineHoeun Ryu1-0/+23
2017-05-05stackprotector: Increase the per-task stack canary's random range from 32 bit...Daniel Micay1-1/+1
2017-05-03Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-1/+6
2017-05-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-0/+3
2017-05-01Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+2
2017-04-18mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCUPaul E. McKenney1-2/+2
2017-04-04sched/rtmutex/deadline: Fix a PI crash for deadline tasksXunlei Pang1-0/+1
2017-03-28LSM: Revive security_task_alloc() hook and per "struct task_struct" security ...Tetsuo Handa1-1/+6
2017-03-13perf: Add PERF_RECORD_NAMESPACES to include namespaces related infoHari Bathini1-0/+2
2017-03-08livepatch: change to a per-task consistency modelJosh Poimboeuf1-0/+3
2017-03-03sched/headers, RCU: Move rcu_copy_process() from <linux/sched/task.h> to kern...Ingo Molnar1-0/+15
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 the removal of <linux/rtmutex.h> from <linux/sched.h>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-03-02sched/headers, cgroups: Remove the threadgroup_change_*() wrapperyIngo Molnar1-3/+3
2017-02-27mm: add new mmget() helperVegard Nossum1-2/+2
2017-02-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-3/+39
2017-02-22userfaultfd: non-cooperative: Add fork() eventPavel Emelyanov1-3/+7
2017-02-20Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-2/+4
2017-02-20Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2017-02-20fork: Fix task_struct alignmentPeter Zijlstra1-1/+1
2017-02-03prctl: propagate has_child_subreaper flag to every descendantPavel Tikhomirov1-3/+7
2017-02-03introduce the walk_process_tree() helperOleg Nesterov1-0/+32
2017-02-01timers/posix-timers: Convert internals to use nsecsFrederic Weisbecker1-1/+1
2017-01-27timers: Omit POSIX timer stuff from task_struct when disabledNicolas Pitre1-1/+9
2017-01-14locking/mutex: Fix mutex handoffPeter Zijlstra1-2/+4
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-14Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-3/+6
2016-12-13Merge tag 'pm-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa...Linus Torvalds1-1/+1
2016-12-12Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2016-12-12Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+2
2016-12-12kernel/fork: use vfree_atomic() to free thread stackAndrey Ryabinin1-1/+1
2016-12-08kthread: Make struct kthread kmalloc'edOleg Nesterov1-0/+2
2016-12-01Merge back earlier cpuidle material for v4.10.Rafael J. Wysocki1-1/+1
2016-11-29sched/idle: Add support for tasks that inject idlePeter Zijlstra1-1/+1
2016-11-22mm: Add a user_ns owner to mm_struct and fix ptrace permission checksEric W. Biederman1-3/+6
2016-11-16posix-timers: Make them configurableNicolas Pitre1-0/+2
2016-11-15sched/cputime, powerpc, s390: Make scaled cputime arch specificStanislaw Gruszka1-0/+2
2016-11-01fork: Add task stack refcounting sanity check and prevent premature task stac...Andy Lutomirski1-0/+4
2016-10-15Merge tag 'gcc-plugins-v4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+5
2016-10-10latent_entropy: Mark functions with __latent_entropyEmese Revfy1-2/+4
2016-10-10gcc-plugins: Add latent_entropy pluginEmese Revfy1-0/+1
2016-10-07thp: reduce usage of huge zero page's atomic counterAaron Lu1-0/+1
2016-10-07mm, oom: get rid of signal_struct::oom_victimsMichal Hocko1-0/+1
2016-10-07kernel, oom: fix potential pgd_lock deadlock from __mmdropMichal Hocko1-1/+5
2016-10-07oom: keep mm of the killed task availableMichal Hocko1-0/+2