summaryrefslogtreecommitdiffstats
path: root/src/input/inputHandlerChain.h
diff options
context:
space:
mode:
authorSebastien Braun2010-10-06 18:00:08 +0200
committerSebastien Braun2010-10-07 09:30:25 +0200
commit32672a51fe8b8ccf63e1cfeb89ac5e020fde787a (patch)
tree98b0524e96cc370ca0f61632bb02d1787304901e /src/input/inputHandlerChain.h
parentSanitize security model yet again (diff)
downloadpvs-32672a51fe8b8ccf63e1cfeb89ac5e020fde787a.tar.gz
pvs-32672a51fe8b8ccf63e1cfeb89ac5e020fde787a.tar.xz
pvs-32672a51fe8b8ccf63e1cfeb89ac5e020fde787a.zip
Implement magic SysRq handler.
Diffstat (limited to 'src/input/inputHandlerChain.h')
-rw-r--r--src/input/inputHandlerChain.h4
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;