bitkeeper revision 1.1159.130.3 (41792ed6aunLXFVdvW9RR6KzJOFiVw)

Add a required privilege check.
This commit is contained in:
kaf24@freefall.cl.cam.ac.uk committed 2004-10-22 16:01:26 +00:00
1 parent d553e23081
commit af23bfbeea
1 file changed
+2
+2
View File
@@ -159,6 +159,8 @@ static long evtchn_bind_interdomain(evtchn_bind_interdomain_t *bind)
switch ( d1->event_channel[port1].state )
{
case ECS_FREE:
if ( !IS_PRIV(current) && (dom2 != DOMID_SELF) )
ERROR_EXIT(-EPERM);
break;
case ECS_UNBOUND:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.