aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/pid.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-13pidfs: remove config optionChristian Brauner1-6/+0
2024-03-01pidfs: convert to path_from_stashed() helperChristian Brauner1-0/+1
2024-03-01pidfd: add pidfsChristian Brauner1-0/+11
2024-02-07pidfd: getfd should always report ESRCH if a task is exitingTycho Andersen1-1/+20
2024-02-02pid: kill the obsolete PIDTYPE_PID code in transfer_pid()Oleg Nesterov1-2/+1
2024-02-02pidfd_poll: report POLLHUP when pid_task() == NULLOleg Nesterov1-0/+5
2024-02-02pidfd: implement PIDFD_THREAD flag for pidfd_open()Oleg Nesterov1-11/+3
2024-02-02pidfd: cleanup the usage of __pidfd_prepare's flagsOleg Nesterov1-1/+1
2023-12-12file: remove __receive_fd()Christian Brauner1-1/+1
2023-09-19pidfd: prevent a kernel-doc warningRandy Dunlap1-1/+1
2023-08-21memfd: replace ratcheting feature from vm.memfd_noexec with hierarchyAleksa Sarai1-0/+3
2023-07-01pid: use struct_size_t() helperChristian Brauner1-1/+1
2023-06-30pid: Replace struct pid 1-element array with flex-arrayKees Cook1-2/+5
2023-04-03pid: add pidfd_prepare()Christian Brauner1-12/+7
2022-06-29gfs2: Add glockfd debugfs fileAndreas Gruenbacher1-0/+1
2021-10-14pid: add pidfd_get_task() helperChristian Brauner1-0/+36
2021-08-10kernel/pid.c: implement additional checks upon pidfd_create() parametersMatthew Bobrowski1-4/+7
2021-08-10kernel/pid.c: remove static qualifier from pidfd_create()Matthew Bobrowski1-1/+3
2020-12-15Merge branch 'exec-update-lock-for-v5.11' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-2/+2
2020-12-14Merge tag 'fixes-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/brau...Linus Torvalds1-1/+1
2020-12-10exec: Transform exec_update_mutex into a rw_semaphoreEric W. Biederman1-2/+2
2020-10-18pid: move pidfd_get_pid() to pid.cMinchan Kim1-0/+19
2020-09-04pidfd: support PIDFD_NONBLOCK in pidfd_open()Christian Brauner1-5/+7
2020-08-19pid: Use generic ns_common::countKirill Tkhai1-1/+1
2020-08-04Merge tag 'cap-checkpoint-restore-v5.9' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-1/+1
2020-07-19pid: use checkpoint_restore_ns_capable() for set_tidAdrian Reber1-1/+1
2020-07-13pidfd: Replace open-coded receive_fd()Kees Cook1-13/+2
2020-07-13pidfd: Add missing sock updates for pidfd_getfd()Kees Cook1-2/+5
2020-04-30remove the no longer needed pid_alive() check in __task_pid_nr_ns()Oleg Nesterov1-2/+1
2020-04-28proc: Ensure we see the exit of each process tid exactly onceEric W. Biederman1-0/+19
2020-04-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-0/+1
2020-04-09proc: Use a dedicated lock in struct pidEric W. Biederman1-0/+1
2020-04-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-10/+3
2020-03-25pidfd: Use new infrastructure to fix deadlocks in execveBernd Edlinger1-2/+2
2020-03-09pid: make ENOMEM return value more obviousChristian Brauner1-0/+8
2020-03-08pid: Fix error return value in some casesCorey Minyard1-0/+2
2020-02-28proc: Remove the now unnecessary internal mount of procEric W. Biederman1-8/+0
2020-02-24proc: Use a list of inodes to flush from procEric W. Biederman1-0/+1
2020-01-13pid: Implement pidfd_getfd syscallSargun Dhillon1-0/+90
2019-11-15fork: extend clone3() to support setting a PIDAdrian Reber1-15/+57
2019-10-17pid: use pid_has_task() in pidfd_open()Christian Brauner1-7/+5
2019-10-17pid: use pid_has_task() in __change_pid()Christian Brauner1-1/+1
2019-07-16kernel/pid.c: convert struct pid count to refcount_tJoel Fernandes (Google)1-5/+4
2019-07-10Merge tag 'pidfd-updates-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+71
2019-06-28pid: add pidfd_open()Christian Brauner1-0/+69
2019-06-28pidfd: add polling supportJoel Fernandes (Google)1-0/+2
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-14kernel/pid.c: remove unneeded hash header fileTimmy Li1-1/+0
2018-12-28Fix failure path in alloc_pid()Matthew Wilcox1-2/+4
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+1
2018-09-20fork: report pid exhaustion correctlyKJ Tsanaktsidis1-1/+1
2018-07-21pid: Implement PIDTYPE_TGIDEric W. Biederman1-2/+0
2018-07-21pids: Move the pgrp and session pid pointers from task_struct to signal_structEric W. Biederman1-23/+22
2018-07-21pids: Compute task_tgid using signal->leader_pidEric W. Biederman1-7/+8
2018-04-11xarray: add the xa_lock to the radix_tree_rootMatthew Wilcox1-1/+1
2018-02-06pids: introduce find_get_task_by_vpid() helperMike Rapoport1-0/+13
2018-01-29Merge tag 'init_task-20180117' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+13
2018-01-17Expand INIT_STRUCT_PID and removeDavid Howells1-1/+13
2017-12-23pid: Handle failure to allocate the first pid in a pid namespaceEric W. Biederman1-3/+5
2017-11-17pid: remove pidhashGargi Sharma1-38/+10
2017-11-17pid: replace pid bitmap implementation with IDR APIGargi Sharma1-165/+36
2017-08-21pids: make task_tgid_nr_ns() safeOleg Nesterov1-7/+4
2017-08-02pid: kill pidhash_size in pidhash_init()Kefeng Wang1-3/+0
2017-07-06mm: update callers to use HASH_ZERO flagPavel Tatashin1-5/+2
2017-05-08pidns: disable pid allocation if pid_ns_prepare_proc() is failed in alloc_pid()Kirill Tkhai1-1/+3
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-01-14locking/atomic, kref: Add KREF_INIT()Peter Zijlstra1-3/+1
2016-05-27remove lots of IS_ERR_VALUE abusesArnd Bergmann1-1/+1
2016-01-31Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2016-01-30pid: Fix spelling in commentsZhen Lei1-1/+1
2016-01-14kmemcg: account certain kmem allocations to memcgVladimir Davydov1-1/+1
2015-11-24pidns: fix NULL dereference in __task_pid_nr_ns()Eric Dumazet1-2/+2
2015-07-22rcu: Rename rcu_lockdep_assert() to RCU_LOCKDEP_WARN()Paul E. McKenney1-3/+2
2015-04-17fork: report pid reservation failure properlyMichal Hocko1-7/+8
2014-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+4
2014-12-10exit: pidns: alloc_pid() leaks pid_namespace if child_reaper is exitingOleg Nesterov1-0/+2
2014-12-04copy address of proc_ns_ops into ns_commonAl Viro1-0/+3
2014-12-04common object embedded into various struct ....nsAl Viro1-1/+1
2013-09-30pidns: fix free_pid() to handle the first fork failureOleg Nesterov1-0/+5
2013-08-30pidns: Fix hang in zap_pid_ns_processes by sending a potentially extra wakeupEric W. Biederman1-0/+1
2013-07-03kernel/pid.c: move statementRaphael S. Carvalho1-1/+1
2013-07-03kernel/fork.c:copy_process(): don't add the uninitialized child to thread/tas...Oleg Nesterov1-8/+4
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+1
2013-05-01proc: Split the namespace stuff out into linux/proc_ns.hDavid Howells1-0/+1
2013-04-30pid_namespace.c/.h: simplify definesRaphael S.Carvalho1-3/+0
2013-04-30kernel/pid.c: improve flow of a loop inside alloc_pidmap.Raphael S. Carvalho1-2/+6
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-2/+1
2013-02-12kernel/pid.c: reenable interrupts when alloc_pid() fails because init has exitedEric W. Biederman1-1/+1
2012-12-25pidns: Stop pid allocation when init diesEric W. Biederman1-3/+12
2012-12-17Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-15/+0
2012-12-17pidns: remove unused is_container_init()Gao feng1-15/+0
2012-12-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-8/+39
2012-12-06propagate name change to comments in kernel sourceNadia Yvette Chambers1-2/+2
2012-11-20proc: Usable inode numbers for the namespace file descriptors.Eric W. Biederman1-0/+1
2012-11-19pidns: Wait in zap_pid_ns_processes until pid_ns->nr_hashed == 1Eric W. Biederman1-3/+13
2012-11-19pidns: Don't allow new processes in a dead pid namespace.Eric W. Biederman1-1/+7
2012-11-19pidns: Make the pidns proc mount/umount logic obvious.Eric W. Biederman1-4/+17
2012-11-19pidns: Use task_active_pid_ns where appropriateEric W. Biederman1-4/+4
2012-11-19pidns: Capture the user namespace and filter ns_last_pidEric W. Biederman1-0/+1
2012-08-14net ip6 flowlabel: Make owner a union of struct pid * and kuid_tEric W. Biederman1-0/+1
2012-05-24mm: add a low limit to alloc_large_system_hashTim Bird1-1/+2
2012-02-13vfs: fix panic in __d_lookup() with high dentry hashtable countsDimitri Sivanich1-2/+2
2012-01-12sysctl: add the kernel.ns_last_pid controlPavel Emelyanov1-1/+3
2011-10-31kernel: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1
2011-09-28rcu: Restore checks for blocking in RCU read-side critical sectionsPaul E. McKenney1-1/+3
2011-07-08rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_checkMichal Hocko1-1/+0
2011-04-18next_pidmap: fix overflow conditionLinus Torvalds1-1/+4
2011-03-17export pid symbols needed for kvm_vcpu_on_spinRik van Riel1-0/+2
2010-08-19Add RCU check for find_task_by_vpid().Tetsuo Handa1-0/+1
2010-08-19rculist: avoid __rcu annotationsArnd Bergmann1-1/+1
2010-08-11pids: alloc_pidmap: remove the unnecessary boundary checksOleg Nesterov1-10/+7
2010-08-11pids: fix a race in pid generation that causes pids to be reused immediatelySalman1-1/+38
2010-05-27pids: increase pid_max based on num_possible_cpusHedi Berriche1-0/+7
2010-03-13Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+3
2010-03-06kernel/pid.c: update comment on find_task_by_pid_nsTetsuo Handa1-1/+1
2010-03-04rcu: Use wrapper function instead of exporting tasklist_lockPaul E. McKenney1-1/+3
2010-02-25sched: Use lockdep-based checking on rcu_dereference()Paul E. McKenney1-1/+1
2009-12-16pid: reduce code size by using a pointer to iterate over arrayAndré Goddard Rosa1-3/+2
2009-12-16pid: tighten pidmap spinlock critical section by removing kfree()André Goddard Rosa1-3/+4
2009-09-22mm: also use alloc_large_system_hash() for the PID hash tableJan Beulich1-11/+4
2009-07-09kmemleak: Remove alloc_bootmem annotations introduced in the pastCatalin Marinas1-7/+0
2009-06-29kmemleak: Inform kmemleak about pid_hashCatalin Marinas1-0/+7
2009-06-18pids: clean up find_task_by_pid variantsChristoph Hellwig1-14/+3
2009-04-02pids: refactor vnr/nr_ns helpers to make them safeOleg Nesterov1-15/+16
2009-04-02pids: improve get_task_pid() to fix the unsafe sys_wait4()->task_pgrp()Oleg Nesterov1-0/+2
2009-01-08pid: generalize task_active_pid_nsEric W. Biederman1-0/+6
2009-01-06trivial: fix then -> than typos in comments and documentationFrederik Schwarzer1-1/+1
2008-07-25pidns: remove now unused find_pid function.Pavel Emelyanov1-7/+1
2008-07-25proc: misplaced export of find_get_pidDavid Sterba1-1/+1
2008-05-19rcu: split list.h and move rcu-protected lists into rculist.hFranck Bui-Huu1-0/+1
2008-04-30pids: introduce change_pid() helperOleg Nesterov1-5/+16
2008-04-30pids: de_thread: don't clear session/pgrp pids for the old leaderOleg Nesterov1-1/+0
2008-04-30Deprecate find_task_by_pid()Pavel Emelyanov1-6/+0
2008-04-30free_pidmap: turn it into free_pidmap(struct upid *)Oleg Nesterov1-6/+7
2008-02-08kernel: remove fastcall in kernel/*Harvey Harrison1-9/+9
2008-02-08pid: Extend/Fix pid_vnrEric W. Biederman1-0/+6
2008-02-08namespaces: cleanup the code managed with PID_NS optionPavel Emelyanov1-181/+3
2008-02-07gfs2: make gfs2_glock.gl_owner_pid be a struct pid *Pavel Emelyanov1-0/+1
2007-11-14pidns: Place under CONFIG_EXPERIMENTALEric W. Biederman1-0/+2
2007-10-19Uninline the task_xid_nr_ns() callsPavel Emelyanov1-0/+24
2007-10-19Uninline find_pid etc set of functionsPavel Emelyanov1-0/+12
2007-10-19pid namespaces: remove the struct pid unneeded fieldsPavel Emelyanov1-1/+0
2007-10-19Uninline find_task_by_xxx set of functionsPavel Emelyanov1-0/+19
2007-10-19pid namespaces: destroy pid namespace on init's deathSukadev Bhattiprolu1-0/+38
2007-10-19pid namespaces: create a slab-cache for 'struct pid_namespace'Sukadev Bhattiprolu1-3/+6
2007-10-19pid namespaces: allow cloning of new namespacePavel Emelyanov1-6/+82
2007-10-19pid namespaces: miscellaneous preparations for pid namespacesPavel Emelyanov1-7/+14
2007-10-19pid namespaces: helpers to find the task by its numerical idsPavel Emelyanov1-17/+26
2007-10-19pid namespaces: helpers to obtain pid numbersPavel Emelyanov1-0/+13
2007-10-19pid namespaces: make alloc_pid(), free_pid() and put_pid() work with struct upidPavel Emelyanov1-15/+34
2007-10-19pid namespaces: add support for pid namespaces hierarchyPavel Emelyanov1-1/+2
2007-10-19pid namespaces: define is_global_init() and is_container_init()Serge E. Hallyn1-0/+5
2007-10-19pid namespaces: define and use task_active_pid_ns() wrapperSukadev Bhattiprolu1-2/+2
2007-10-19pid namespaces: dynamic kmem cache allocator for pid namespacesPavel Emelianov1-6/+64
2007-07-16namespace: ensure clone_flags are always stored in an unsigned longEric W. Biederman1-1/+1
2007-05-11statically initialize struct pid for swapperSukadev Bhattiprolu1-0/+2
2007-05-11attach_pid() with struct pid parameterSukadev Bhattiprolu1-3/+6
2007-05-08Merge sys_clone()/sys_unshare() nsproxy and namespace handlingBadari Pulavarty1-8/+3
2007-05-07KMEM_CACHE(): simplify slab cache creationChristoph Lameter1-3/+1
2007-01-30[PATCH] namespaces: fix task exit disasterSerge E. Hallyn1-1/+1
2006-12-08[PATCH] add child reaper to pid_namespaceSukadev Bhattiprolu1-1/+2
2006-12-08[PATCH] use current->nsproxy->pid_nsCedric Le Goater1-3/+3
2006-12-08[PATCH] to nsproxyCedric Le Goater1-0/+23
2006-12-08[PATCH] rename struct pspace to struct pid_namespaceSukadev Bhattiprolu1-24/+25
2006-12-07[PATCH] slab: remove kmem_cache_tChristoph Lameter1-1/+1
2006-10-02[PATCH] introduce get_task_pid() to fix unsafe get_pid()Oleg Nesterov1-0/+9
2006-10-02[PATCH] Use struct pspace in next_pidmap and find_ge_pidEric W. Biederman1-6/+7
2006-10-02[PATCH] Define struct pspaceSukadev Bhattiprolu1-22/+31
2006-10-02[PATCH] Move pidmap to pspace.hSukadev Bhattiprolu1-6/+1
2006-10-02[PATCH] pids coding style use struct pidmap in next_pidmapEric W. Biederman1-1/+1
2006-10-02[PATCH] pids: coding style: use struct pidmapSukadev Bhattiprolu1-5/+5
2006-10-02[PATCH] pid: export the symbols needed to use struct pid *Eric W. Biederman1-0/+3
2006-10-02[PATCH] proc: readdir race fix (take 3)Eric W. Biederman1-0/+36
2006-09-27[PATCH] pid: remove temporary debug code in attach_pidEric W. Biederman1-3/+0
2006-09-27[PATCH] pid: Implement transfer_pid and use it to simplify de_threadEric W. Biederman1-0/+9
2006-07-03[PATCH] sched: cleanup, remove task_t, convert to struct task_structIngo Molnar1-3/+3
2006-03-31[PATCH] pidhash: Refactor the pid hash tableEric W. Biederman1-66/+146
2006-03-28[PATCH] pidhash: don't count idle threadsOleg Nesterov1-9/+1
2006-03-28[PATCH] pidhash: kill switch_exec_pidsEric W. Biederman1-30/+0
2006-01-08[PATCH] RCU signal handlingIngo Molnar1-11/+11
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+292