mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Revert "evtchn: refuse EVTCHNOP_status for Xen-bound event channels"
The commit makes a claim without justification. The claim is false; it broke lsevtchn in dom0, a debugging utility which absolutely does care about all of the domain's event channels. Whether to return information about a xen-owned evtchn is a matter of policy, and it's not acceptable to subvert Xen's security subsystem on the decision. This reverts commitf60ab5337f. Fixes:f60ab5337f("evtchn: refuse EVTCHNOP_status for Xen-bound event channels") Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Daniel P. Smith <dpsmith@apertussolutions.com>
This commit is contained in:
1 parent
90a1bc9e82
commit
2d8d7481ca
1 file changed
-6
@@ -1041,12 +1041,6 @@ int evtchn_status(evtchn_status_t *status)
|
||||
|
||||
read_lock(&d->event_lock);
|
||||
|
||||
if ( consumer_is_xen(chn) )
|
||||
{
|
||||
rc = -EACCES;
|
||||
goto out;
|
||||
}
|
||||
|
||||
rc = xsm_evtchn_status(XSM_TARGET, d, chn);
|
||||
if ( rc )
|
||||
goto out;
|
||||
|
||||