aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sys.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-01prctl_set_mm: downgrade mmap_sem to read lockMichal Koutný1-2/+9
2019-06-01prctl_set_mm: refactor checks from validate_prctl_mapMichal Koutný1-26/+25
2019-05-14kernel/sys.c: prctl: fix false positive in validate_prctl_map()Cyrill Gorcunov1-1/+1
2019-03-07Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+1
2019-03-07kernel/sys: annotate implicit fall throughMathieu Malaterre1-0/+1
2019-01-25LSM: add SafeSetID module that gates setid callsMicah Morton1-5/+5
2019-01-14kernel/sys.c: Clarify that UNAME26 does not generate unique versions anymoreJonathan Neuschäfer1-1/+2
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds1-1/+1
2018-12-13arm64: add prctl control for resetting ptrauth keysKristina Martsenko1-0/+8
2018-09-20kernel/sys.c: remove duplicated includeYueHaibing1-3/+0
2018-08-24Merge branch 'userns-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-50/+45
2018-08-11sys: don't hold uts_sem while accessing userspace memoryJann Horn1-50/+45
2018-06-19sysinfo: Remove get_monotonic_boottime()Arnd Bergmann1-2/+2
2018-06-07mm: introduce arg_lock to protect arg_start|end and env_start|end in mm_structYang Shi1-2/+8
2018-05-25kernel/sys.c: fix potential Spectre v1 issueGustavo A. R. Silva1-0/+5
2018-05-03nospec: Allow getting/setting on non-current taskKees Cook1-4/+5
2018-05-03prctl: Add speculation control prctlsThomas Gleixner1-0/+22
2018-04-02kernel: add ksys_setsid() helper; remove in-kernel call to sys_setsid()Dominik Brodowski1-1/+6
2018-04-02kernel: provide ksys_*() wrappers for syscalls called by kernel/uid16.cDominik Brodowski1-8/+50
2018-04-02kernel: add do_getpgid() helper; remove internal call to sys_getpgid()Dominik Brodowski1-2/+7
2017-12-14fix typo in assignment of fs default overflow gidWolffhardt Schwabe1-1/+1
2017-11-15Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-0/+12
2017-11-03arm64/sve: Add prctl controls for userspace vector length managementDave Martin1-0/+12
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-07-20prctl: Allow local CAP_SYS_ADMIN changing exe_fileKirill Tkhai1-6/+2
2017-07-12fix a braino in compat_sys_getrlimit()Al Viro1-1/+1
2017-07-10mm: make PR_SET_THP_DISABLE immediately activeMichal Hocko1-3/+3
2017-07-06Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-1/+99
2017-06-09getrlimit()/setrlimit(): move compat to nativeAl Viro1-0/+48
2017-06-09times(2): move compat to nativeAl Viro1-1/+27
2017-05-27take compat_sys_old_getrlimit() to native syscallAl Viro1-0/+24
2017-05-21wait4(2)/waitid(2): separate copying rusage to userlandAl Viro1-10/+6
2017-05-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-2/+1
2017-04-21rlimit: Properly call security_task_setrlimitEric W. Biederman1-2/+1
2017-03-06prlimit,security,selinux: add a security hook for prlimitStephen Smalley1-12/+18
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 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-02-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-0/+22
2017-02-03prctl: propagate has_child_subreaper flag to every descendantPavel Tikhomirov1-0/+22
2017-02-01sched/cputime: Convert task/group cputime to nsecsFrederic Weisbecker1-8/+8
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-12Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-10/+0
2016-12-12prctl: remove one-shot limitation for changing exe linkStanislav Kinsburskiy1-10/+0
2016-11-16posix-timers: Make them configurableNicolas Pitre1-1/+2
2016-05-23prctl: make PR_SET_THP_DISABLE wait for mmap_sem killableMichal Hocko1-1/+2
2016-03-17timer: convert timer_slack_ns from unsigned long to u64John Stultz1-1/+4
2016-01-20prctl: take mmap sem for writing to protect against othersMateusz Guzik1-10/+10
2015-11-06pidns: fix set/getpriority and ioprio_set/get in PRIO_USER modeBen Segall1-2/+2
2015-07-10vfs: Commit to never having exectuables on proc and sysfs.Eric W. Biederman1-2/+1
2015-06-25prctl: more prctl(PR_SET_MM_*) checksAlexey Dobriyan1-67/+91
2015-06-09x86/mpx: Clean up the code by not passing a task pointer around when unnecessaryDave Hansen1-4/+4
2015-04-17prctl: avoid using mmap_sem for exe_file serializationDavidlohr Bueso1-19/+28
2015-04-15kernel: conditionally support non-root users, groups and capabilitiesIulia Manda1-0/+2
2015-02-28kernel/sys.c: fix UNAME26 for 4.0Jon DeVree1-1/+2
2015-02-21Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linusLinus Torvalds1-0/+12
2015-02-12MIPS,prctl: add PR_[GS]ET_FP_MODE prctl options for MIPSPaul Burton1-0/+12
2015-01-22x86, mpx: Strictly enforce empty prctl() argsDave Hansen1-0/+4
2014-11-18x86, mpx: On-demand kernel allocation of bounds tablesDave Hansen1-0/+12
2014-10-13Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+0
2014-10-09kernel/sys.c: compat sysinfo syscall: fix undefined behaviorScotty Bauer1-1/+1
2014-10-09kernel/sys.c: whitespace fixesvishnu.ps1-128/+137
2014-10-09mm: use VM_BUG_ON_MM where possibleSasha Levin1-1/+1
2014-10-09prctl: PR_SET_MM -- introduce PR_SET_MM_MAP operationCyrill Gorcunov1-1/+189
2014-10-09prctl: PR_SET_MM -- factor out mmap_sem when updating mm::exe_fileCyrill Gorcunov1-10/+11
2014-10-09mm: use may_adjust_brk helperCyrill Gorcunov1-7/+4
2014-09-08time, signal: Protect resource use statistics with seqlockRik van Riel1-2/+0
2014-07-18sched: move no_new_privs into new atomic flagsKees Cook1-2/+2
2014-05-22sched: Consolidate open coded implementations of nice level frobbing into nic...Dongsheng Yang1-3/+3
2014-04-07mm, thp: add VM_INIT_DEF_MASK and PRCTL_THP_DISABLEAlex Thorlton1-0/+15
2014-02-22sys: Replace hardcoding of -20 and 19 with MIN_NICE and MAX_NICEDongsheng Yang1-4/+4
2014-01-23kernel/sys.c: k_getrusage() can use while_each_thread()Oleg Nesterov1-2/+1
2014-01-23exec: kill task_struct->did_execOleg Nesterov1-3/+2
2013-11-13kernel/sys.c: remove obsolete #include <linux/kexec.h>Geert Uytterhoeven1-1/+0
2013-08-30userns: Kill nsown_capable it makes the wrong thing easyEric W. Biederman1-10/+10
2013-07-09reboot: move shutdown/reboot related functions to kernel/reboot.cRobin Holt1-331/+0
2013-07-09reboot: remove -stable friendly PF_THREAD_BOUND defineRobin Holt1-5/+0
2013-07-03exit.c: unexport __set_special_pids()Oleg Nesterov1-1/+12
2013-07-03kernel/sys.c:do_sysinfo(): use get_monotonic_boottime()Oleg Nesterov1-2/+1
2013-07-03kernel/sys.c: sys_reboot(): fix malformed panic messageliguang1-1/+1
2013-06-12reboot: rigrate shutdown/reboot to boot cpuRobin Holt1-3/+26
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+14
2013-04-30kernel/sys.c: make prctl(PR_SET_MM) generally availableAmnon Shiloh1-8/+2
2013-04-30kernel/timer.c: move some non timer related syscalls to kernel/sys.cStephen Rothwell1-0/+211
2013-04-08PM / reboot: call syscore_shutdown() after disable_nonboot_cpus()Huacai Chen1-1/+2
2013-03-22poweroff: change orderly_poweroff() to use schedule_work()Oleg Nesterov1-25/+32
2013-03-03switch getrusage() to COMPAT_SYSCALL_DEFINEAl Viro1-0/+14
2013-02-27usermodehelper: cleanup/fix __orderly_poweroff() && argv_free()Oleg Nesterov1-8/+2
2013-02-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-4/+4
2013-02-25Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-2/+3
2013-02-22new helper: file_inode(file)Al Viro1-4/+4
2013-02-21sys_prctl(): coding-style cleanupAndrew Morton1-145/+143
2013-02-21sys_prctl(): arg2 is unsigned long which is never < 0Chen Gang1-1/+3
2012-12-26userns: Allow unprivileged rebootLi Zefan1-2/+3
2012-11-28cputime: Rename thread_group_times to thread_group_cputime_adjustedFrederic Weisbecker1-3/+3
2012-10-19use clamp_t in UNAME26 fixKees Cook1-1/+1
2012-10-19kernel/sys.c: fix stack memory content leak via UNAME26Kees Cook1-5/+7
2012-10-06poweroff: fix bug in orderly_poweroff()hongfeng1-1/+1
2012-10-06kernel/sys.c: call disable_nonboot_cpus() in kernel_restart()Shawn Guo1-0/+1
2012-09-26switch simple cases of fget_light to fdgetAl Viro1-8/+8
2012-09-26switch prctl_set_mm_exe_file() to fget_light()Al Viro1-4/+4
2012-07-30kernel/sys.c: avoid argv_free(NULL)Andrew Morton1-19/+25
2012-07-30prctl: remove redunant assignment of "error" to zeroSasikantha babu1-11/+2
2012-07-11c/r: prctl: less paranoid prctl_set_mm_exe_file()Konstantin Khlebnikov1-6/+10
2012-06-20c/r: prctl: Move PR_GET_TID_ADDRESS to a proper placeCyrill Gorcunov1-3/+3
2012-06-07c/r: prctl: drop VMA flags test on PR_SET_MM_ stack data assignmentCyrill Gorcunov1-14/+0
2012-06-07c/r: prctl: add ability to get clear_tid_addressCyrill Gorcunov1-0/+13
2012-06-07c/r: prctl: add minimal address test to PR_SET_MMCyrill Gorcunov1-1/+1
2012-06-07c/r: prctl: update prctl_set_mm_exe_file() after mm->num_exe_file_vmas removalKonstantin Khlebnikov1-12/+19
2012-05-31c/r: prctl: add ability to set new mm_struct::exe_fileCyrill Gorcunov1-0/+56
2012-05-31c/r: prctl: extend PR_SET_MM to set up more mm_struct entriesCyrill Gorcunov1-51/+83
2012-05-31kmod: convert two call sites to call_usermodehelper_fns()Boaz Harrosh1-11/+8
2012-05-31sethostname/setdomainname: notify userspace when there is a change in uts_ker...Sasikantha babu1-2/+2
2012-05-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-92/+174
2012-05-03userns: Convert ptrace, kill, set_priority permission checks to work with kui...Eric W. Biederman1-10/+8
2012-05-03userns: Convert setting and getting uid and gid system calls to use kuid and ...Eric W. Biederman1-67/+149
2012-05-03userns: Store uid and gid values in struct cred with kuid_t and kgid_t typesEric W. Biederman1-17/+9
2012-04-14seccomp: add system call filtering using BPFWill Drewry1-1/+1
2012-04-14Add PR_{GET,SET}_NO_NEW_PRIVS to prevent execve from granting privsAndy Lutomirski1-0/+10
2012-04-07userns: Disassociate user_struct from the user_namespace.Eric W. Biederman1-11/+23
2012-04-07userns: Add kuid_t and kgid_t and associated infrastructure in uidgid.hEric W. Biederman1-2/+0
2012-04-07userns: Use cred->user_ns instead of cred->user->user_nsEric W. Biederman1-4/+4
2012-04-07userns: Remove unnecessary cast to struct user_struct when copying cred->user.Eric W. Biederman1-2/+2
2012-03-28pidns: add reboot_pid_ns() to handle the reboot syscallDaniel Lezcano1-0/+9
2012-03-23prctl: add PR_{SET,GET}_CHILD_SUBREAPER to allow simple process supervisionLennart Poettering1-0/+8
2012-03-15prctl: use CAP_SYS_RESOURCE for PR_SET_MM optionCyrill Gorcunov1-1/+1
2012-01-12c/r: prctl: add PR_SET_MM codes to set up mm_struct entriesCyrill Gorcunov1-0/+121
2011-12-15[S390] cputime: add sparse checking and cleanupMartin Schwidefsky1-3/+3
2011-11-06Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+2
2011-11-02sysctl: add support for poll()Lucas De Marchi1-0/+2
2011-10-31kernel: fix several implicit usasges of kmod.hPaul Gortmaker1-0/+1
2011-10-31kernel: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1
2011-10-24Merge branch 'master' of ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2011-10-17Avoid using variable-length arrays in kernel/sys.cLinus Torvalds1-1/+1
2011-09-28connector: add comm change event report to proc connectorVladimir Zapolskiy1-0/+1
2011-08-25Add a personality to report 2.6.x version numbersAndi Kleen1-0/+38
2011-08-11move RLIMIT_NPROC check from set_user() to do_execve_common()Vasiliy Kulikov1-4/+11
2011-07-25notifiers: sys: move reboot notifiers into reboot.hAmerigo Wang1-1/+31
2011-05-19Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+2
2011-05-11PM: Remove sysdev suspend, resume and shutdown operationsRafael J. Wysocki1-3/+0
2011-05-06reboot: disable usermodehelper to prevent fs accessKay Sievers1-0/+2
2011-03-23userns: user namespaces: convert all capable checks in kernel/sys.cSerge E. Hallyn1-26/+49
2011-03-23userns: allow sethostname in a containerSerge E. Hallyn1-1/+1
2011-03-15PM / Core: Introduce struct syscore_ops for core subsystems PMRafael J. Wysocki1-0/+4
2011-01-31Fix prlimit64 for suid/sgid processesKacper Kornet1-1/+2
2011-01-13kmsg_dump: add kmsg_dump() calls to the reboot, halt, poweroff and emergency_...Seiji Aguchi1-0/+6
2010-11-30sched: Add 'autogroup' scheduling feature: automated per session task groupsMike Galbraith1-1/+3
2010-08-31pid: make setpgid() system call use RCU read-side critical sectionPaul E. McKenney1-0/+2
2010-07-16rlimits: implement prlimit64 syscallJiri Slaby1-0/+94
2010-07-16rlimits: switch more rlimit syscalls to do_prlimitJiri Slaby1-9/+8
2010-07-16rlimits: redo do_setrlimit to more generic do_prlimitJiri Slaby1-34/+37
2010-07-16rlimits: do security check under task_lockJiri Slaby1-10/+10
2010-07-16rlimits: allow setrlimit to non-current tasksJiri Slaby1-1/+10
2010-07-16rlimits: split sys_setrlimitJiri Slaby1-16/+24
2010-07-16rlimits: make sure ->rlim_max never grows in sys_setrlimitOleg Nesterov1-7/+8
2010-07-16rlimits: add task_struct to update_rlimit_cpuJiri Slaby1-1/+1
2010-07-16rlimits: security, add task_struct to setrlimitJiri Slaby1-1/+1
2010-05-27kmod: add init function to usermodehelperNeil Horman1-3/+3
2010-05-06Merge branch 'master' into nextJames Morris1-1/+2
2010-04-24kernel/sys.c: fix compat uname machineAndreas Schwab1-1/+1
2010-04-12security: remove dead hook task_setgidEric Paris1-16/+0
2010-04-12security: remove dead hook task_setuidEric Paris1-15/+0
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-12Add generic sys_olduname()Christoph Hellwig1-0/+54
2010-03-12improve sys_newuname() for compat architecturesChristoph Hellwig1-0/+13
2010-03-06kernel core: use helpers for rlimitsJiri Slaby1-2/+1
2010-02-28Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-5/+0
2010-02-22kernel/sys.c: fix missing rcu protection for sys_getpriority()Tetsuo Handa1-0/+2
2010-01-21sched: Remove USER_SCHEDDhaval Giani1-5/+0
2009-12-19Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+2
2009-12-15kernel/sys.c: fix "warning: do-while statement is not a compound statement" n...H Hartley Sweeten1-4/+4
2009-12-10sys: Fix missing rcu protection for __task_cred() accessThomas Gleixner1-0/+2
2009-12-09Merge branch 'bkl-core-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-7/+7
2009-12-02sched, cputime: Introduce thread_group_times()Hidetoshi Seto1-10/+8
2009-11-26sched: Introduce task_times() to replace task_{u,s}time() pairHidetoshi Seto1-2/+1
2009-10-29Merge branch 'hwpoison-2.6.32' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-5/+18
2009-10-29connector: fix regression introduced by sid connectorChristian Borntraeger1-0/+2
2009-10-14sys: Remove BKL from sys_rebootThomas Gleixner1-7/+7
2009-10-04HWPOISON: Clean up PR_MCE_KILL interfaceAndi Kleen1-5/+18
2009-09-24Merge branch 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/l...Linus Torvalds1-0/+22
2009-09-23getrusage: fill ru_maxrss valueJiri Pirko1-0/+14
2009-09-21perf: Do the big rename: Performance Counters -> Performance EventsIngo Molnar1-5/+5
2009-09-16HWPOISON: Add PR_MCE_KILL prctl to control early kill behaviour per processAndi Kleen1-0/+22
2009-06-16groups: move code to kernel/groups.cAlexey Dobriyan1-283/+0
2009-04-29Merge branch 'linus' into perfcounters/coreIngo Molnar1-15/+9
2009-04-13kernel/sys.c: clean up sys_shutdown exit pathAndi Kleen1-15/+9
2009-04-06Merge branch 'linus' into perfcounters/core-v2Ingo Molnar1-3/+2
2009-04-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+1
2009-04-02pids: kill signal_struct-> __pgrp/__session and friendsOleg Nesterov1-3/+1
2009-03-31Get rid of indirect include of fs_struct.hAl Viro1-0/+1
2009-03-04Merge commit 'v2.6.29-rc7' into perfcounters/coreIngo Molnar1-11/+20
2009-02-27sched: don't allow setuid to succeed if the user does not have rt bandwidthDhaval Giani1-11/+20
2009-02-11Merge commit 'v2.6.29-rc4' into perfcounters/coreIngo Molnar1-12/+4
2009-02-05revert "rlimit: permit setting RLIMIT_NOFILE to RLIM_INFINITY"Andrew Morton1-12/+4
2009-01-21Merge commit 'v2.6.29-rc2' into perfcounters/coreIngo Molnar1-34/+36
2009-01-14[CVE-2009-0029] System call wrappers part 31Heiko Carstens1-2/+2