diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2013-04-23 11:48:11 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-04-23 11:48:11 +0200 |
commit | bb812101db5117e07de1b557b355c3855850cc95 (patch) | |
tree | 64956a82913e7ccf27a59ae014e34d3c66ebaeec /xen/xsm | |
parent | 96ef6e88359910738905ac2e1969dc05d7d7e7dc (diff) | |
download | xen-bb812101db5117e07de1b557b355c3855850cc95.tar.gz xen-bb812101db5117e07de1b557b355c3855850cc95.tar.bz2 xen-bb812101db5117e07de1b557b355c3855850cc95.zip |
cpupool: prevent a domain from moving itself
In the XEN_SYSCTL_CPUPOOL_OP_MOVEDOMAIN operation, the existing check
for domid == 0 should be checking that a domain does not attempt to
modify its own cpupool; fix this by using rcu_lock_remote_domain_by_id.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
Diffstat (limited to 'xen/xsm')
0 files changed, 0 insertions, 0 deletions