aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2009-11-14 11:37:04 -0500
committerJiri Slaby <jirislaby@gmail.com>2010-07-16 03:48:47 -0400
commit86f162f4c75ceb6daf43165469eeeca1bc3d4639 (patch)
treebca0e9d28d636fbaefb1846bdb85d9b57708df11 /virt/kvm
parent1c1e618ddd15f69fd87ccea596769f78c8065504 (diff)
rlimits: do security check under task_lock
Do security_task_setrlimit under task_lock. Other tasks may change limits under our hands while we are checking limits inside the function. From now on, they can't. Note that all the security work is done under a spinlock here now. Security hooks count with that, they are called from interrupt context (like security_task_kill) and with spinlocks already held (e.g. capable->security_capable). Signed-off-by: Jiri Slaby <jslaby@suse.cz> Acked-by: James Morris <jmorris@namei.org> Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions