aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exec.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-27Merge tag 'execve-v6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+1
2024-03-21exec: Fix NOMMU linux_binprm::exec in transfer_args_to_stack()Max Filippov1-0/+1
2024-03-12Merge tag 'execve-v6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-8/+3
2024-03-11Merge tag 'vfs-6.9.pidfd' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-1/+0
2024-03-09exec: Simplify remove_arg_zero() error pathKees Cook1-7/+3
2024-02-23exec: Delete unnecessary statements in remove_arg_zero()Li kunyu1-1/+0
2024-02-02pidfd: kill the no longer needed do_notify_pidfd() in de_thread()Oleg Nesterov1-5/+0
2024-02-02pidfd: implement PIDFD_THREAD flag for pidfd_open()Oleg Nesterov1-1/+5
2024-01-24Merge tag 'execve-v6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-9/+30
2024-01-24uselib: remove use of __FMODE_EXECLinus Torvalds1-1/+1
2024-01-24exec: Distinguish in_execve from in_execKees Cook1-0/+1
2024-01-22exec: Fix error handling in begin_new_exec()Bernd Edlinger1-0/+3
2024-01-22exec: Add do_close_execat() helperKees Cook1-6/+26
2024-01-22exec: remove useless commentAskar Safin1-3/+0
2024-01-20execve: open the executable file before doing anything elseLinus Torvalds1-34/+35
2024-01-10Merge tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+0
2024-01-10Merge tag 'header_cleanup-2024-01-10' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-0/+1
2023-12-28fs: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-1/+0
2023-12-27rseq: Split out rseq.h from sched.hKent Overstreet1-0/+1
2023-12-10introduce for_other_threads(p, t)Oleg Nesterov1-2/+1
2023-10-04mm/mremap: allow moves within the same VMA for stack movesJoel Fernandes (Google)1-1/+1
2023-10-04mm: remove remnants of SPLIT_RSS_COUNTINGMateusz Guzik1-2/+0
2023-08-29Merge tag 'mm-nonmm-stable-2023-08-28-22-48' of git://git.kernel.org/pub/scm/...Linus Torvalds1-2/+2
2023-08-21kernel/fork: stop playing lockless games for exe_file replacementMateusz Guzik1-2/+2
2023-08-18mm: set up vma iterator for vma_iter_prealloc() callsLiam R. Howlett1-0/+1
2023-06-29Merge tag 'fsnotify_for_v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-5/+0
2023-06-28Merge branch 'expand-stack'Linus Torvalds1-16/+22
2023-06-27mm: always expand the stack with the mmap write lock heldLinus Torvalds1-2/+2
2023-06-24execve: expand new process stack manually ahead of timeLinus Torvalds1-16/+21
2023-06-24mm: make find_extend_vma() fail if write lock not heldLiam R. Howlett1-2/+3
2023-06-12fsnotify: move fsnotify_open() hook into do_dentry_open()Amir Goldstein1-5/+0
2023-06-09mm/gup: remove vmas parameter from get_user_pages_remote()Lorenzo Stoakes1-1/+1
2023-04-28Merge tag 'trace-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-0/+2
2023-03-29tracing/user_events: Track fork/exec/exit for mm lifetimeBeau Belgrave1-0/+2
2023-03-28lazy tlb: introduce lazy tlb mm refcount helper functionsNicholas Piggin1-1/+1
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-10/+10
2023-02-20Merge tag 'sched-core-2023-02-20' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+4
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-2/+2
2023-02-09mm/mmap: don't use __vma_adjust() in shift_arg_pages()Liam R. Howlett1-2/+2
2023-02-09mm: don't use __vma_adjust() in __split_vma()Liam R. Howlett1-2/+2
2023-02-09mm: add vma iterator to vma_adjust() argumentsLiam R. Howlett1-7/+4
2023-02-09mm: change mprotect_fixup to vma iteratorLiam R. Howlett1-1/+4
2023-01-19fs: port i_{g,u}id_into_vfs{g,u}id() to mnt_idmapChristian Brauner1-4/+4
2023-01-19fs: port privilege checking helpers to mnt_idmapChristian Brauner1-2/+1
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-2/+3
2022-12-27sched: Introduce per-memory-map concurrency IDMathieu Desnoyers1-0/+4
2022-12-12Merge tag 'fs.vfsuid.conversion.v6.2' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-8/+8
2022-12-12Merge tag 'execve-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-10/+24
2022-11-17exec: Remove FOLL_FORCE for stack setupKees Cook1-1/+1
2022-10-29Merge tag 'mm-hotfixes-stable-2022-10-28' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-1/+1
2022-10-28mm: multi-gen LRU: move lru_gen_add_mm() out of IRQ-off regionSebastian Andrzej Siewior1-1/+1
2022-10-26fs: use type safe idmapping helpersChristian Brauner1-8/+8
2022-10-25exec: simplify initial stack size expansionRolf Eike Beer1-8/+5
2022-10-25binfmt: Fix whitespace issuesKees Cook1-1/+1
2022-10-25exec: Add comments on check_unsafe_exec() fs countingKees Cook1-0/+12
2022-10-25fs/exec: switch timens when a task gets a new mmAndrei Vagin1-0/+5
2022-10-25exec: Copy oldsighand->action under spin-lockBernd Edlinger1-2/+2
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-6/+8
2022-10-09Merge tag 'ucount-rlimits-cleanups-for-v5.19' of git://git.kernel.org/pub/scm...Linus Torvalds1-1/+1
2022-10-06Merge tag 'pull-file_inode' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+1
2022-09-27a.out: Remove the a.out implementationEric W. Biederman1-2/+1
2022-09-26exec: use VMA iterator instead of linked listMatthew Wilcox (Oracle)1-3/+6
2022-09-26mm: remove vmacacheLiam R. Howlett1-3/+0
2022-09-26mm: multi-gen LRU: support page table walksYu Zhao1-0/+2
2022-09-13Revert "fs/exec: allow to unshare a time namespace on vfork+exec"Andrei Vagin1-7/+0
2022-09-01bprm_fill_uid(): don't open-code file_inode()Al Viro1-2/+1
2022-08-19Merge tag 'execve-v6.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-7/+7
2022-08-16exec: Replace kmap{,_atomic}() with kmap_local_page()Fabio M. De Francesco1-7/+7
2022-08-09posix-cpu-timers: Cleanup CPU timers before freeing them during execThadeu Lima de Souza Cascardo1-0/+3
2022-08-02Merge tag 'execve-v5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-6/+9
2022-07-27exec: Call kmap_local_page() in copy_string_kernel()Fabio M. De Francesco1-5/+1
2022-07-11fix race between exit_itimers() and /proc/pid/timersOleg Nesterov1-1/+1
2022-07-01exec: Fix a spelling mistakeZhang Jiaming1-1/+1
2022-06-15fs/exec: allow to unshare a time namespace on vfork+execAndrei Vagin1-0/+7
2022-06-03Merge tag 'kthread-cleanups-for-v5.19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+5
2022-05-18ucounts: Split rlimit and ucount values and max valuesAlexey Gladkov1-1/+1
2022-05-13mm/mprotect: use mmu_gatherNadav Amit1-1/+5
2022-05-07fork: Stop allowing kthreads to call execveEric W. Biederman1-3/+3
2022-05-06kthread: Don't allocate kthread_struct for init and umhEric W. Biederman1-2/+4
2022-03-28Merge tag 'ptrace-cleanups-for-v5.18' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+0
2022-03-23Merge tag 'asm-generic-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-6/+0
2022-03-10tracehook: Remove tracehook.hEric W. Biederman1-1/+0
2022-03-01exec: cleanup commentsTom Rix1-3/+3
2022-03-01exec: Force single empty string when argv is emptyKees Cook1-1/+25
2022-02-25uaccess: remove CONFIG_SET_FSArnd Bergmann1-6/+0
2022-01-22fs/coredump: move coredump sysctls into its own fileXiaoming Ni1-55/+0
2022-01-22fs: move fs/exec.c sysctls into its own fileLuis Chamberlain1-0/+90
2022-01-20Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+3
2022-01-20fs/exec: replace strncpy with strscpy_pad in __get_task_commYafang Shao1-1/+2
2022-01-20fs/exec: replace strlcpy with strscpy_pad in __set_task_commYafang Shao1-1/+1
2022-01-08signal: Remove the helper signal_group_exitEric W. Biederman1-1/+1
2022-01-08signal: Rename group_exit_task group_exec_taskEric W. Biederman1-4/+4
2021-12-13kthread: Ensure struct kthread is present for all kthreadsEric W. Biederman1-0/+2
2021-11-10Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2021-10-29signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV)Eric W. Biederman1-1/+1
2021-10-06exec: Check for a pending fatal signal instead of core_stateEric W. Biederman1-8/+6
2021-09-04Merge tag 'denywrite-for-5.15' of git://github.com/davidhildenbrand/linuxLinus Torvalds1-1/+3
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-3/+5
2021-09-03mm/pagemap: add mmap_assert_locked() annotations to find_vma*()Luigi Rizzo1-0/+2
2021-09-03mm: remove flush_kernel_dcache_pageChristoph Hellwig1-3/+3
2021-09-03kernel/fork: always deny write access to current MM exe_fileDavid Hildenbrand1-1/+3
2021-08-23namei: add getname_uflags()Dmitry Kadashev1-6/+2
2021-07-02Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-3/+0
2021-07-01exec: remove checks in __register_bimfmt()Alexey Dobriyan1-3/+0
2021-04-30Reimplement RLIMIT_NPROC on top of ucountsAlexey Gladkov1-1/+1
2021-04-30Add a reference to ucounts for each credAlexey Gladkov1-0/+4
2021-02-24fs: delete repeated words in commentsRandy Dunlap1-2/+2
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-4/+8
2021-01-29tlb: mmu_gather: Remove start/end arguments from tlb_gather_mmu()Will Deacon1-1/+1
2021-01-29tlb: mmu_gather: Remove unused start/end arguments from tlb_finish_mmu()Will Deacon1-1/+1
2021-01-24exec: handle idmapped mountsChristian Brauner1-2/+5
2021-01-24would_dump: handle idmapped mountsChristian Brauner1-3/+3
2021-01-24namei: make permission helpers idmapped mount awareChristian Brauner1-1/+1
2021-01-24capability: handle idmapped mountsChristian Brauner1-1/+2
2020-12-16Merge branch 'parisc-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+2
2020-12-15Merge branch 'exec-update-lock-for-v5.11' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-6/+6
2020-12-15Merge branch 'exec-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-21/+18
2020-12-10exec: Transform exec_update_mutex into a rw_semaphoreEric W. Biederman1-6/+6
2020-12-10exec: Move io_uring_task_cancel after the point of no returnEric W. Biederman1-5/+5
2020-12-10exec: Simplify unshare_filesEric W. Biederman1-4/+1
2020-12-10exec: Move unshare_files to fix posix file locking during execEric W. Biederman1-14/+15
2020-12-10exec: Don't open code get_close_on_execEric W. Biederman1-2/+1
2020-12-02kernel: Implement selective syscall userspace redirectionGabriel Krisman Bertazi1-0/+3
2020-11-11parisc: Make user stack size configurableHelge Deller1-2/+2
2020-10-16Merge tag 'powerpc-5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-2/+15
2020-10-15Merge tag 'char-misc-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-131/+1
2020-10-05fs/kernel_read_file: Split into separate source fileKees Cook1-132/+0
2020-10-05fs/kernel_read_file: Split into separate include fileScott Branden1-0/+1
2020-10-05fs/kernel_read_file: Remove FIRMWARE_PREALLOC_BUFFER enumKees Cook1-3/+4
2020-09-30io_uring: don't rely on weak ->files referencesJens Axboe1-0/+6
2020-09-16mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching raceNicholas Piggin1-2/+15
2020-08-12mm/gup: remove task_struct pointer for all gup codePeter Xu1-1/+1
2020-08-12exec: move path_noexec() check earlierKees Cook1-8/+4
2020-08-12exec: move S_ISREG() check earlierKees Cook1-2/+12
2020-08-12exec: change uselib(2) IS_SREG() failure to EACCESKees Cook1-2/+1
2020-08-12exec: use force_uaccess_begin during exec and exitChristoph Hellwig1-1/+6
2020-07-21exec: Implement kernel_execveEric W. Biederman1-2/+86
2020-07-21exec: Factor bprm_stack_limits out of prepare_arg_pagesEric W. Biederman1-11/+12
2020-07-21exec: Factor bprm_execve out of do_execve_commonEric W. Biederman1-50/+58
2020-07-21exec: Move bprm_mm_init into alloc_bprmEric W. Biederman1-8/+8
2020-07-21exec: Move initialization of bprm->filename into alloc_bprmEric W. Biederman1-28/+33
2020-07-21exec: Factor out alloc_bprmEric W. Biederman1-10/+19
2020-07-04exec: Remove do_execve_fileEric W. Biederman1-29/+9
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-1/+1
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-8/+8
2020-06-08exec: use flush_icache_user_range in read_codeChristoph Hellwig1-1/+1
2020-06-08exec: only build read_code when neededChristoph Hellwig1-0/+3
2020-06-04Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-14/+38
2020-06-04exec: open code copy_string_kernelChristoph Hellwig1-9/+34
2020-06-04exec: simplify the copy_strings_kernel calling conventionChristoph Hellwig1-7/+6
2020-06-04Merge branch 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...Linus Torvalds1-143/+173
2020-06-04Merge branch 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...Linus Torvalds1-5/+1
2020-05-29exec: Compute file based creds only onceEric W. Biederman1-37/+26
2020-05-29exec: Add a per bprm->file version of per_clearEric W. Biederman1-2/+4
2020-05-21exec: Remove recursion from search_binary_handlerEric W. Biederman1-18/+33
2020-05-21exec: Generic execfd supportEric W. Biederman1-0/+15
2020-05-21exec: Move the call of prepare_binprm into search_binary_handlerEric W. Biederman1-7/+5
2020-05-21exec: Allow load_misc_binary to call prepare_binprm unconditionallyEric W. Biederman1-7/+12
2020-05-21exec: Convert security_bprm_set_creds into security_bprm_repopulate_credsEric W. Biederman1-4/+4
2020-05-20exec: Factor security_bprm_creds_for_exec out of security_bprm_set_credsEric W. Biederman1-1/+5
2020-05-18Merge f87d1c955916 ("exec: Move would_dump into flush_old_exec")Eric W. Biederman1-2/+2
2020-05-17exec: Move would_dump into flush_old_execEric W. Biederman1-2/+2
2020-05-11exec: Set the point of no return soonerEric W. Biederman1-7/+5
2020-05-11exec: Move handling of the point of no return to the top levelEric W. Biederman1-9/+12
2020-05-11exec: Run sync_mm_rss before taking exec_update_mutexEric W. Biederman1-1/+2
2020-05-09exec: Fix spelling of search_binary_handler in a commentEric W. Biederman1-1/+1
2020-05-09exec: Move the comment from above de_thread to above unshare_sighandEric W. Biederman1-6/+6
2020-05-07exec: Rename flush_old_exec begin_new_execEric W. Biederman1-2/+2
2020-05-07exec: Move most of setup_new_exec into flush_old_execEric W. Biederman1-41/+44
2020-05-07exec: In setup_new_exec cache current in the local variable meEric W. Biederman1-11/+12
2020-05-07exec: Merge install_exec_creds into setup_new_execEric W. Biederman1-30/+26
2020-05-07exec: Rename the flag called_exec_mmap point_of_no_returnEric W. Biederman1-6/+6
2020-05-07exec: Make unlocking exec_update_mutex explictEric W. Biederman1-3/+3
2020-04-28exec: Remove BUG_ON(has_group_leader_pid)Eric W. Biederman1-1/+0
2020-04-28proc: Ensure we see the exit of each process tid exactly onceEric W. Biederman1-4/+1
2020-04-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-25/+55
2020-04-01signal: Extend exec_id to 64bitsEric W. Biederman1-1/+1
2020-03-25exec: Add exec_update_mutex to replace cred_guard_mutexEric W. Biederman1-3/+19
2020-03-25exec: Move exec_mmap right after de_thread in flush_old_execEric W. Biederman1-12/+12
2020-03-25exec: Move cleanup of posix timers on exec out of de_threadEric W. Biederman1-5/+5
2020-03-25exec: Factor unshare_sighand out of de_thread and call it separatelyEric W. Biederman1-13/+26
2020-03-25exec: Only compute current once in flush_old_execEric W. Biederman1-4/+5
2020-02-10firmware_loader: load files from the mount namespace of initTopi Miettinen1-0/+26
2020-01-31Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+5
2020-01-31execve: warn if process starts with executable stackAlexey Dobriyan1-0/+5
2020-01-30Merge tag 'mpx-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/da...Linus Torvalds1-1/+0
2020-01-23mm: remove arch_bprm_mm_init() hookDave Hansen1-1/+0
2019-12-03Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2019-11-30Merge tag 'notifications-pipe-prep-20191115' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+0
2019-11-20exit/exec: Seperate mm_release()Thomas Gleixner1-1/+1
2019-11-13time: Rename tsk->real_start_time to ->start_boottimePeter Zijlstra1-1/+1
2019-10-23pipe: Reduce #inclusion of pipe_fs_i.hDavid Howells1-1/+0
2019-09-25sched/membarrier: Fix p->mm->membarrier_state racy loadMathieu Desnoyers1-1/+1
2019-07-25sched/fair: Don't free p->numa_faults with concurrent readersJann Horn1-1/+1
2019-07-08Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2019-05-27signal: Remove task parameter from force_sigsegvEric W. Biederman1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-14fs/exec.c: move ->recursion_depth out of critical sectionsAlexey Dobriyan1-1/+3
2019-03-07exec: increase BINPRM_BUF_SIZE to 256Oleg Nesterov1-1/+1
2019-03-07fs/exec.c: replace opencoded set_mask_bits()Vineet Gupta1-6/+1