First  |  Prev |  Next  |  Last
Pages: 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922
[PATCH v4 01/12] rlimits: security, add task_struct to setrlimit
From: Jiri Slaby <jirislaby(a)> Add task_struct to task_setrlimit of security_operations to be able to set rlimit of task other than current. Signed-off-by: Jiri Slaby <jirislaby(a)> Acked-by: Eric Paris <eparis(a)> Acked-by: James Morris <jmorris(a)> --- include/linux/security.... 23 Jun 2010 18:25
[PATCH v4 10/12] rlimits: switch more rlimit syscalls to do_prlimit
From: Jiri Slaby <jirislaby(a)> After we added more generic do_prlimit, switch sys_getrlimit to that. Also switch compat handling, so we can get rid of ugly __user casts and avoid setting process' address limit to kernel data and back. Signed-off-by: Jiri Slaby <jslaby(a)> --- kernel/compat.c | ... 23 Jun 2010 18:25
[PATCH v4 09/12] rlimits: redo do_setrlimit to more generic do_prlimit
It now allows also reading of limits. I.e. all read and writes will later use this function. It takes two parameters, new and old limits which can be both NULL. If new is non-NULL, the value in it is set to rlimits. If old is non-NULL, current rlimits are stored there. If both are non-NULL, old are stored prior ... 23 Jun 2010 18:25
[PATCH v4 08/12] rlimits: add rlimit64 structure
Add a platform independent structure for resource limits to use with a new prlimit64 syscall. This structure is the same which uses glibc for 64-bit limits. Also add corresponding infinity which is a 64-bit full of bit-ones. Signed-off-by: Jiri Slaby <jslaby(a)> --- include/linux/resource.h | 7 +++++... 23 Jun 2010 18:25
[PATCH v4 12/12] unistd: add __NR_prlimit64 syscall numbers
Add __NR_prlimit64 syscall numbers to asm-generic. Add them also to asm-x86, both 32 and 64-bit. Signed-off-by: Jiri Slaby <jslaby(a)> Cc: Thomas Gleixner <tglx(a)> Cc: Ingo Molnar <mingo(a)> Cc: "H. Peter Anvin" <hpa(a)> --- arch/x86/ia32/ia32entry.S | 1 + arch/x86/i... 23 Jun 2010 18:25
[PATCH v4 05/12] rlimits: split sys_setrlimit
From: Jiri Slaby <jirislaby(a)> Create do_setrlimit from sys_setrlimit and declare do_setrlimit in the resource header. This is the first phase to have generic do_prlimit which allows to be called from read, write and compat rlimits code. The new do_setrlimit also accepts a task pointer to change the li... 23 Jun 2010 18:25
Regression in next-20100618
Hi Alan, I have a regression in the next tree from 20100618, the prompt freezes on the U8500. Drilling down with git bisecting found: 34ffc9670d67fe068f9d8582dd4d2a18d9a61205 Author: Alan Cox <alan(a)> Date: Tue Jun 1 22:53:00 2010 +0200 serial: Use block_til_ready helper Our code ... 23 Jun 2010 18:25
[PATCH v4 03/12] rlimits: make sure ->rlim_max never grows in sys_setrlimit
From: Oleg Nesterov <oleg(a)> Mostly preparation for Jiri's changes, but probably makes sense anyway. sys_setrlimit() checks new_rlim.rlim_max <= old_rlim->rlim_max, but when it takes task_lock() old_rlim->rlim_max can be already lowered. Move this check under task_lock(). Currently this is not impor... 23 Jun 2010 18:25
[PATCH v4 04/12] rlimits: selinux, do rlimits changes under task_lock
From: Oleg Nesterov <oleg(a)> When doing an exec, selinux updates rlimits in its code of current process depending on current max. Make sure max or cur doesn't change in the meantime by grabbing task_lock which do_prlimit needs for changing limits too. While at it, use rlimit helper for accessing CPU r... 23 Jun 2010 18:25
[PATCH] sctp: implement SIOCINQ ioctl()
This simple patch copies the current approach for SIOCINQ ioctl() from DCCP into SCTp so that the userland code working with SCTP can use a similar interface across different protocols to know how much space to allocate for a buffer. --- net/sctp/socket.c | 31 ++++++++++++++++++++++++++++++- 1 files changed, ... 23 Jun 2010 18:24
First  |  Prev |  Next  |  Last
Pages: 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922