diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-12-21 18:19:27 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-01-03 06:45:28 -0500 |
commit | 73da50b48b6e7c60add2fcf0b683318b76ecb340 (patch) | |
tree | 536e357fa0935fa425e413294265ec704ff8ab38 /security/selinux | |
parent | f07bb0a4549916107a7619d0bc4cb5dc09d5744a (diff) |
bugfix: clear scheduled field of the correct CPU upon task_exit in C-EDF
Do not use the "scheduled_on" field to address the cpus structure
within a cluster. cpus may contain less items than num_online_cpus and
we may cause an out-of-bound access. Instead, use "scheduled_on" to
directly access the per-cpu cpu_entry_t structure.
Reported-by: Jonathan Herman <hermanjl@cs.unc.edu>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions