]> Zhao Yanbai Git Server - minix.git/commitdiff
Don't let everyone do IOPENABLE.
authorBen Gras <ben@minix3.org>
Fri, 21 Oct 2005 20:22:27 +0000 (20:22 +0000)
committerBen Gras <ben@minix3.org>
Fri, 21 Oct 2005 20:22:27 +0000 (20:22 +0000)
kernel/system.c

index e16685251b314adbf49e7cd27bcf3286f018faee..cf1ed27df46390518ea1765bcaa333bc2ba4f351 100755 (executable)
@@ -75,8 +75,7 @@ PUBLIC void sys_task()
       caller_ptr = proc_addr(m.m_source);      
 
       /* See if the caller made a valid request and try to handle it. */
-      if (! (priv(caller_ptr)->s_call_mask & (1<<call_nr)) &&
-         m.m_type != SYS_IOPENABLE ) {
+      if (! (priv(caller_ptr)->s_call_mask & (1<<call_nr))) {
 #if DEBUG_ENABLE_IPC_WARNINGS
          kprintf("SYSTEM: request %d from %d denied.\n", call_nr,m.m_source);
 #endif