Index: generic/include/ddi/ddi.h
===================================================================
--- generic/include/ddi/ddi.h	(revision 97a7effc811599a0a052715fae6d7e97c2fa066c)
+++ generic/include/ddi/ddi.h	(revision 613bc54e40bd66aec3da7e1b368afbcd6e8c6453)
@@ -40,4 +40,6 @@
  * Interface to be implemented by all architectures.
  */
+extern __native ddi_int_control_arch(__native enable, __native *flags);
+extern __native ddi_int_control(__native enable, __native *flags);
 extern int ddi_enable_iospace_arch(task_t *task, __address ioaddr, size_t size);
 
Index: generic/include/security/cap.h
===================================================================
--- generic/include/security/cap.h	(revision 97a7effc811599a0a052715fae6d7e97c2fa066c)
+++ generic/include/security/cap.h	(revision 613bc54e40bd66aec3da7e1b368afbcd6e8c6453)
@@ -58,4 +58,9 @@
 #define CAP_IO_MANAGER		(1<<2)
 
+/**
+ * CAP_INT_CONTROL allows its holder to disable interrupts
+ */
+#define CAP_INT_CONTROL         (1<<3)
+
 typedef __u32 cap_t;
 
Index: generic/include/syscall/syscall.h
===================================================================
--- generic/include/syscall/syscall.h	(revision 97a7effc811599a0a052715fae6d7e97c2fa066c)
+++ generic/include/syscall/syscall.h	(revision 613bc54e40bd66aec3da7e1b368afbcd6e8c6453)
@@ -33,4 +33,5 @@
 	SYS_IO = 0,
 	SYS_TLS_SET = 1, /* Hardcoded in AMD64,IA32 uspace - psthread.S */
+	SYS_INT_CONTROL = 2, /* Hardcoded in all SYSCALL handlers */
 	SYS_THREAD_CREATE,
 	SYS_THREAD_EXIT,
