aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exec.c
AgeCommit message (Expand)AuthorFilesLines
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
2012-03-21Merge branch 'kmap_atomic' of git://github.com/congwang/linuxLinus Torvalds1-2/+2
2012-03-20take removal of PF_FORKNOEXEC to flush_old_exec()Al Viro1-1/+1
2012-03-20__register_binfmt() made voidAl Viro1-4/+2
2012-03-20exec: move de_thread()->setmax_mm_hiwater_rss() into exec_mmap()Oleg Nesterov1-3/+1
2012-03-20exit_signal: simplify the "we have changed execution domain" logicOleg Nesterov1-0/+3
2012-03-20fs: remove the second argument of k[un]map_atomic()Cong Wang1-2/+2
2012-03-12Merge branch 'perf/urgent' into perf/coreIngo Molnar1-16/+2
2012-03-05coredump_wait: don't call complete_vfork_done()Oleg Nesterov1-12/+2
2012-03-05vfork: introduce complete_vfork_done()Oleg Nesterov1-6/+2
2012-03-05Merge branch 'perf/urgent' into perf/coreIngo Molnar1-16/+17
2012-02-23tracepoint, vfs, sched: Add exec() tracepointDavid Smith1-3/+6
2012-02-19Replace the fd_sets in struct fdtable with an array of unsigned longsDavid Howells1-2/+2
2012-02-19Wrap accesses to the fd_sets in struct fdtableDavid Howells1-2/+2
2012-02-06exec: fix use-after-free bug in setup_new_exec()Heiko Carstens1-16/+17
2012-01-10tracepoint: add tracepoints for debugging oom_score_adjKAMEZAWA Hiroyuki1-0/+4
2012-01-03trim fs/internal.hAl Viro1-1/+1
2011-10-31oom: remove oom_disable_countDavid Rientjes1-4/+0
2011-08-11move RLIMIT_NPROC check from set_user() to do_execve_common()Vasiliy Kulikov1-0/+17
2011-07-26fs/exec.c:acct_arg_size(): ptl is no longer needed for add_mm_counter()Oleg Nesterov1-7/+0
2011-07-26exec: do not retry load_binary method if CONFIG_MODULES=nTetsuo Handa1-2/+4
2011-07-26exec: do not call request_module() twice from search_binary_handler()Tetsuo Handa1-0/+2
2011-07-26fs/exec.c: use BUILD_BUG_ON for VM_STACK_FLAGS & VM_STACK_INCOMPLETE_SETUPMichal Hocko1-1/+1
2011-07-26do_coredump: fix the "ispipe" error checkOleg Nesterov1-6/+6
2011-07-26coredump: escape / in hostname and commJiri Slaby1-8/+23
2011-07-26coredump: use task comm instead of (unknown)Jiri Slaby1-1/+1
2011-07-22Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-3/+11
2011-07-22Merge branch 'ptrace' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/miscLinus Torvalds1-3/+24
2011-07-22ptrace: do_wait(traced_leader_killed_by_mt_exec) can block foreverOleg Nesterov1-0/+8
2011-07-20consolidate BINPRM_FLAGS_ENFORCE_NONDUMP handlingAl Viro1-3/+11
2011-07-01ptrace: make former thread ID available via PTRACE_GETEVENTMSG after PTRACE_E...Denys Vlasenko1-1/+8
2011-06-27redefine thread_group_leader() as exit_signal >= 0Oleg Nesterov1-0/+1
2011-06-22ptrace: kill clone/exec tracehooksTejun Heo1-1/+6
2011-06-22ptrace: kill trivial tracehooksTejun Heo1-1/+1
2011-06-17KEYS/DNS: Fix ____call_usermodehelper() to not lose the session keyringDavid Howells1-1/+1
2011-06-15Revert "fs/exec.c: use BUILD_BUG_ON for VM_STACK_FLAGS & VM_STACK_INCOMPLETE_...Linus Torvalds1-1/+1
2011-06-15fs/exec.c: use BUILD_BUG_ON for VM_STACK_FLAGS & VM_STACK_INCOMPLETE_SETUPMichal Hocko1-1/+1
2011-06-09exec: delay address limit change until point of no returnMathias Krause1-4/+1
2011-06-04job control: make task_clear_jobctl_pending() clear TRAPPING automaticallyTejun Heo1-1/+1
2011-06-04job control: introduce JOBCTL_PENDING_MASK and task_clear_jobctl_pending()Tejun Heo1-1/+1
2011-06-04job control: rename signal->group_stop and flags to jobctl and update themTejun Heo1-1/+1
2011-05-26coredump: add support for exe_file in core nameJiri Slaby1-0/+38
2011-05-26mm: extract exe_file handling from procfsJiri Slaby1-1/+0
2011-05-25mm: mmu_gather reworkPeter Zijlstra1-5/+5
2011-05-25mm: make expand_downwards() symmetrical with expand_upwards()Michal Hocko1-1/+1
2011-05-23Merge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-0/+1
2011-05-23Merge branch 'exec_rm_compat' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-25/+100
2011-05-13export kernel call get_task_comm().J Freyensee1-0/+1
2011-04-09exec: document acct_arg_size()Oleg Nesterov1-1/+6
2011-04-09exec: unify do_execve/compat_do_execve codeOleg Nesterov1-12/+50
2011-04-09exec: introduce struct user_arg_ptrOleg Nesterov1-12/+30
2011-04-09exec: introduce get_user_arg_ptr() helperOleg Nesterov1-11/+25
2011-03-23signal: Use GROUP_STOP_PENDING to stop once for a single group stopTejun Heo1-0/+1
2011-03-21Small typo fix...Holger Hans Peter Freyther1-1/+1
2011-03-14switch do_filp_open() to struct open_flagsAl Viro1-6/+12
2011-02-02vfs: sparse: add __FMODE_EXECNamhyung Kim1-2/+2
2010-12-15install_special_mapping skips security_file_mmap check.Tavis Ormandy1-0/+5
2010-11-30exec: copy-and-paste the fixes into compat_do_execve() pathsOleg Nesterov1-4/+4
2010-11-30exec: make argv/envp memory visible to oom-killerOleg Nesterov1-2/+30
2010-10-27exec: don't turn PF_KTHREAD off when a target command was not foundKOSAKI Motohiro1-2/+1
2010-10-27core_pattern: fix truncation by core_pattern handler with long parametersXiaotian Feng1-60/+95
2010-10-27signals: move cred_guard_mutex from task_struct to signal_structKOSAKI Motohiro1-5/+5
2010-10-26oom: add per-mm oom disable countYing Han1-0/+5
2010-10-14Export dump_{write,seek} to binary loader modulesLinus Torvalds1-0/+2
2010-10-14Un-inline the core-dump helper functionsLinus Torvalds1-0/+38
2010-09-10execve: make responsive to SIGKILL with large argumentsRoland McGrath1-0/+7
2010-09-10execve: improve interactivity with large argumentsRoland McGrath1-0/+2
2010-09-10setup_arg_pages: diagnose excessive argument sizeRoland McGrath1-0/+5
2010-08-18Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2010-08-18fs: fs_struct rwlock to spinlockNick Piggin1-2/+2
2010-08-17Make do_execve() take a const filename pointerDavid Howells1-10/+11
2010-08-10Merge branch 'for-linus' of git://git.infradead.org/users/eparis/notifyLinus Torvalds1-2/+2
2010-08-07Merge branch 'bkl/core' of git://git.kernel.org/pub/scm/linux/kernel/git/fred...Linus Torvalds1-7/+0
2010-07-28fsnotify: pass a file instead of an inode to open, read, and writeEric Paris1-2/+2
2010-07-10do_coredump: Do not take BKLArnd Bergmann1-7/+0
2010-06-09perf: Add non-exec mmap() trackingEric B Munson1-0/+1
2010-05-27exit: avoid sig->count in de_thread/__exit_signal synchronizationOleg Nesterov1-6/+5
2010-05-27coredump: shift down_write(mmap_sem) into coredump_wait()Oleg Nesterov1-12/+7
2010-05-27coredump: factor out put_cred() callsOleg Nesterov1-10/+6
2010-05-27coredump: cleanup "ispipe" codeOleg Nesterov1-22/+17
2010-05-27coredump: factor out the not-ispipe file checksOleg Nesterov1-32/+31
2010-05-27exec: replace call_usermodehelper_pipe with use of umh init function and reso...Neil Horman1-7/+56
2010-05-25mm: migration: avoid race between shift_arg_pages() and rmap_walk() during mi...Mel Gorman1-1/+6
2010-05-11revert "procfs: provide stack information for threads" and its fixup commitsRobin Holt1-2/+0
2010-03-06coredump: suppress uid comparison test if core output files are pipesNeil Horman1-1/+2
2010-03-06coredump: set ->group_exit_code for other CLONE_VM tasks tooOleg Nesterov1-4/+4
2010-03-06coredump: pass mm->flags as a coredump parameter for consistencyMasami Hiramatsu1-4/+16
2010-03-06exec: create initial stack independent of PAGE_SIZEMichael Neuling1-3/+1
2010-03-06fs: use rlimit helpersJiri Slaby1-4/+4
2010-03-06mm: change anon_vma linking to fix multi-process server scalability issueRik van Riel1-2/+4
2010-03-06mm: avoid false sharing of mm_counterKAMEZAWA Hiroyuki1-0/+1