aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
AgeCommit message (Expand)AuthorFilesLines
2023-02-20Merge tag 'sched-core-2023-02-20' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+7
2023-02-03blk-cgroup: store a gendisk to throttle in struct task_structChristoph Hellwig1-1/+1
2022-12-27sched: Introduce per-memory-map concurrency IDMathieu Desnoyers1-1/+7
2022-12-17Merge tag 'x86_mm_for_6.2_v2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-19/+18
2022-12-15x86/mm: Use mm_alloc() in poking_init()Peter Zijlstra1-5/+0
2022-12-15mm: Move mm_cachep initialization to mm_init()Peter Zijlstra1-14/+18
2022-12-13Merge tag 'mm-stable-2022-12-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+20
2022-12-12Merge tag 'random-6.2-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2022-12-12Merge tag 'execve-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-9/+0
2022-12-02seccomp: Move copy_seccomp() to no failure path.Kuniyuki Iwashima1-6/+11
2022-11-30percpu_counter: add percpu_counter_sum_all interfaceShakeel Butt1-0/+5
2022-11-30mm: convert mm's rss stats into percpu_counterShakeel Butt1-1/+15
2022-11-18stackprotector: move get_random_canary() into stackprotector.hJason A. Donenfeld1-1/+1
2022-10-25fs/exec: switch timens when a task gets a new mmAndrei Vagin1-9/+0
2022-10-12Merge tag 'mm-nonmm-stable-2022-10-11' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+0
2022-10-11fork: remove duplicate included header filesXu Panda1-1/+0
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-36/+43
2022-10-10Merge tag 'sched-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+2
2022-10-09Merge tag 'ucount-rlimits-cleanups-for-v5.19' of git://git.kernel.org/pub/scm...Linus Torvalds1-6/+6
2022-10-09Merge tag 'signal-for-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+2
2022-10-03kmsan: handle task creation and exitingAlexander Potapenko1-0/+2
2022-10-03hugetlb: add vma based lock for pmd sharingMike Kravetz1-4/+2
2022-09-26mm: remove the vma linked listLiam R. Howlett1-18/+1
2022-09-26fork: use VMA iteratorMatthew Wilcox (Oracle)1-2/+5
2022-09-26mm: remove vmacacheLiam R. Howlett1-5/+0
2022-09-26mm: remove rb tree.Liam R. Howlett1-8/+0
2022-09-26kernel/fork: use maple tree for dup_mmap() during forkingLiam R. Howlett1-2/+13
2022-09-26mm: start tracking VMAs with maple treeLiam R. Howlett1-3/+17
2022-09-26mm: multi-gen LRU: support page table walksYu Zhao1-0/+9
2022-09-20Merge tag 'execve-v6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-4/+1
2022-09-13Revert "fs/exec: allow to unshare a time namespace on vfork+exec"Andrei Vagin1-4/+1
2022-09-07freezer,sched: Rewrite core freezer logicPeter Zijlstra1-3/+2
2022-09-05IB/core: Fix a nested dead lock as part of ODP flowYishai Hadas1-0/+1
2022-08-05Merge tag 'trace-v6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-0/+14
2022-08-02Merge tag 'rcu.2022.07.26a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+1
2022-07-30rv/include: Add deterministic automata monitor definition via C macrosDaniel Bristot de Oliveira1-0/+14
2022-07-20signal: Guarantee that SIGNAL_GROUP_EXIT is set on process exitEric W. Biederman1-0/+2
2022-06-20rcu-tasks: Add data structures for lightweight grace periodsPaul E. McKenney1-0/+1
2022-06-15fs/exec: allow to unshare a time namespace on vfork+execAndrei Vagin1-1/+4
2022-06-03Merge tag 'kthread-cleanups-for-v5.19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-8/+38
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-3/+1
2022-05-23Merge tag 'x86_splitlock_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-0/+5
2022-05-19mm: khugepaged: make khugepaged_enter() void functionYang Shi1-3/+1
2022-05-18ucounts: Split rlimit and ucount values and max valuesAlexey Gladkov1-6/+6
2022-05-07fork: Explicitly set PF_KTHREADEric W. Biederman1-0/+3
2022-05-07fork: Generalize PF_IO_WORKER handlingEric W. Biederman1-8/+8
2022-05-07fork: Explicity test for idle tasks in copy_threadEric W. Biederman1-0/+9
2022-05-07fork: Pass struct kernel_clone_args into copy_threadEric W. Biederman1-2/+2
2022-05-06kthread: Don't allocate kthread_struct for init and umhEric W. Biederman1-2/+20
2022-05-01mm: Fix PASID use-after-free issueFenghua Yu1-1/+1
2022-04-27x86/split_lock: Make life miserable for split lockersTony Luck1-0/+5
2022-03-24kasan, arm64: reset pointer tags of vmapped stacksAndrey Konovalov1-5/+6
2022-03-24kasan, fork: reset pointer tags of vmapped stacksAndrey Konovalov1-0/+2
2022-03-24Merge tag 'net-next-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+3
2022-03-22Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-0/+3
2022-03-21Merge tag 'core-core-2022-03-21' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-97/+166
2022-03-21Merge tag 'x86-pasid-2022-03-21' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-8/+7
2022-03-17rethook: Add a generic return hookMasami Hiramatsu1-0/+3
2022-03-05mm: refactor vm_area_struct::anon_vma_name usage codeSuren Baghdasaryan1-2/+2
2022-02-22fork: Use IS_ENABLED() in account_kernel_stack()Sebastian Andrzej Siewior1-4/+4
2022-02-22fork: Only cache the VMAP stack in finish_task_switch()Sebastian Andrzej Siewior1-13/+63
2022-02-22fork: Move task stack accounting to do_exit()Sebastian Andrzej Siewior1-12/+23
2022-02-22fork: Move memcg_charge_kernel_stack() into CONFIG_VMAP_STACKSebastian Andrzej Siewior1-33/+36
2022-02-22fork: Don't assign the stack pointer in dup_task_struct()Sebastian Andrzej Siewior1-31/+16
2022-02-22fork, IA64: Provide alloc_thread_stack_node() for IA64Sebastian Andrzej Siewior1-0/+17
2022-02-22fork: Duplicate task_struct before stack allocationSebastian Andrzej Siewior1-5/+4
2022-02-22fork: Redo ifdefs around task stack handlingSebastian Andrzej Siewior1-35/+39
2022-02-20Merge tag 'sched_urgent_for_v5.17_rc5' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+12
2022-02-20Merge tag 'pidfd.v5.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-4/+3
2022-02-19sched: Fix yet more sched_fork() racesPeter Zijlstra1-1/+12
2022-02-17ucounts: Enforce RLIMIT_NPROC not RLIMIT_NPROC+1Eric W. Biederman1-5/+5
2022-02-15sched: Define and initialize a flag to identify valid PASID in the taskPeter Zijlstra1-0/+4
2022-02-15iommu/sva: Assign a PASID to mm on PASID allocation and free it on mm exitFenghua Yu1-0/+1
2022-02-14kernel/fork: Initialize mm's PASIDFenghua Yu1-8/+2
2022-02-14mm: Change CONFIG option for mm->pasid fieldFenghua Yu1-1/+1
2022-02-11copy_process(): Move fd_install() out of sighand->siglock critical sectionWaiman Long1-4/+3
2022-01-17Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-12/+8
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+3
2022-01-15mm: move anon_vma declarations to linux/mm_inline.hArnd Bergmann1-0/+1
2022-01-15mm: add a field to store names for private anonymous memoryColin Cross1-0/+2
2022-01-08exit: Remove profile_handoff_taskEric W. Biederman1-3/+1
2022-01-08kthread: Generalize pf_io_worker so it can point to struct kthreadEric W. Biederman1-7/+1
2021-12-20fork: Rename bad_fork_cleanup_threadgroup_lock to bad_fork_cleanup_delayacctEric W. Biederman1-3/+3
2021-12-20fork: Stop protecting back_fork_cleanup_cgroup_lock with CONFIG_NUMAEric W. Biederman1-1/+1
2021-12-13kthread: Ensure struct kthread is present for all kthreadsEric W. Biederman1-0/+4
2021-11-29fork: move copy_io to block/blk-ioc.cChristoph Hellwig1-26/+0
2021-11-14Merge tag 'timers-urgent-2021-11-14' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+1
2021-11-09Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-6/+3
2021-11-09kernel/fork.c: unshare(): use swap() to make code cleanerRan Xiaokai1-6/+3
2021-11-03Merge branch 'per_signal_struct_coredumps-for-v5.16' of git://git.kernel.org/...Linus Torvalds1-3/+1
2021-11-02posix-cpu-timers: Clear task::posix_cputimers_work in copy_process()Michael Pratt1-0/+1
2021-11-01Merge tag 'sched-core-2021-11-01' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2021-10-18kernel: remove spurious blkdev.h includesChristoph Hellwig1-1/+0
2021-10-14kernel/sched: Fix sched_fork() access an invalid sched_task_groupZhang Qiao1-1/+1
2021-10-08coredump: Limit coredumps to a single thread groupEric W. Biederman1-1/+0
2021-10-06coredump: Don't perform any cleanups before dumping coreEric W. Biederman1-2/+1
2021-09-08mm/hugetlb: initialize hugetlb_usage in mm_initLiu Zixian1-0/+1
2021-09-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+0
2021-09-08kernel/fork.c: unexport get_{mm,task}_exe_fileChristoph Hellwig1-2/+0
2021-09-04Merge tag 'denywrite-for-5.15' of git://github.com/davidhildenbrand/linuxLinus Torvalds1-11/+84
2021-09-03mm: remove VM_DENYWRITEDavid Hildenbrand1-3/+0
2021-09-03kernel/fork: always deny write access to current MM exe_fileDavid Hildenbrand1-6/+44
2021-09-03kernel/fork: factor out replacing the current MM exe_fileDavid Hildenbrand1-3/+41
2021-08-31Merge tag 'net-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+1
2021-08-30Merge tag 'sched-core-2021-08-30' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+2
2021-08-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+4
2021-08-23ucounts: Fix regression preventing increasing of rlimits in init_user_nsEric W. Biederman1-4/+4
2021-08-20sched: Introduce task_struct::user_cpus_ptr to track requested affinityWill Deacon1-0/+2
2021-07-16bpf: Add ambient BPF runtime context stored in currentAndrii Nakryiko1-0/+1
2021-06-29Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+0
2021-06-29mm: gup: pack has_pinned in MMF_HAS_PINNEDAndrea Arcangeli1-1/+0
2021-06-28Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-4/+14
2021-06-28Merge tag 'sched-core-2021-06-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-4/+8
2021-06-27Revert "signal: Allow tasks to cache one sigqueue struct"Linus Torvalds1-1/+0
2021-06-18sched: Change task_struct::statePeter Zijlstra1-2/+2
2021-05-26sched: Stop PF_NO_SETAFFINITY from being inherited by various init system thr...Frederic Weisbecker1-1/+1
2021-05-12sched/core: Initialize the idle task with preemption disabledValentin Schneider1-1/+1
2021-05-12sched: Inherit task cookie on fork()Peter Zijlstra1-0/+3
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