aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exec.c
AgeCommit message (Expand)AuthorFilesLines
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
2019-03-06Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+2
2019-02-18exec: Fix mem leak in kernel_read_fileYueHaibing1-1/+1
2019-02-04sched/core: Convert sighand_struct.count to refcount_tElena Reshetova1-2/+2
2019-01-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2019-01-04fs/: remove caller signal_pending branch predictionsDavidlohr Bueso1-2/+2
2019-01-04exec: separate MM_ANONPAGES and RLIMIT_STACK accountingOleg Nesterov1-53/+52
2018-12-10exec: make prepare_bprm_creds staticChanho Min1-1/+1
2018-12-04Revert "exec: make de_thread() freezable"Rafael J. Wysocki1-3/+2
2018-11-19exec: make de_thread() freezableChanho Min1-2/+3
2018-10-10vfs: require i_size <= SIZE_MAX in kernel_read_file()Eric Biggers1-4/+4
2018-08-21Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+1
2018-07-26mm: fix vma_is_anonymous() false-positivesKirill A. Shutemov1-0/+1
2018-07-21mm: make vm_area_alloc() initialize core fieldsLinus Torvalds1-3/+1
2018-07-21mm: use helper functions for allocating and freeing vm_area structsLinus Torvalds1-2/+2
2018-07-21pid: Implement PIDTYPE_TGIDEric W. Biederman1-0/+1
2018-06-10Merge branch 'core-rseq-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+1
2018-06-06rseq: Introduce restartable sequences system callMathieu Desnoyers1-0/+1
2018-05-23umh: introduce fork_usermode_blob() helperAlexei Starovoitov1-9/+29
2018-04-11exec: pin stack limit during execKees Cook1-12/+15
2018-04-11exec: introduce finalize_exec() before start_thread()Kees Cook1-0/+6
2018-04-11exec: pass stack rlimit into mm layout functionsKees Cook1-1/+7
2018-03-19exec: Set file unwritable before LSM checkKees Cook1-3/+3
2018-01-03exec: Weaken dumpability for secureexecKees Cook1-2/+7
2017-12-17Revert "exec: avoid RLIMIT_STACK races with prlimit()"Kees Cook1-6/+1
2017-12-14exec: avoid gcc-8 warning for get_task_commArnd Bergmann1-4/+3
2017-11-29exec: avoid RLIMIT_STACK races with prlimit()Kees Cook1-1/+6
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-10-19membarrier: Provide register expedited private commandMathieu Desnoyers1-0/+1
2017-10-03exec: load_script: kill the onstack interp[BINPRM_BUF_SIZE] arrayOleg Nesterov1-1/+1
2017-09-14vfs: constify path argument to kernel_read_file_from_pathMimi Zohar1-1/+1
2017-09-14Merge branch 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-21/+3
2017-09-13mm: treewide: remove GFP_TEMPORARY allocation flagMichal Hocko1-2/+2
2017-09-04fs: fix kernel_read prototypeChristoph Hellwig1-4/+3
2017-09-04fs: move kernel_read to fs/read_write.cChristoph Hellwig1-17/+0
2017-08-01exec: Consolidate pdeath_signal clearingKees Cook1-4/+3
2017-08-01exec: Use sane stack rlimit under secureexecKees Cook1-0/+12
2017-08-01exec: Consolidate dumpability logicKees Cook1-6/+5
2017-08-01exec: Use secureexec for clearing pdeath_signalKees Cook1-2/+1
2017-08-01exec: Use secureexec for setting dumpabilityKees Cook1-1/+1
2017-08-01LSM: drop bprm_secureexec hookKees Cook1-2/+0
2017-08-01commoncap: Refactor to remove bprm_secureexec hookKees Cook1-0/+7
2017-08-01binfmt: Introduce secureexec flagKees Cook1-0/+2
2017-08-01exec: Correct comments about "point of no return"Kees Cook1-3/+13
2017-08-01exec: Rename bprm->cred_prepared to called_set_credsKees Cook1-1/+1
2017-07-07exec: Limit arg stack to at most 75% of _STK_LIMKees Cook1-5/+6
2017-06-23fs/exec.c: account for argv/envp pointersKees Cook1-4/+24
2017-03-20x86/arch_prctl: Add ARCH_[GET|SET]_CPUIDKyle Huey1-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-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers, cgroups: Remove the threadgroup_change_*() wrapperyIngo Molnar1-3/+3
2017-02-14vfs: Use upper filesystem inode in bprm_fill_uid()Vivek Goyal1-1/+1
2017-01-24exec: Remove LSM_UNSAFE_PTRACE_CAPEric W. Biederman1-6/+2
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-22fs: exec: apply CLOEXEC before changing dumpable task flagsAleksa Sarai1-2/+8
2016-12-14Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2016-12-14mm: add locked parameter to get_user_pages_remote()Lorenzo Stoakes1-1/+1
2016-12-14Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-3/+18
2016-11-22exec: Ensure mm->user_ns contains the execed filesEric W. Biederman1-2/+17
2016-11-22ptrace: Capture the ptracer's creds not PT_PTRACE_CAPEric W. Biederman1-1/+1
2016-11-16posix-timers: Make them configurableNicolas Pitre1-0/+2
2016-10-19mm: replace get_user_pages_remote() write/force parameters with gup_flagsLorenzo Stoakes1-2/+7
2016-08-04Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ger...Linus Torvalds1-0/+33
2016-08-02firmware: support loading into a pre-allocated bufferStephen Boyd1-3/+6
2016-07-25elf_fdpic_transfer_args_to_stack(): make it genericNicolas Pitre1-0/+33
2016-06-24fs: Treat foreign mounts as nosuidAndy Lutomirski1-1/+1
2016-05-23exec: make exec path waiting for mmap_sem killableMichal Hocko1-2/+8
2016-05-23exec: remove the no longer needed remove_arg_zero()->free_arg_page()Oleg Nesterov1-7/+0
2016-05-19Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-8/+21
2016-05-17exec: clarify reasoning for euid/egid resetKees Cook1-1/+6
2016-05-01vfs: forbid write access when reading a file into memoryDmitry Kasatkin1-8/+21
2016-03-20Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+6
2016-02-21vfs: define kernel_copy_file_from_fd()Mimi Zohar1-0/+16
2016-02-21security: define kernel_read_file hookMimi Zohar1-0/+4
2016-02-21vfs: define kernel_read_file_from_pathMimi Zohar1-0/+19
2016-02-18vfs: define kernel_read_file_id enumerationMimi Zohar1-2/+2
2016-02-18vfs: define a generic function to read a file from the kernelMimi Zohar1-0/+53
2016-02-16mm/gup: Introduce get_user_pages_remote()Dave Hansen1-2/+6
2016-01-22wrappers for ->i_mutex accessAl Viro1-2/+2
2016-01-04don't carry MAY_OPEN in op->acc_modeAl Viro1-2/+2
2015-07-10vfs: Commit to never having exectuables on proc and sysfs.Eric W. Biederman1-2/+8
2015-05-12parisc,metag: Fix crashes due to stack randomization on stack-grows-upwards a...Helge Deller1-0/+3
2015-04-19fs: take i_mutex during prepare_binprm for set[ug]id executablesJann Horn1-28/+48
2015-04-17fs/exec.c:de_thread: move notify_count write under lockKirill Tkhai1-1/+5
2015-04-17prctl: avoid using mmap_sem for exe_file serializationDavidlohr Bueso1-0/+6
2015-01-23fs: create proper filename objects using getname_kernel()Paul Moore1-2/+8
2014-12-13syscalls: implement execveat() system callDavid Drysdale1-13/+100
2014-11-18fs: Do not include mpx.h in exec.cDave Hansen1-1/+0
2014-11-18x86, mpx: On-demand kernel allocation of bounds tablesDave Hansen1-0/+2
2014-10-09handle suicide on late failure exits in execve() in search_binary_handler()Al Viro1-6/+11
2014-08-08fork/exec: cleanup mm initializationVladimir Davydov1-4/+0
2014-07-18seccomp: implement SECCOMP_FILTER_FLAG_TSYNCKees Cook1-1/+1
2014-07-18sched: move no_new_privs into new atomic flagsKees Cook1-2/+2
2014-06-06perf: Differentiate exec() and non-exec() comm eventsAdrian Hunter1-3/+3
2014-06-06perf: Fix perf_event_comm() vs. exec() assumptionPeter Zijlstra1-0/+1
2014-05-15metag: Reduce maximum stack size to 256MBJames Hogan1-3/+3
2014-04-12Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2014-04-07exec: kill bprm->tcomm[], simplify the "basename" logicOleg Nesterov1-19/+2
2014-04-07mm: per-thread vma cachingDavidlohr Bueso1-1/+4
2014-04-03fs, kernel: permit disabling the uselib syscallJosh Triplett1-0/+2
2014-04-01read_code(): go through vfs_read() instead of calling the method directlyAl Viro1-1/+1
2014-03-06fs/compat: convert to COMPAT_SYSCALL_DEFINEHeiko Carstens1-3/+3
2014-02-05execve: use 'struct filename *' for executable name passingLinus Torvalds1-24/+21
2014-01-23fs/exec.c: call arch_pick_mmap_layout() only onceRichard Weinberger1-1/+0
2014-01-23exec: avoid propagating PF_NO_SETAFFINITY into userspace childZhang Yi1-2/+2
2014-01-23exec: kill task_struct->did_execOleg Nesterov1-1/+0
2014-01-23exec: move the final allow_write_access/fput into free_bprm()Oleg Nesterov1-15/+5
2014-01-23exec:check_unsafe_exec: kill the dead -EAGAIN and clear_in_exec logicOleg Nesterov1-21/+8
2014-01-23exec:check_unsafe_exec: use while_each_thread() rather than next_thread()Oleg Nesterov1-1/+2
2014-01-23coredump: make __get_dumpable/get_dumpable inline, kill fs/coredump.hOleg Nesterov1-18/+0
2014-01-23coredump: kill MMF_DUMPABLE and MMF_DUMP_SECURELYOleg Nesterov1-15/+6
2014-01-23coredump: set_dumpable: fix the theoretical race with itselfOleg Nesterov1-34/+15
2013-11-21Merge git://git.infradead.org/users/eparis/auditLinus Torvalds1-4/+1
2013-11-13Merge branch 'akpm' (patches from Andrew Morton)Linus Torvalds1-0/+6
2013-11-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-20/+15
2013-11-13exec/ptrace: fix get_dumpable() incorrect testsKees Cook1-0/+6
2013-11-05audit: call audit_bprm() only once to add AUDIT_EXECVE informationRichard Guy Briggs1-4/+1
2013-10-24file->f_op is never NULL...Al Viro1-20/+15
2013-10-09sched/numa: Call task_numa_free() from do_execve()Rik van Riel1-0/+1
2013-09-11exec: cleanup the error handling in search_binary_handler()Oleg Nesterov1-8/+3
2013-09-11exec: don't retry if request_module() failsOleg Nesterov1-1/+2
2013-09-11exec: cleanup the CONFIG_MODULES logicOleg Nesterov1-37/+31
2013-09-11exec: kill ->load_binary != NULL check in search_binary_handler()Oleg Nesterov1-4/+3
2013-09-11exec: move allow_write_access/fput to exec_binprm()Oleg Nesterov1-4/+6
2013-09-11exec: proc_exec_connector() should be called only onceOleg Nesterov1-1/+1
2013-09-11exec: kill "int depth" in search_binary_handler()Oleg Nesterov1-5/+4
2013-09-11exec: introduce exec_binprm() for "depth == 0" codeOleg Nesterov1-14/+22
2013-09-11mm: track vma changes with VM_SOFTDIRTY bitCyrill Gorcunov1-1/+1
2013-08-16Fix TLB gather virtual address range invalidation corner casesLinus Torvalds1-2/+2
2013-07-03fs/exec.c:de_thread: mt-exec should update ->real_start_timeOleg Nesterov1-0/+1
2013-07-03fs/exec.c: do_execve_common(): use current_user()Oleg Nesterov1-2/+1
2013-07-03fs/exec.c:de_thread(): use change_pid() rather than detach_pid/attach_pidOleg Nesterov1-2/+1
2013-07-03Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-4/+6
2013-06-29allow build_open_flags() to return an errorAl Viro1-4/+6
2013-06-26perf: Disable monitoring on setuid processes for regular usersStephane Eranian1-7/+9
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+9
2013-04-30exec: do not abuse ->cred_guard_mutex in threadgroup_lock()Oleg Nesterov1-0/+3
2013-04-30set_task_comm: kill the pointless memset() + wmb()Oleg Nesterov1-10/+0
2013-04-29mm: allow arch code to control the user page table ceilingHugh Dickins1-2/+2
2013-04-29new helper: read_code()Al Viro1-0/+9
2013-02-27coredump: remove redundant defines for dumpable statesKees Cook1-5/+5
2013-02-26fs/exec.c: make bprm_mm_init() staticYuanhan Liu1-1/+1
2013-02-22new helper: file_inode(file)Al Viro1-4/+4
2013-01-11fs/exec.c: work around icc miscompilationXi Wang1-1/+2
2012-12-20Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-0/+15
2012-12-20Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-21/+0
2012-12-20exec: do not leave bprm->interp on stackKees Cook1-0/+15
2012-12-19Bury the conditionals from kernel_thread/kernel_execve seriesAl Viro1-21/+0
2012-12-17Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-5/+5
2012-12-17exec: use -ELOOP for max recursion depthKees Cook1-5/+5
2012-12-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-6/+3
2012-11-28get rid of pt_regs argument of ->load_binary()Al Viro1-2/+2
2012-11-28get rid of pt_regs argument of search_binary_handler()Al Viro1-4/+3
2012-11-28get rid of pt_regs argument of do_execve_common()Al Viro1-4/+4
2012-11-28get rid of pt_regs argument of do_execve()Al Viro1-10/+6
2012-11-28make compat_do_execve() static, lose pt_regs argumentAl Viro1-6/+4
2012-11-19userns: Ignore suid and sgid on binaries if the uid or gid can not be mappedEric W. Biederman1-6/+3
2012-10-25freezer: exec should clear PF_NOFREEZE along with PF_KTHREADOleg Nesterov1-1/+2
2012-10-12vfs: make path_openat take a struct filename pointerJeff Layton1-2/+3
2012-10-12vfs: define struct filename and have getname() return itJeff Layton1-6/+7
2012-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-5/+56
2012-10-09mm: avoid taking rmap locks in move_ptes()Michel Lespinasse1-1/+1
2012-10-09exec: make de_thread() killableOleg Nesterov1-2/+14
2012-10-06coredump: use SUID_DUMPABLE_ENABLED rather than hardcoded 1Oleg Nesterov1-1/+1
2012-10-06coredump: update coredump-related headersAlex Kelly1-0/+1
2012-10-02coredump: move core dump functionality into its own fileAlex Kelly1-644/+1
2012-09-30generic sys_execve()Al Viro1-4/+34
2012-09-30generic kernel_execve()Al Viro1-0/+22
2012-09-26do_coredump(): make sure that descriptor table isn't sharedAl Viro1-0/+7
2012-09-26new helper: replace_fd()Al Viro1-10/+1
2012-09-26take close-on-exec logics to fs/file.c, clean it up a bitAl Viro1-35/+6
2012-09-20the only place that needs to include asm/exec.h is linux/binfmts.hAl Viro1-1/+0
2012-08-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-13/+6
2012-07-30coredump: fix wrong comments on core limits of pipe coredump caseJovi Zhang1-7/+8
2012-07-30coredump: warn about unsafe suid_dumpable / core_pattern comboKees Cook1-5/+5
2012-07-30fs: make dumpable=2 require fully qualified pathKees Cook1-3/+14
2012-07-29consolidate pipe file creationAl Viro1-13/+6
2012-07-26posix_types.h: Cleanup stale __NFDBITS and related definitionsJosh Boyer1-1/+1
2012-06-20mm: correctly synchronize rss-counters at exit/execKonstantin Khlebnikov1-1/+1
2012-06-07Revert "mm: correctly synchronize rss-counters at exit/exec"Linus Torvalds1-0/+1
2012-06-07mm: correctly synchronize rss-counters at exit/execKonstantin Khlebnikov1-1/+0
2012-05-31split ->file_mmap() into ->mmap_addr()/->mmap_file()Al Viro1-4/+0
2012-05-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-5/+10
2012-05-23Merge branch 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+14
2012-05-16coredump: ensure the fpu state is flushed for proper multi-threaded core dumpSuresh Siddha1-1/+14
2012-05-15userns: Fail exec for suid and sgid binaries with ids outside our user namesp...Eric W. Biederman1-0/+5
2012-05-03userns: Use uid_eq gid_eq helpers when comparing kuids and kgids in the vfsEric W. Biederman1-5/+5
2012-04-14Add PR_{GET,SET}_NO_NEW_PRIVS to prevent execve from granting privsAndy Lutomirski1-1/+9
2012-04-04Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-3/+4
2012-03-31tracing, sched, vfs: Fix 'old_pid' usage in trace_sched_process_exec()Oleg Nesterov1-3/+4
2012-03-29Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+4
2012-03-28Add #includes needed to permit the removal of asm/system.hDavid Howells1-0/+1
2012-03-22Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-1/+1
2012-03-21mm, counters: remove task argument to sync_mm_rss() and __sync_task_rss_stat()David Rientjes1-1/+1
2012-03-21Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-5/+3