aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/unifdef.c
diff options
context:
space:
mode:
authorDhaval Giani <[email protected]>2009-02-27 09:43:54 +0000
committerIngo Molnar <[email protected]>2009-02-27 10:11:53 +0000
commit54e991242850edc8c53f71fa5aa3ba7a93ce38f5 (patch)
tree7f136214aab690a8ee4a294ca9c1a7e01de0dc49 /scripts/unifdef.c
parentsched_rt: don't start timer when rt bandwidth disabled (diff)
downloadkernel-54e991242850edc8c53f71fa5aa3ba7a93ce38f5.tar.gz
kernel-54e991242850edc8c53f71fa5aa3ba7a93ce38f5.zip
sched: don't allow setuid to succeed if the user does not have rt bandwidth
Impact: fix hung task with certain (non-default) rt-limit settings Corey Hickey reported that on using setuid to change the uid of a rt process, the process would be unkillable and not be running. This is because there was no rt runtime for that user group. Add in a check to see if a user can attach an rt task to its task group. On failure, return EINVAL, which is also returned in CONFIG_CGROUP_SCHED. Reported-by: Corey Hickey <[email protected]> Signed-off-by: Dhaval Giani <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions