diff options
Diffstat (limited to 'xen/common/schedule.c')
-rw-r--r-- | xen/common/schedule.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/xen/common/schedule.c b/xen/common/schedule.c index ae798c95dc..d40508144b 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -921,12 +921,6 @@ ret_t do_sched_op(int cmd, XEN_GUEST_HANDLE_PARAM(void) arg) if ( d == NULL ) break; - if ( !IS_PRIV_FOR(current->domain, d) ) - { - rcu_unlock_domain(d); - return -EPERM; - } - ret = xsm_schedop_shutdown(current->domain, d); if ( ret ) { |