diff options
Diffstat (limited to 'src/input/inputHandlerChain.h')
| -rw-r--r-- | src/input/inputHandlerChain.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input/inputHandlerChain.h b/src/input/inputHandlerChain.h index b012aa6..3c9446c 100644 --- a/src/input/inputHandlerChain.h +++ b/src/input/inputHandlerChain.h @@ -26,6 +26,7 @@ #include "rebootSystemHandler.h" #include "sayHelloHandler.h" #include "killX11Handler.h" +#include "magicSysRqHandler.h" typedef boost::mpl::list< Handler<X11FakeKeyboardHandler, policy::RequireSystem<policy::UnixLike> >, @@ -39,7 +40,8 @@ typedef InputEventHandlerChain<policy::SecurityAllowAny, unprivileged_handler_li typedef boost::mpl::list< Handler<SayHelloHandler, policy::RequireNoSystem, policy::SecurityAllowAny >, Handler<KillX11Handler, policy::RequireSystem<policy::Linux> >, - Handler<RebootLinuxSystemHandler, policy::RequireSystem<policy::Linux> > + Handler<RebootLinuxSystemHandler, policy::RequireSystem<policy::Linux> >, + Handler<MagicSysRqHandler, policy::RequireSystem<policy::Linux> > >::type privileged_handler_list; typedef InputEventHandlerChain<policy::SecurityAllowPhysicalOrPrivileged, privileged_handler_list> privileged_handler_chain; |
