aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sys.c
AgeCommit message (Expand)AuthorFilesLines
2013-03-22poweroff: change orderly_poweroff() to use schedule_work()Oleg Nesterov1-25/+32
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
2009-01-14[CVE-2009-0029] System call wrappers part 26Heiko Carstens1-2/+2
2009-01-14[CVE-2009-0029] System call wrappers part 24Heiko Carstens1-6/+7
2009-01-14[CVE-2009-0029] System call wrappers part 23Heiko Carstens1-3/+3
2009-01-14[CVE-2009-0029] System call wrappers part 07Heiko Carstens1-3/+4
2009-01-14[CVE-2009-0029] System call wrappers part 04Heiko Carstens1-3/+3
2009-01-14[CVE-2009-0029] System call wrappers part 03Heiko Carstens1-9/+9
2009-01-14[CVE-2009-0029] System call wrappers part 02Heiko Carstens1-5/+5
2009-01-14[CVE-2009-0029] System call wrappers part 01Heiko Carstens1-1/+1
2009-01-11Merge commit 'v2.6.29-rc1' into perfcounters/coreIngo Molnar1-1/+5
2009-01-06Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+2
2009-01-06Allow times and time system calls to return small negative valuesPaul Mackerras1-0/+2
2009-01-04getrusage: RUSAGE_THREAD should return ru_utime and ru_stimeKOSAKI Motohiro1-0/+2
2008-12-30Merge branch 'core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2008-12-29Merge branch 'linus' into perfcounters/coreIngo Molnar1-254/+332
2008-12-11perf counters: add prctl interface to disable/enable countersIngo Molnar1-0/+7
2008-11-24User namespaces: set of cleanups (v2)Serge Hallyn1-2/+2
2008-11-17thread_group_cputime: move a couple of callsites outside of ->siglockOleg Nesterov1-1/+1
2008-11-14CRED: Inaugurate COW credentialsDavid Howells1-205/+245
2008-11-14CRED: Use RCU to access another task's creds and to release a task's own credsDavid Howells1-4/+7
2008-11-14CRED: Wrap current->cred and a few other accessorsDavid Howells1-30/+29
2008-11-14CRED: Separate task security context from task_structDavid Howells1-115/+151
2008-11-14CRED: Wrap task credential accesses in the core kernelDavid Howells1-8/+8
2008-10-22Merge branch 'timers/range-hrtimers' into v28-range-hrtimers-for-linus-v2Thomas Gleixner1-0/+10
2008-10-20Merge branches 'timers/clocksource', 'timers/hrtimers', 'timers/nohz', 'timer...Thomas Gleixner1-62/+51
2008-10-17Merge commit 'linus/master' into merge-linusArjan van de Ven1-13/+25
2008-10-16kernel/sys.c: improve code generationAndrew Morton1-8/+12
2008-10-16utsname: completely overwrite prior informationVegard Nossum1-2/+4
2008-10-16rlimit: permit setting RLIMIT_NOFILE to RLIM_INFINITYAdam Tkac1-4/+12
2008-10-13tty: Add a kref countAlan Cox1-3/+1
2008-09-14timers: fix itimer/many thread hangFrank Mayhar1-49/+26
2008-09-05hrtimer: create a "timer_slack" field in the task structArjan van de Ven1-0/+10
2008-08-20fix setpriority(PRIO_PGRP) thread iterator breakageKen Chen1-4/+4
2008-08-15kexec jump: remove duplication of kexec_restart_prepare()Huang Ying1-1/+1
2008-07-26kexec jumpHuang Ying1-23/+8
2008-07-25unexport uts_semAdrian Bunk1-2/+0
2008-07-25call_usermodehelper(): increase reliabilityKOSAKI Motohiro1-1/+1
2008-05-24sys_prctl(): fix return of uninitialized valueShi Weihua1-4/+2
2008-04-30pids: sys_getpgid: fix unsafe *pid usage, s/tasklist/rcu/Oleg Nesterov1-15/+21
2008-04-30pids: sys_getsid: fix unsafe *pid usage, fix possible 0 instead of -ESRCHOleg Nesterov1-13/+20
2008-04-30pids: sys_setpgid: use change_pid() helperOleg Nesterov1-2/+1
2008-04-30k_getrusage: don't take rcu_read_lock()Oleg Nesterov1-6/+1
2008-04-29add RUSAGE_THREADSripathi Kodi1-9/+22
2008-04-28capabilities: implement per-process securebitsAndrew G. Morgan1-25/+2
2008-04-19generic, x86: add prctl commands PR_GET_TSC and PR_SET_TSCErik Bosman1-1/+12
2008-02-08Pidns: make full use of xxx_vnr() callsPavel Emelyanov1-5/+2
2008-02-08sys_getsid: don't use ->nsproxy directlyOleg Nesterov1-7/+4
2008-02-08sys_setsid: remove now unneeded session != 1 checkOleg Nesterov1-4/+1
2008-02-08start the global /sbin/init with 0,0 special pidsOleg Nesterov1-5/+4
2008-02-08teach set_special_pids() to use struct pidOleg Nesterov1-1/+1
2008-02-08fix setsid() for sub-namespace /sbin/initOleg Nesterov1-12/+10
2008-02-08sys_setpgid(): simplify pid/ns interactionOleg Nesterov1-13/+10
2008-02-06kernel/sys.c: get rid of expensive divides in groups_sort()Eric Dumazet1-10/+10
2008-02-06get rid of NR_OPEN and introduce a sysctl_nr_openEric Dumazet1-1/+1
2008-02-05make kernel_shutdown_prepare() staticAdrian Bunk1-1/+1
2008-02-05capabilities: introduce per-process capability bounding setSerge E. Hallyn1-1/+12
2007-11-17x86: ignore the sys_getcpu() tcache parameterIngo Molnar1-19/+1
2007-10-19Isolate the explicit usage of signal->pgrpPavel Emelyanov1-1/+1
2007-10-19Uninline find_task_by_xxx set of functionsPavel Emelyanov1-5/+4
2007-10-19pid namespaces: changes to show virtual ids to userPavel Emelyanov1-21/+33
2007-10-19pid namespaces: round up the APIPavel Emelianov1-7/+7
2007-10-19Add kernel/notifier.cAlexey Dobriyan1-531/+0
2007-10-18unexport pm_power_off_prepareAdrian Bunk1-1/+0
2007-10-01Fix SMP poweroff hangsMark Lord1-0/+2
2007-08-31setpgid(child) fails if the child was forked by sub-threadOleg Nesterov1-2/+1
2007-07-29Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATIONRafael J. Wysocki1-1/+1
2007-07-26Fix ThinkPad T42 poweroff failure introduced by by "PM: Introduce pm_power_of...Rafael J. Wysocki1-0/+3
2007-07-19coredump masking: reimplementation of dumpable using two flagsKawai, Hidehiro1-12/+12
2007-07-19PM: Introduce pm_power_off_prepareRafael J. Wysocki1-0/+9
2007-07-18usermodehelper: Tidy up waitingJeremy Fitzhardinge1-1/+1
2007-07-18Add common orderly_poweroff()Jeremy Fitzhardinge1-0/+58
2007-07-16move seccomp from /proc to a prctlAndrea Arcangeli1-0/+8
2007-07-16user namespace: add the frameworkCedric Le Goater1-2/+3
2007-05-11attach_pid() with struct pid parameterSukadev Bhattiprolu1-1/+1
2007-05-11use defines in sys_getpriority/sys_setpriorityDaniel Walker1-2/+3
2007-05-11getrusage(): fill ru_inblock and ru_oublock fields if possibleEric Dumazet1-0/+7
2007-05-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivialLinus Torvalds1-1/+1
2007-05-09Extend notifier_call_chain to count nr_calls madeGautham R Shenoy1-17/+77
2007-05-09PM: Separate hibernation code from suspend codeRafael J. Wysocki1-1/+1
2007-05-09general: convert "kernel" subdirectory to UTF-8John Anthony Kazos Jr1-1/+1
2007-05-08CPU time limit patch / setrlimit(RLIMIT_CPU, 0) cheat fixTom Alsberg1-9/+10
2007-05-07remove software_suspend()Johannes Berg1-1/+1
2007-02-12[PATCH] pid: replace do/while_each_task_pid with do/while_each_pid_taskEric W. Biederman1-16/+24
2007-02-12[PATCH] tty: update the tty layer to work with struct pidEric W. Biederman1-1/+0
2007-02-11[PATCH] Numerous fixes to kernel-doc info in source files.Robert P. J. Day1-5/+5
2007-01-23[PATCH] notifiers: fix blocking_notifier_call_chain() scalabilityIngo Molnar1-4/+11
2006-12-08[PATCH] sys_setpgid: eliminate unnecessary do_each_task_pid(PIDTYPE_PGID)Oleg Nesterov1-7/+4
2006-12-08[PATCH] add process_session() helper routineCedric Le Goater1-4/+4
2006-12-08[PATCH] tty: ->signal->tty lockingPeter Zijlstra1-2/+4
2006-12-07[PATCH] sys: remove unused variableDavid Rientjes1-2/+2
2006-11-22WorkStruct: Pass the work_struct pointer instead of context dataDavid Howells1-2/+2