aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
AgeCommit message (Expand)AuthorFilesLines
2021-05-12sched: Trivial core scheduling cookie managementPeter Zijlstra1-0/+1
2021-05-06kernel/fork.c: fix typosXiaofeng Cao1-4/+4
2021-05-06kernel/fork.c: simplify copy_mm()Rolf Eike Beer1-11/+4
2021-04-30ucounts: Set ucount_max to the largest positive value the type can holdAlexey Gladkov1-4/+4
2021-04-30Reimplement RLIMIT_MEMLOCK on top of ucountsAlexey Gladkov1-0/+1
2021-04-30Reimplement RLIMIT_SIGPENDING on top of ucountsAlexey Gladkov1-0/+1
2021-04-30Reimplement RLIMIT_MSGQUEUE on top of ucountsAlexey Gladkov1-0/+1
2021-04-30Reimplement RLIMIT_NPROC on top of ucountsAlexey Gladkov1-4/+5
2021-04-30Add a reference to ucounts for each credAlexey Gladkov1-0/+6
2021-04-30mm: memcontrol: fix kernel stack accountMuchun Song1-5/+8
2021-04-29Merge tag 'net-next-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+5
2021-04-28Merge tag 'for-5.13/io_uring-2021-04-27' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+2
2021-04-28Merge tag 'sched-core-2021-04-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+1
2021-04-28Merge tag 'perf-core-2021-04-28' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2021-04-25kernel: always initialize task->pf_io_worker to NULLStefan Metzmacher1-0/+1
2021-04-20Merge tag 'v5.12-rc8' into sched/core, to pick up fixesIngo Molnar1-8/+16
2021-04-16perf: Support only inheriting events if cloned with CLONE_THREADMarco Elver1-1/+1
2021-04-14signal: Allow tasks to cache one sigqueue structThomas Gleixner1-0/+1
2021-04-11kernel: allow fork with TIF_NOTIFY_SIGNAL pendingJens Axboe1-1/+1
2021-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-8/+8
2021-03-28Merge tag 'io_uring-5.12-2021-03-27' of git://git.kernel.dk/linux-blockLinus Torvalds1-8/+8
2021-03-27kernel: stop masking signals in create_io_thread()Jens Axboe1-8/+8
2021-03-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+8
2021-03-19Merge tag 'io_uring-5.12-2021-03-19' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+0
2021-03-14Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+8
2021-03-13mm/fork: clear PASID for new mmFenghua Yu1-0/+8
2021-03-12io_uring: allow IO worker threads to be frozenJens Axboe1-1/+0
2021-03-10kernel: make IO threads unfreezable by defaultJens Axboe1-0/+1
2021-03-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+5
2021-03-04kernel: provide create_io_thread() helperJens Axboe1-0/+30
2021-02-26bpf: Enable task local storage for tracing programsSong Liu1-0/+5
2021-01-11Kernel: fork.c: Fix coding style: Do not use {} around single-line statementsAlexander Guril1-4/+2
2020-12-22kasan: rename (un)poison_shadow to (un)poison_rangeAndrey Konovalov1-2/+2
2020-12-15Merge branch 'exec-update-lock-for-v5.11' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-3/+3
2020-12-15Merge branch 'exec-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-6/+6
2020-12-15Merge tag 'net-next-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-3/+4
2020-12-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+2
2020-12-15mm: memcg/slab: rename *_lruvec_slab_state to *_lruvec_kmem_stateMuchun Song1-1/+1
2020-12-15mm/gup: prevent gup_fast from racing with COW during forkJason Gunthorpe1-0/+1
2020-12-14Merge tag 'core-mm-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+1
2020-12-14Merge tag 'perf-kprobes-2020-12-14' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+4
2020-12-14Merge tag 'core-entry-2020-12-14' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-4/+5
2020-12-10exec: Transform exec_update_mutex into a rw_semaphoreEric W. Biederman1-3/+3
2020-12-10exec: Simplify unshare_filesEric W. Biederman1-6/+6
2020-12-02mm: memcontrol: Use helpers to read page's memcg dataRoman Gushchin1-3/+4
2020-12-02kernel: Implement selective syscall userspace redirectionGabriel Krisman Bertazi1-0/+1
2020-11-24sched: highmem: Store local kmaps in task structThomas Gleixner1-0/+1
2020-11-16ptrace: Migrate TIF_SYSCALL_EMU to use SYSCALL_WORK flagGabriel Krisman Bertazi1-2/+2
2020-11-16ptrace: Migrate to use SYSCALL_TRACE flagGabriel Krisman Bertazi1-1/+1
2020-11-16seccomp: Migrate to use SYSCALL_WORK flagGabriel Krisman Bertazi1-1/+1
2020-11-08fork: fix copy_process(CLONE_PARENT) race with the exiting ->real_parentEddy Wu1-5/+5
2020-11-07Merge branch 'linus' into perf/kprobesIngo Molnar1-12/+40
2020-10-16kernel/: fix repeated words in commentsRandy Dunlap1-1/+1
2020-10-16mm: use helper function put_write_access()Miaohe Lin1-1/+1
2020-10-14Merge tag 'kernel-clone-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-8/+8
2020-10-13mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessarySuren Baghdasaryan1-0/+21
2020-10-13mm: remove src/dst mm parameter in copy_page_range()Peter Xu1-1/+1
2020-10-13mm: use helper function mapping_allow_writable()Miaohe Lin1-1/+1
2020-10-12kprobes: Remove kretprobe hashPeter Zijlstra1-0/+4
2020-09-30io_uring: don't rely on weak ->files referencesJens Axboe1-0/+6
2020-09-27mm/fork: Pass new vma pointer into copy_page_range()Peter Xu1-1/+1
2020-09-27mm: Introduce mm_struct.has_pinnedPeter Xu1-0/+1
2020-09-05fork: adjust sysctl_max_threads definition to match prototypeTobias Klauser1-1/+1
2020-08-20fork: introduce kernel_clone()Christian Brauner1-8/+8
2020-08-10Merge tag 'locking-urgent-2020-08-10' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2020-08-07kasan: don't tag stacks allocated with pageallocAndrey Konovalov1-1/+2
2020-08-07mm: memcontrol: account kernel stack per nodeShakeel Butt1-37/+14
2020-08-04Merge tag 'close-range-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-5/+6
2020-08-04Merge tag 'fork-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/braune...Linus Torvalds1-51/+16
2020-08-04Merge branch 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...Linus Torvalds1-5/+1
2020-08-04Merge tag 'seccomp-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+0
2020-08-03Merge tag 'sched-core-2020-08-03' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+1
2020-08-01Merge branch 'kcsan' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck...Ingo Molnar1-1/+7
2020-07-31lockdep: Refactor IRQ trace events fields into structMarco Elver1-11/+5
2020-07-29sched: tasks: Use sequence counter with associated spinlockAhmed S. Darwish1-1/+1
2020-07-29sched/uclamp: Add a new sysctl to control RT default boost valueQais Yousef1-0/+1
2020-07-10seccomp: release filter after task is fully deadChristian Brauner1-1/+0
2020-07-10lockdep: Change hardirq{s_enabled,_context} to per-cpu variablesPeter Zijlstra1-3/+1
2020-07-07exit: Factor thread_group_exited out of pidfd_pollEric W. Biederman1-5/+1
2020-07-04arch: rename copy_thread_tls() back to copy_thread()Christian Brauner1-2/+1
2020-07-04arch: remove HAVE_COPY_THREAD_TLSChristian Brauner1-9/+0
2020-07-04fork: remove do_fork()Christian Brauner1-24/+1
2020-06-29fork: Annotate a data race in vm_area_dup()Qian Cai1-1/+7
2020-06-26fork: annotate data race in copy_process()Weilong Chen1-1/+1
2020-06-22fork: fold legacy_clone_args_valid() into _do_fork()Christian Brauner1-16/+14
2020-06-17close_range: add CLOSE_RANGE_UNSHAREChristian Brauner1-5/+6
2020-06-09mmap locking API: convert nested write lock sitesMichel Lespinasse1-1/+1
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-6/+6
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport1-1/+0
2020-06-04Merge branch 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...Linus Torvalds1-1/+1
2020-06-01Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-0/+9
2020-06-01Merge tag 'core-rcu-2020-06-01' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+5
2020-05-19proc: proc_pid_ns takes super_block as an argumentAlexey Gladkov1-1/+1
2020-05-15scs: Add support for Clang's Shadow Call Stack (SCS)Sami Tolvanen1-0/+9
2020-05-08fork: prevent accidental access to clone3 featuresChristian Brauner1-6/+7
2020-04-27rcu-tasks: Split ->trc_reader_need_endPaul E. McKenney1-0/+1
2020-04-27rcu-tasks: Add an RCU Tasks Trace to simplify protection of tracing hooksPaul E. McKenney1-0/+4
2020-04-15clone3: add build-time CLONE_ARGS_SIZE_VER* validity checksEugene Syromiatnikov1-0/+8
2020-04-15clone3: add a check for the user struct size if CLONE_INTO_CGROUP is setEugene Syromiatnikov1-1/+2
2020-04-15clone3: fix cgroup argument sanity checkEugene Syromiatnikov1-1/+1
2020-04-07mm: set vm_next and vm_prev to NULL in vm_area_dup()Li Xinhai1-1/+1
2020-04-07mm: don't prepare anon_vma if vma has VM_WIPEONFORKLi Xinhai1-3/+5
2020-04-03Merge branch 'for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-9/+10
2020-04-02Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-4/+5
2020-04-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-2/+3
2020-04-02mm: kmem: rename memcg_kmem_(un)charge() into memcg_kmem_(un)charge_page()Roman Gushchin1-4/+5
2020-03-29mm: fork: fix kernel_stack memcg stats for various stack implementationsRoman Gushchin1-2/+2
2020-03-25exec: Fix a deadlock in straceBernd Edlinger1-2/+2
2020-03-25exec: Add exec_update_mutex to replace cred_guard_mutexEric W. Biederman1-0/+1
2020-02-28fork: Use RCU_INIT_POINTER() instead of rcu_access_pointer()Madhuparna Bhowmik1-1/+1
2020-02-12clone3: allow spawning processes into cgroupsChristian Brauner1-4/+9
2020-02-12cgroup: refactor fork helpersChristian Brauner1-5/+1
2020-01-29Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rd...Linus Torvalds1-2/+2
2020-01-27Merge tag 'timers-core-2020-01-27' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-3/+13
2020-01-14mm/mmu_notifier: Rename struct mmu_notifier_mm to mmu_notifier_subscriptionsJason Gunthorpe1-2/+2
2020-01-14ns: Introduce Time NamespaceAndrei Vagin1-3/+13
2020-01-07clone3: ensure copy_thread_tls is implementedAmanieu d'Antras1-0/+10
2019-12-03Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2019-12-01fork: support VMAP_STACK with KASAN_VMALLOCDaniel Axtens1-0/+4
2019-11-30Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rd...Linus Torvalds1-1/+0
2019-11-26Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-25/+15
2019-11-25Merge tag 'threads-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/bra...Linus Torvalds1-8/+92
2019-11-25Merge branch 'timers/urgent' into timers/core, to pick up fixIngo Molnar1-1/+32
2019-11-23mm/hmm: define the pre-processor related parts of hmm.h even if disabledJason Gunthorpe1-1/+0
2019-11-20fork: fix pidfd_poll()'s return typeLuc Van Oostenryck1-3/+3
2019-11-20futex: Split futex_mm_release() for exit/execThomas Gleixner1-3/+2
2019-11-20exit/exec: Seperate mm_release()Thomas Gleixner1-1/+11
2019-11-20futex: Move futex exit handling into futex codeThomas Gleixner1-22/+3
2019-11-15fork: extend clone3() to support setting a PIDAdrian Reber1-1/+23
2019-11-13time: Rename tsk->real_start_time to ->start_boottimePeter Zijlstra1-1/+1
2019-11-05clone3: validate stack argumentsChristian Brauner1-1/+32
2019-10-21clone3: add CLONE_CLEAR_SIGHANDChristian Brauner1-5/+11
2019-10-17pidfd: check pid has attached task in fdinfoChristian Brauner1-6/+11
2019-10-15pidfd: add NSpid entries to fdinfoChristian Kellner1-1/+52
2019-10-07kernel/sysctl.c: do not override max_threads provided by userspaceMichal Hocko1-2/+2
2019-10-04Merge tag 'copy-struct-from-user-v5.4-rc2' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-27/+7
2019-10-03fork: add kernel-doc for clone3Christian Brauner1-0/+11
2019-10-01clone3: switch to copy_struct_from_user()Aleksa Sarai1-27/+7
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