aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/base.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-25procfs: move dropping pde and pid from ->evict_inode() to ->free_inode()Al Viro1-2/+0
2023-11-12proc: Use lsmids instead of lsm names for attrsCasey Schaufler1-14/+15
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-23/+29
2023-11-01fs/proc/base.c: remove unneeded semicolonYang Li1-1/+1
2023-11-01do_io_accounting: use sig->stats_lockOleg Nesterov1-6/+14
2023-11-01do_io_accounting: use __for_each_thread()Oleg Nesterov1-4/+8
2023-10-30Merge tag 'vfs-6.7.ctime' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds1-1/+1
2023-10-19fs: create helper file_user_path() for user displayed mapped file pathAmir Goldstein1-1/+1
2023-10-18proc: use initializer for clearing some buffersAlexey Dobriyan1-10/+6
2023-10-18proc: convert to new timestamp accessorsJeff Layton1-1/+1
2023-10-04introduce __next_thread(), fix next_tid() vs exec() raceOleg Nesterov1-4/+2
2023-08-29Merge tag 'mm-nonmm-stable-2023-08-28-22-48' of git://git.kernel.org/pub/scm/...Linus Torvalds1-3/+2
2023-08-29Merge tag 'mm-stable-2023-08-28-18-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+1
2023-08-28Merge tag 'v6.6-fs.proc.uapi' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+2
2023-08-28Merge tag 'v6.6-vfs.ctime' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-3/+3
2023-08-24document while_each_thread(), change first_tid() to use for_each_thread()Oleg Nesterov1-3/+2
2023-08-18ksm: add ksm zero pages for each processxu xin1-0/+1
2023-08-09fs: pass the request_mask to generic_fillattrJeff Layton1-2/+2
2023-08-06proc: fix missing conversion to 'iterate_shared'Linus Torvalds1-1/+1
2023-07-24procfs: convert to ctime accessor functionsJeff Layton1-1/+1
2023-07-13procfs: block chmod on /proc/thread-self/commAleksa Sarai1-1/+2
2023-04-27Merge tag 'mm-nonmm-stable-2023-04-27-16-01' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+0
2023-04-21mm: add new KSM process and sysfs knobsStefan Roesch1-0/+3
2023-04-08proc: remove mark_inode_dirty() in .setattr()Chao Yu1-1/+0
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-4/+4
2023-01-19fs: port ->getattr() to pass mnt_idmapChristian Brauner1-4/+4
2023-01-19fs: port ->setattr() to pass mnt_idmapChristian Brauner1-3/+3
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+19
2022-09-26ksm: count allocated ksm rmap_items for each processxu xin1-0/+15
2022-09-26fs/proc/base: use the vma iterators in place of linked listLiam R. Howlett1-1/+4
2022-09-01do_proc_readlink(): constify pathAl Viro1-1/+1
2022-09-01->getprocattr(): attribute name is const char *, TYVM...Al Viro1-1/+1
2022-07-17proc: fix a dentry lock race between release_task and lookupZhihao Cheng1-8/+38
2022-04-28ksm: count ksm merging pages for each processxu xin1-0/+22
2022-03-28Merge tag 'ptrace-cleanups-for-v5.18' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+0
2022-03-23proc: alloc PATH_MAX bytes for /proc/${pid}/fd/ symlinksHao Lee1-4/+4
2022-03-10tracehook: Remove tracehook.hEric W. Biederman1-1/+0
2022-01-20proc: convert the return type of proc_fd_access_allowed() to be booleanQi Zheng1-2/+2
2021-11-09Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-8/+13
2021-11-09proc: allow pid_revalidate() during LOOKUP_RCUStephen Brennan1-8/+10
2021-11-09procfs: do not list TID 0 in /proc/<pid>/taskFlorian Weimer1-0/+3
2021-10-15Revert "proc/wchan: use printk format instead of lookup_symbol_name()"Kees Cook1-8/+11
2021-09-08connector: send event on write to /proc/[pid]/commOhhoon Kwon1-1/+4
2021-07-01procfs: allow reading fdinfo with PTRACE_MODE_READKalesh Singh1-2/+2
2021-07-01proc: Avoid mixing integer types in mem_rw()Marcelo Henrique Cerri1-1/+1
2021-06-15proc: only require mm_struct for writingLinus Torvalds1-1/+3
2021-06-08proc: Track /proc/$pid/attr/ opener mm_structKees Cook1-1/+8
2021-05-25proc: Check /proc/$pid/attr/ writes against file openerKees Cook1-0/+4
2021-02-26proc/wchan: use printk format instead of lookup_symbol_name()Helge Deller1-11/+8
2021-01-24fs: make helpers idmap mount awareChristian Brauner1-6/+10
2021-01-24stat: handle idmapped mountsChristian Brauner1-2/+2
2021-01-24attr: handle idmapped mountsChristian Brauner1-2/+2
2021-01-24namei: make permission helpers idmapped mount awareChristian Brauner1-2/+2
2020-12-16Merge tag 'seccomp-v5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+6
2020-12-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2020-12-15procfs: delete duplicated words + other fixesRandy Dunlap1-1/+1
2020-12-10exec: Transform exec_update_mutex into a rw_semaphoreEric W. Biederman1-5/+5
2020-11-20seccomp/cache: Report cache data through /proc/pid/seccomp_cacheYiFei Zhu1-0/+6
2020-11-02mm, oom: keep oom_adj under or at upper limit when printingCharles Haithcock1-0/+2
2020-10-17io-wq: inherit audit loginuid and sessionidJens Axboe1-0/+4
2020-10-13mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessarySuren Baghdasaryan1-2/+1
2020-08-12mm, oom: make the calculation of oom badness more accurateYafang Shao1-1/+10
2020-07-19proc: allow access in init userns for map_files with CAP_CHECKPOINT_RESTOREAdrian Reber1-4/+4
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-3/+3
2020-06-09mmap locking API: convert mmap_sem call sites missed by coccinelleMichel Lespinasse1-3/+3
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-6/+6
2020-06-07Merge tag 'apparmor-pr-2020-06-07' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+13
2020-06-04Merge branch 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...Linus Torvalds1-33/+41
2020-05-19proc: proc_pid_ns takes super_block as an argumentAlexey Gladkov1-5/+5
2020-04-25Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-1/+0
2020-04-24proc: Use PIDTYPE_TGID in next_tgidEric W. Biederman1-14/+2
2020-04-24proc: modernize proc to support multiple private instancesEric W. Biederman1-14/+34
2020-04-24proc: Put thread_pid in release_task not proc_flush_pidEric W. Biederman1-1/+0
2020-04-22proc: use named enums for better readabilityAlexey Gladkov1-1/+1
2020-04-22proc: instantiate only pids that we can ptrace on 'hidepid=4' mount optionAlexey Gladkov1-0/+15
2020-04-22proc: allow to mount many instances of proc in one pid namespaceAlexey Gladkov1-13/+18
2020-04-16proc, time/namespace: Show clock symbolic names in /proc/pid/timens_offsetsAndrei Vagin1-1/+13
2020-04-09proc: Use a dedicated lock in struct pidEric W. Biederman1-5/+5
2020-03-25proc: io_accounting: Use new infrastructure to fix deadlocks in execveBernd Edlinger1-2/+2
2020-03-25proc: Use new infrastructure to fix deadlocks in execveBernd Edlinger1-3/+3
2020-02-24proc: Use a list of inodes to flush from procEric W. Biederman1-75/+36
2020-01-29Merge branch 'work.openat2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+1
2020-01-28Merge branch 'x86-cache-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+7
2020-01-20x86/resctrl: Add task resctrl information displayChen Yu1-0/+7
2020-01-18apparmor: add proc subdir to attrsJohn Johansen1-0/+13
2020-01-14fs/proc: Introduce /proc/pid/timens_offsetsAndrei Vagin1-0/+94
2019-12-08namei: allow nd_jump_link() to produce errorsAleksa Sarai1-2/+1
2019-07-16Merge branch 'proc-cmdline' (/proc/<pid>/cmdline fixes)Linus Torvalds1-57/+75
2019-07-16/proc/<pid>/cmdline: add back the setproctitle() special caseLinus Torvalds1-4/+77
2019-07-16/proc/<pid>/cmdline: remove all the special casesLinus Torvalds1-63/+8
2019-07-12oom: decouple mems_allowed from oom_unkillable_taskShakeel Butt1-2/+1
2019-07-12mm, oom: remove redundant task_in_mem_cgroup() checkShakeel Butt1-1/+1
2019-07-12proc: use down_read_killable mmap_sem for /proc/pid/map_filesKonstantin Khlebnikov1-6/+22
2019-07-08Merge branch 'x86-core-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+6
2019-06-27proc: remove useless d_is_dir() checkChristian Brauner1-2/+1
2019-06-12proc: Add /proc/<pid>/arch_statusAubrey Li1-0/+6
2019-05-14kernel/latencytop.c: rename clear_all_latency_tracing to clear_tsk_latency_tr...Lin Feng1-1/+1
2019-05-07Merge tag 'selinux-pr-20190507' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+5
2019-04-29proc: prevent changes to overridden credentialsPaul Moore1-0/+5
2019-04-29proc: Simplify task stack retrievalThomas Gleixner1-9/+5
2019-04-14latency_top: Remove the ULONG_MAX stack trace hackeryThomas Gleixner1-2/+1
2019-04-04ptrace: Remove maxargs from task_current_syscall()Steven Rostedt (Red Hat)1-8/+9
2019-03-16Merge tag 'pidfd-v5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/b...Linus Torvalds1-0/+9
2019-03-12proc: commit to genradixKent Overstreet1-28/+15
2019-03-12proc: calculate end pointer for /proc/*/* lookup at compile timeAlexey Dobriyan1-9/+10
2019-03-07Merge tag 'audit-pr-20190305' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+3
2019-03-07Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-9/+55
2019-03-05proc: use seq_puts() everywhereAlexey Dobriyan1-1/+1
2019-03-05proc: remove unused argument in proc_pid_lookup()Zhikang Zhang1-1/+1
2019-03-05signal: add pidfd_send_signal() syscallChristian Brauner1-0/+9
2019-02-21proc, oom: do not report alien mms when setting oom_score_adjMichal Hocko1-4/+0
2019-01-25audit: move loginuid and sessionid from CONFIG_AUDITSYSCALL to CONFIG_AUDITRichard Guy Briggs1-3/+3
2019-01-08procfs: add smack subdir to attrsCasey Schaufler1-9/+55
2019-01-04fs/proc/base.c: slightly faster /proc/*/limitsAlexey Dobriyan1-2/+4
2019-01-04fs/proc/base.c: use ns_capable instead of capable for timerslack_nsBenjamin Gordon1-3/+9
2018-12-28mm: convert totalram_pages and totalhigh_pages variables to atomicArun KS1-1/+1
2018-11-01Merge tag 'stackleak-v4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+18
2018-10-05proc: restrict kernel stack dumps to rootJann Horn1-0/+14
2018-09-04fs/proc: Show STACKLEAK metrics in the /proc file systemAlexander Popov1-0/+18
2018-08-22proc: use macro in /proc/latency hookAlexey Dobriyan1-1/+1
2018-08-22proc: save 2 atomic ops on write to "/proc/*/attr/*"Alexey Dobriyan1-19/+19
2018-08-22proc: put task earlier in /proc/*/fail-nthAlexey Dobriyan1-3/+1
2018-08-22mm: /proc/pid/*maps remove is_pid and related wrappersVlastimil Babka1-3/+3
2018-06-20proc: fix missing final NUL in get_mm_cmdline() rewriteLinus Torvalds1-5/+23
2018-06-15proc: skip branch in /proc/*/* lookupAlexey Dobriyan1-6/+3
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+2
2018-06-09Merge branch 'proc-cmdline'Linus Torvalds1-112/+99
2018-06-08Merge branch 'work.lookup' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-3/+3
2018-06-08fix proc_fill_cache() in case of d_alloc_parallel() failureAl Viro1-3/+3
2018-06-07proc: use "unsigned int" for /proc/*/stackAlexey Dobriyan1-1/+2
2018-06-07proc: use "unsigned int" in proc_fill_cache()Alexey Dobriyan1-3/+3
2018-06-07proc: smaller RCU section in ->getattr()Alexey Dobriyan1-1/+1
2018-06-07proc: deduplicate /proc/*/cmdline implementationAlexey Dobriyan1-33/+20
2018-06-07proc: simpler iterations for /proc/*/cmdlineAlexey Dobriyan1-19/+14
2018-06-07proc: somewhat simpler code for /proc/*/cmdlineAlexey Dobriyan1-15/+9
2018-06-07proc: more "unsigned int" in /proc/*/cmdlineAlexey Dobriyan1-17/+12
2018-06-07mm: introduce arg_lock to protect arg_start|end and env_start|end in mm_structYang Shi1-4/+4
2018-06-05Merge branch 'for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-3/+2
2018-06-04Merge branch 'work.lookup' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-75/+61
2018-06-04Merge branch 'hch.procfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-10/+8
2018-05-26procfs: switch instantiate_t to d_splice_alias()Al Viro1-50/+43
2018-05-22procfs: get rid of ancient BS in pid_revalidate() usesAl Viro1-31/+24
2018-05-18proc: Consolidate task->comm formatting into proc_task_name()Tejun Heo1-3/+2
2018-05-17fs/proc: simplify and clarify get_mm_cmdline() functionLinus Torvalds1-121/+65
2018-05-17fs/proc: re-factor proc_pid_cmdline_read() a bitLinus Torvalds1-25/+39
2018-05-17proc: do not access cmdline nor environ from file-backed areasWilly Tarreau1-4/+4
2018-05-16proc: introduce a proc_pid_ns helperChristoph Hellwig1-10/+8
2018-04-20proc: revalidate kernel thread inodes to root:rootAlexey Dobriyan1-0/+6
2018-04-11proc: do mmput ASAP for /proc/*/map_filesAlexey Dobriyan1-1/+1
2018-04-11proc: fix /proc/*/map_files lookup some moreAlexey Dobriyan1-0/+4
2018-04-11proc: use set_puts() at /proc/*/wchanAlexey Dobriyan1-1/+1
2018-04-11proc: check permissions earlier for /proc/*/wchanAlexey Dobriyan1-5/+8
2018-03-16procfs: remove CONFIG_HARDWALL dependencyArnd Bergmann1-9/+0
2018-02-06fs/proc: use __ro_after_initAlexey Dobriyan1-2/+3
2018-02-06proc: less memory for /proc/*/map_files readdirAlexey Dobriyan1-6/+9
2018-02-06proc: fix /proc/*/map_files lookupAlexey Dobriyan1-1/+28
2018-02-06proc: don't use READ_ONCE/WRITE_ONCE for /proc/*/fail-nthAlexey Dobriyan1-3/+2
2018-02-06proc: use %u for pid printing and slightly less stackAlexey Dobriyan1-8/+8
2017-12-06proc: show si_ptr in /proc/<pid>/timers without hashingLinus Torvalds1-1/+1
2017-11-27proc: don't report kernel addresses in /proc/<pid>/stackLinus Torvalds1-2/+1
2017-11-22Merge branch 'work.whack-a-mole' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-30mode_t whack-a-mole: task_dump_owner()Al Viro1-1/+1
2017-09-13mm: treewide: remove GFP_TEMPORARY allocation flagMichal Hocko1-4/+4
2017-09-06mm: add /proc/pid/smaps_rollupDaniel Colascione1-0/+2
2017-08-10sched/debug: Use task_pid_nr_ns in /proc/$pid/schedAleksa Sarai1-1/+2
2017-07-14fault-inject: add /proc/<pid>/fail-nthAkinobu Mita1-0/+1
2017-07-14fault-inject: simplify access check for fail-nthAkinobu Mita1-15/+10
2017-07-14fault-inject: make fail-nth read/write interface symmetricAkinobu Mita1-8/+6
2017-07-14fault-inject: parse as natural 1-based value for fail-nth write interfaceAkinobu Mita1-5/+4
2017-07-14fault-inject: automatically detect the number base for fail-nth write interfaceAkinobu Mita1-1/+1
2017-07-12fault-inject: support systematic fault injectionDmitry Vyukov1-0/+52
2017-05-30"Yes, people use FOLL_FORCE ;)"Linus Torvalds1-1/+1
2017-05-09proc: try to remove use of FOLL_FORCE entirelyLinus Torvalds1-4/+1
2017-03-08livepatch: add /proc/<pid>/patch_stateJosh Poimboeuf1-0/+15
2017-03-03Merge branch 'rebased-statx' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-5/+7
2017-03-02statx: Add a system call to make enhanced file info availableDavid Howells1-5/+7
2017-03-02sched/headers: Prepare to move sched_info_on() and force_schedstat_enabled() ...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: use mmget_not_zero() helperVegard Nossum1-2/+2
2017-02-27mm: add new mmgrab() helperVegard Nossum1-2/+2
2017-02-24procfs: use an enum for possible hidepid valuesLafcadio Wluiki1-4/+4
2017-02-24proc: less code duplication in /proc/*/cmdlineAlexey Dobriyan1-88/+56
2017-02-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-44/+58
2017-02-21Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-4/+9
2017-02-20Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-2/+2
2017-01-27timers: Omit POSIX timer stuff from task_struct when disabledNicolas Pitre1-2/+2
2017-01-24proc: add a schedule point in proc_pid_readdir()Eric Dumazet1-0/+2
2017-01-24proc: Better ownership of files for non-dumpable tasks in user namespacesEric W. Biederman1-44/+58
2017-01-09proc,security: move restriction on writing /proc/pid/attr nodes to procStephen Smalley1-4/+9
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-14Merge branch 'stable-4.10' of git://git.infradead.org/users/pcmoore/auditLinus Torvalds1-1/+1
2016-12-14Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-14/+9
2016-12-12fs/proc: calculate /proc/* and /proc/*/task/* nlink at init timeAlexey Dobriyan1-6/+13
2016-12-12fs/proc/base.c: save decrement during lookup/readdir in /proc/$PIDAlexey Dobriyan1-4/+4
2016-12-12proc: make struct struct map_files_info::len unsigned intAlexey Dobriyan1-1/+1
2016-12-12proc: make struct pid_entry::len unsignedAlexey Dobriyan1-1/+1