aboutsummaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf.c
AgeCommit message (Expand)AuthorFilesLines
2017-09-14Merge branch 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-10/+13
2017-09-07Merge tag 'secureexec-v4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2017-09-04fs: fix kernel_read prototypeChristoph Hellwig1-10/+13
2017-08-16x86/elf: Remove the unnecessary ADDR_NO_RANDOMIZE checksOleg Nesterov1-2/+1
2017-08-01binfmt: Introduce secureexec flagKees Cook1-1/+1
2017-07-10binfmt_elf: safely increment argv pointersKees Cook1-11/+9
2017-07-10binfmt_elf: use ELF_ET_DYN_BASE only for PIEKees Cook1-8/+51
2017-03-02sched/headers: Prepare to move cputime functionality from <linux/sched.h> int...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 to remove <linux/cred.h> inclusion from <linux/sched.h>Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-02-22powerpc: do not make the entire heap executableDenys Vlasenko1-8/+22
2017-02-01fs/binfmt: Convert obsolete cputime type to nsecsFrederic Weisbecker1-16/+10
2017-02-01sched/cputime: Convert task/group cputime to nsecsFrederic Weisbecker1-2/+9
2017-02-01sched/cputime: Introduce special task_cputime_t() API to return old-typed cpu...Frederic Weisbecker1-3/+3
2017-01-14coredump: Ensure proper size of sparse core filesDave Kleikamp1-0/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-12binfmt_elf: use vmalloc() for allocation of vma_fileszJason Baron1-2/+4
2016-09-14x86/coredump: Use pr_reg size, rather that TIF_IA32 flagDmitry Safonov1-15/+8
2016-08-31binfmt_elf: switch to new creds when switching to new mmLinus Torvalds1-1/+1
2016-08-02binfmt_elf: fix calculations for bss paddingKees Cook1-16/+18
2016-06-07coredump: fix dumping through pipesMateusz Guzik1-1/+1
2016-05-27mm: remove more IS_ERR_VALUE abusesLinus Torvalds1-6/+5
2016-05-23mm, elf: handle vm_brk errorMichal Hocko1-2/+5
2016-05-18Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2016-05-12coredump: get rid of coredump_params->writtenOmar Sandoval1-1/+1
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-1/+1
2016-02-27mm: ASLR: use get_random_long()Daniel Cashman1-1/+1
2016-01-20ELF: Also pass any interpreter's file header to `arch_check_elf'Maciej W. Rozycki1-1/+5
2015-11-11Merge branch 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-6/+6
2015-11-11binfmt_elf: Correct `arch_check_elf's descriptionMaciej W. Rozycki1-1/+1
2015-11-11binfmt_elf: Don't clobber passed executable's file headerMaciej W. Rozycki1-5/+5
2015-11-09coredump: add DAX filtering for ELF coredumpsRoss Zwisler1-0/+10
2015-07-04Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2015-06-23vfs: add file_path() helperMiklos Szeredi1-2/+2
2015-05-28fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappingsAndrew Morton1-1/+1
2015-04-14mm: fold arch_randomize_brk into ARCH_HAS_ELF_RANDOMIZEKees Cook1-3/+1
2015-04-14mm: split ET_DYN ASLR from mmap ASLRKees Cook1-14/+4
2015-04-14fs/binfmt_elf.c: fix bug in loading of PIE binariesMichael Davidson1-1/+8
2015-02-19x86, mm/ASLR: Fix stack randomization on 64-bit systemsHector Marco-Gisbert1-2/+3
2014-12-11Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linusLinus Torvalds1-62/+176
2014-12-10fs/binfmt_elf.c: fix internal inconsistency relating to vma dump sizeJungseung Lee1-18/+22
2014-11-24binfmt_elf: allow arch code to examine PT_LOPROC ... PT_HIPROC headersPaul Burton1-2/+103
2014-11-24binfmt_elf: load interpreter program headers earlierPaul Burton1-18/+18
2014-11-24binfmt_elf: Hoist ELF program header loading to a functionPaul Burton1-43/+56
2014-10-09handle suicide on late failure exits in execve() in search_binary_handler()Al Viro1-20/+5
2014-06-05Merge branch 'x86/vdso' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/...Linus Torvalds1-0/+8
2014-06-04fs/binfmt_elf.c: fix bool assignementsFabian Frederick1-2/+2
2014-05-20mm, fs: Add vm_ops->name as an alternative to arch_vma_nameAndy Lutomirski1-0/+8
2014-04-07exec: kill the unnecessary mm->def_flags setting in load_elf_binary()Alex Thorlton1-4/+0
2014-04-03fs, kernel: permit disabling the uselib syscallJosh Triplett1-1/+8
2014-01-23fs: binfmt_elf: remove unused defines INTERPRETER_NONE and INTERPRETER_ELFTodor Minchev1-3/+0
2013-11-09elf{,_fdpic} coredump: get rid of pointless if (siginfo->si_signo)Al Viro1-18/+15
2013-11-09constify do_coredump() argumentAl Viro1-2/+2
2013-11-09constify copy_siginfo_to_user{,32}()Al Viro1-1/+1
2013-11-09new helper: dump_align()Al Viro1-8/+2
2013-11-09dump_skip(): dump_seek() replacement taking coredump_paramsAl Viro1-2/+2
2013-11-09binfmt_elf: count notes towards coredump limitAl Viro1-3/+0
2013-11-09switch elf_coredump_extra_notes_write() to dump_emit()Al Viro1-4/+3
2013-11-09binfmt_elf: convert writing actual dump pages to dump_emit()Al Viro1-11/+3
2013-11-09switch elf_core_write_extra_data() to dump_emit()Al Viro1-1/+3
2013-11-09switch elf_core_write_extra_phdrs() to dump_emit()Al Viro1-2/+2
2013-11-09new helper: dump_emit()Al Viro1-37/+23
2013-10-24file->f_op is never NULL...Al Viro1-3/+3
2013-09-30fs/binfmt_elf.c: prevent a coredump with a large vm_map_count from OopsingDan Aloni1-12/+18
2013-07-10mm: remove free_area_cacheMichel Lespinasse1-2/+0
2013-05-02Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow...Linus Torvalds1-0/+3
2013-04-30coredump: factor out the setting of PF_DUMPCOREOleg Nesterov1-2/+1
2013-04-30binfmt_elf: PIE: make PF_RANDOMIZE check comment more accurateJiri Kosina1-1/+2
2013-04-26powerpc: Add HWCAP2 aux entryMichael Neuling1-0/+3
2013-04-17fs/binfmt_elf.c: fix hugetlb memory check in vma_dump_size()Naoya Horiguchi1-0/+1
2013-03-03Merge tag 'metag-v3.9-rc1-v4' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+4
2013-03-02Revert some of "binfmt_elf: cleanups"James Hogan1-0/+4
2013-02-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2013-02-22new helper: file_inode(file)Al Viro1-1/+1
2013-02-21binfmt_elf: remove unused argument in fill_elf_headerZhang Yanfei1-3/+3
2013-01-27cputime: Use accessors to read task cputime statsFrederic Weisbecker1-2/+6
2012-12-17binfmt_elf: fix corner case kfree of uninitialized dataAlan Cox1-1/+3
2012-11-28get rid of pt_regs argument of ->load_binary()Al Viro1-2/+3
2012-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+0
2012-10-09mm: kill vma flag VM_RESERVED and mm->reserved_vm counterKonstantin Khlebnikov1-1/+1
2012-10-09mm: prepare VM_DONTDUMP for using in driversKonstantin Khlebnikov1-1/+1
2012-10-06coredump: extend core dump note section to contain file names of mapped filesDenys Vlasenko1-4/+106
2012-10-06coredump: add a new elf note with siginfo of the signalDenys Vlasenko1-2/+25
2012-10-06coredump: pass siginfo_t* to do_coredump() and below, not merely signrDenys Vlasenko1-7/+7
2012-10-06binfmt_elf: Uninitialized variableAlan Cox1-1/+1
2012-09-26coredump: prevent double-free on an error path in core dumperDenys Vlasenko1-15/+4
2012-09-20the only place that needs to include asm/exec.h is linux/binfmts.hAl Viro1-1/+0
2012-05-30binfmt_elf: switch elf_map() to vm_mmap/vm_munmapAl Viro1-5/+3
2012-05-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-6/+6
2012-05-15userns: Convert binary formats to use kuid/kgid where appropriateEric W. Biederman1-6/+6
2012-04-20VM: add "vm_mmap()" helper functionLinus Torvalds1-6/+2
2012-04-20VM: add "vm_brk()" helper functionLinus Torvalds1-11/+4
2012-03-29Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+20
2012-03-28Merge tag 'split-asm_system_h-for-linus-20120328' of git://git.kernel.org/pub...Linus Torvalds1-0/+1
2012-03-28Add #includes needed to permit the removal of asm/system.hDavid Howells1-0/+1
2012-03-23coredump: add VM_NODUMP, MADV_NODUMP, MADV_CLEAR_NODUMPJason Baron1-0/+3
2012-03-23coredump: remove VM_ALWAYSDUMP flagJason Baron1-2/+25
2012-03-20take removal of PF_FORKNOEXEC to flush_old_exec()Al Viro1-2/+0
2012-03-20__register_binfmt() made voidAl Viro1-1/+2
2012-03-02regset: Prevent null pointer reference on readonly regsetsH. Peter Anvin1-1/+1
2012-02-20elf: Allow core dump-related fields to be overriddenH. J. Lu1-4/+20
2012-01-10fs: binfmt_elf: create Kconfig variable for PIE randomizationDavid Daney1-1/+1
2011-11-02binfmt_elf: fix PIE execution with randomization disabledJiri Kosina1-1/+10
2011-07-20consolidate BINPRM_FLAGS_ENFORCE_NONDUMP handlingAl Viro1-2/+1
2011-04-14brk: COMPAT_BRK: fix detection of randomized brkJiri Kosina1-1/+5
2011-03-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2011-03-23mm: arch: make get_gate_vma take an mm_struct instead of a task_structStephen Wilson1-1/+1
2011-03-22binfmt_elf: quiet GCC-4.6 'set but not used' warning in load_elf_binary()David Daney1-1/+1
2011-01-13binfmt_elf: cleanupsMikael Pettersson1-14/+9
2010-10-08ARM: 6342/1: fix ASLR of PIE executablesNicolas Pitre1-1/+1
2010-03-06coredump: pass mm->flags as a coredump parameter for consistencyMasami Hiramatsu1-11/+3
2010-03-06elf coredump: add extended numbering supportDaisuke HATAYAMA1-3/+63
2010-03-06elf coredump: make offset calculation process and writing process explicitDaisuke HATAYAMA1-11/+16
2010-03-06elf coredump: replace ELF_CORE_EXTRA_* macros by functionsDaisuke HATAYAMA1-9/+5
2010-03-06coredump: move dump_write() and dump_seek() into a header fileDaisuke HATAYAMA1-38/+14
2010-01-29Split 'flush_old_exec' into two functionsLinus Torvalds1-25/+2
2009-12-17mm: introduce coredump parameter structureMasami Hiramatsu1-11/+13
2009-12-16elf: kill USE_ELF_CORE_DUMPChristoph Hellwig1-8/+3
2009-12-04tree-wide: fix assorted typos all over the placeAndré Goddard Rosa1-1/+1
2009-09-24elf: clean up fill_note_info()Amerigo Wang1-22/+30
2009-09-22mm: add get_dump_pageHugh Dickins1-30/+14
2009-09-09binfmt_elf: fix PT_INTERP bss handlingRoland McGrath1-14/+14
2009-07-01elf: fix one check-after-useAmerigo Wang1-2/+2
2009-06-30elf: limit max map count to safe valueKAMEZAWA Hiroyuki1-1/+4
2009-06-18elf_core_dump: use rcu_read_lock() to access ->real_parentOleg Nesterov1-2/+6
2009-03-31Trim includes in binfmt_elfAl Viro1-7/+0
2009-03-31Don't mess with descriptor table in load_elf_binary()Al Viro1-13/+2
2009-02-06elf core dump: fix get_user useRoland McGrath1-2/+12
2009-01-08ELF: implement AT_RANDOM for glibc PRNG seedingKees Cook1-0/+12
2008-12-28Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6Linus Torvalds1-1/+1
2008-12-25[S390] arch_setup_additional_pages argumentsMartin Schwidefsky1-1/+1
2008-11-14CRED: Make execve() take advantage of copy-on-write credentialsDavid Howells1-1/+1
2008-11-14CRED: Use RCU to access another task's creds and to release a task's own credsDavid Howells1-2/+6
2008-11-14CRED: Wrap current->cred and a few other accessorsDavid Howells1-5/+5
2008-11-14CRED: Separate task security context from task_structDavid Howells1-6/+6
2008-10-20Merge branch 'v28-timers-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-12/+7
2008-10-20coredump_filter: add hugepage dumpingKOSAKI Motohiro1-2/+10
2008-10-20Merge branches 'timers/clocksource', 'timers/hrtimers', 'timers/nohz', 'timer...Thomas Gleixner1-15/+10
2008-10-16[PATCH] remove unused ibcs2/PER_SVR4 in SET_PERSONALITYMartin Schwidefsky1-3/+3
2008-09-14timers: fix itimer/many thread hangFrank Mayhar1-12/+7
2008-07-26tracehook: execRoland McGrath1-6/+0
2008-07-25Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/po...Linus Torvalds1-0/+28
2008-07-25coredump: elf_core_dump: use core_state->dumper listOleg Nesterov1-45/+32
2008-07-25coredump: elf_core_dump: skip kernel threadsOleg Nesterov1-0/+6
2008-07-25ELF loader support for auxvec base platform stringNathan Lynch1-0/+28
2008-07-22execve filename: document and export via auxiliary vectorJohn Reiser1-0/+1
2008-06-16Remove last traces of a.out support from ELF loader.David Woodhouse1-3/+0
2008-05-16[Patch] fs/binfmt_elf.c: fix wrong return valuesWANG Cong1-2/+2
2008-05-16[Patch] fs/binfmt_elf.c: fix a wrong freeWANG Cong1-2/+3
2008-04-29elf: fix shadowed variables in fs/binfmt_elf.cWANG Cong1-11/+10
2008-04-29BINFMT: fill_elf_header cleanup - use straight memset firstCyrill Gorcunov1-6/+3
2008-04-25[PATCH] sanitize handling of shared descriptor tables in failing execve()Al Viro1-22/+1
2008-03-04core dump: user_regset writebackRoland McGrath1-0/+15
2008-02-08Remove a.out interpreter support in ELF loaderAndi Kleen1-152/+21
2008-02-08aout: suppress A.OUT library support if !CONFIG_ARCH_SUPPORTS_AOUTDavid Howells1-8/+26
2008-02-06brk randomization: introduce CONFIG_COMPAT_BRKIngo Molnar1-1/+1
2008-02-03fs/binfmt_elf.c: spello fixOhad Ben-Cohen1-1/+1
2008-01-30x86: remove iBCS supportAndi Kleen1-12/+3
2008-01-30elf core dump: notes user_regsetRoland McGrath1-0/+224
2008-01-30elf core dump: notes reorgRoland McGrath1-130/+194
2008-01-30x86: PIE executable randomization, checkpatch fixesAndrew Morton1-3/+4
2008-01-30x86: PIE executable randomizationJiri Kosina1-22/+85
2008-01-30x86: randomize brkJiri Kosina1-0/+6
2008-01-07core dump: real_parent ppidRoland McGrath1-2/+2
2007-10-19pid namespaces: changes to show virtual ids to userPavel Emelyanov1-8/+8
2007-10-19pid namespaces: round up the APIPavel Emelianov1-4/+4
2007-10-17Break ELF_PLATFORM and stack pointer randomization dependencyFranck Bui-Huu1-8/+8
2007-10-17increase AT_VECTOR_SIZE to terminate saved_auxv properlyOlaf Hering1-0/+3
2007-10-17Add MMF_DUMP_ELF_HEADERSRoland McGrath1-25/+53
2007-10-17Deprecate a.out ELF interpretersAndi Kleen1-0/+8
2007-10-17core_pattern: ignore RLIMIT_CORE if core_pattern is a pipeNeil Horman1-3/+2
2007-10-17x86: replace NT_PRXFPREG with ELF_CORE_XFPREG_TYPE #defineMark Nelson1-4/+4
2007-10-16remove ZERO_PAGENick Piggin1-1/+1
2007-09-19[POWERPC] spufs: Cleanup ELF coredump extra notes logicMichael Ellerman1-11/+3
2007-07-21revert "PIE randomization"Andrew Morton1-86/+23
2007-07-19coredump masking: ELF: enable core dump filteringKawai, Hidehiro1-9/+21
2007-07-19mm: variable length argument supportOllie Wild1-9/+19
2007-07-16binfmt_elf warning fixAndrew Morton1-1/+1
2007-07-16PIE randomizationJan Kratochvil1-23/+86
2007-07-06Fix elf_core_dump() when writing arch specific notes (spu coredumps)Michael Ellerman1-1/+6
2007-05-08Invalid return value of execve() resulting in oopsesAlexey Kuznetsov1-0/+3
2007-05-08i386: sched.h inclusion from module.h is baackAlexey Dobriyan1-0/+1
2007-05-08header cleaning: don't include smp_lock.h when not usedRandy Dunlap1-1/+0
2007-04-02[PATCH] fix page leak during core dumpBrian Pomerantz1-1/+4
2007-03-16[PATCH] fix process crash caused by randomisation and 64k pagesJames Bottomley1-1/+1
2007-02-13[PATCH] x86: Don't require the vDSO for handling a.out signalsAndi Kleen1-1/+2
2007-01-26[PATCH] core-dumping unreadable binaries via PT_INTERPAlexey Dobriyan1-0/+9
2007-01-26[PATCH] i386 vDSO: use VM_ALWAYSDUMPRoland McGrath1-3/+35
2007-01-26[PATCH] Add VM_ALWAYSDUMPRoland McGrath1-0/+4
2007-01-06Revert "[PATCH] binfmt_elf: randomize PIE binaries (2nd try)"Linus Torvalds1-7/+1
2006-12-08[PATCH] add process_session() helper routineCedric Le Goater1-2/+2
2006-12-08[PATCH] VFS: change struct file to use struct pathJosef "Jeff" Sipek1-1/+1
2006-12-07[PATCH] fs: remove unused variableDavid Rientjes1-2/+1
2006-12-07[PATCH] elf: Always define elf_addr_t in linux/elf.hMagnus Damm1-4/+0
2006-12-07[PATCH] binfmt: fix uaccess handlingHeiko Carstens1-4/+7
2006-12-07[PATCH] binfmt_elf: randomize PIE binaries (2nd try)Marcus Meissner1-1/+7
2006-12-04[POWERPC] coredump: Add SPU elf notes to coredump.Dwayne Grant McConnell1-0/+8
2006-10-15[PATCH] Fix core files so they make sense to gdb...Petr Vandrovec1-5/+3
2006-10-13[PATCH] Get core dump code to work...Petr Vandrovec1-1/+1