Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ubuntu 11.10 fix (XIQueryDevice)HEADmaster | Johann Latocha | 2012-03-23 | 1 | -0/+6 |
| | |||||
* | Replace stray uint{16,32}_t references by quint{16,32} | Sebastien Braun | 2010-11-04 | 1 | -23/+23 |
| | |||||
* | Documentation fixes and code cleanup | Sebastien Braun | 2010-10-24 | 25 | -239/+689 |
| | |||||
* | Fix forgotten change of j to mods in X11FakeKeyboardHandler. | Sebastien Braun | 2010-10-13 | 1 | -1/+1 |
| | |||||
* | Formatting fixes for X11FakeKeyboardHandler | Sebastien Braun | 2010-10-13 | 1 | -1/+6 |
| | |||||
* | Uncomment killing of X-Server | Sebastien Braun | 2010-10-13 | 1 | -1/+1 |
| | |||||
* | Introduce init-scripts for pvsprivinputd | Sebastien Braun | 2010-10-13 | 3 | -0/+198 |
| | |||||
* | Fix build error. | Sebastien Braun | 2010-10-12 | 1 | -5/+0 |
| | |||||
* | Fix default PolicyKit policy | Sebastien Braun | 2010-10-12 | 1 | -2/+2 |
| | | | | Admin password is required if user is not local and unprivileged. | ||||
* | Fix segmentation fault in LogNonMatchingHandler | Sebastien Braun | 2010-10-12 | 1 | -1/+1 |
| | | | | Would SIGSEGV if an unmatched event arrived with no context. | ||||
* | Fix InputEventHandler logic bug | Sebastien Braun | 2010-10-12 | 1 | -1/+1 |
| | | | | Entered break instead of return. | ||||
* | Better error handling for PVSPrivInputHandler | Sebastien Braun | 2010-10-11 | 2 | -4/+21 |
| | |||||
* | Log unmatched events in pvsprivinputd, too. | Sebastien Braun | 2010-10-11 | 1 | -1/+3 |
| | |||||
* | Introduce LogNonMatchingHandler | Sebastien Braun | 2010-10-11 | 4 | -1/+64 |
| | |||||
* | Fix broken formatting of InputEvent::toString() | Sebastien Braun | 2010-10-11 | 1 | -1/+1 |
| | |||||
* | Fix stupidity in handler chain definition | Sebastien Braun | 2010-10-11 | 2 | -2/+2 |
| | |||||
* | Code cleanup and simplification for X11FakeKeyboardHandler | Sebastien Braun | 2010-10-11 | 2 | -329/+358 |
| | |||||
* | Remove leftover code that serves no purpose | Sebastien Braun | 2010-10-11 | 1 | -4/+0 |
| | |||||
* | Add an InputEventHandler that is not compatible anywhere. | Sebastien Braun | 2010-10-11 | 2 | -1/+40 |
| | |||||
* | Fix bug in logical OR when chaining Require<...> Policy. | Sebastien Braun | 2010-10-11 | 1 | -2/+7 |
| | |||||
* | Add some comments to inputEventHandler.h | Sebastien Braun | 2010-10-10 | 1 | -0/+7 |
| | |||||
* | Introduce an implicit logical AND into Require policy | Sebastien Braun | 2010-10-10 | 1 | -3/+3 |
| | |||||
* | Fix wrong policy: KillX11Handler only works on Linux, due to dependency on ↵ | Sebastien Braun | 2010-10-10 | 1 | -4/+1 |
| | | | | the /proc file system's layout. | ||||
* | Lose the `get' method prefix on InputEventContext since it does not fit in | Sebastien Braun | 2010-10-10 | 5 | -11/+11 |
| | |||||
* | Code cleanup for inputEvent.h | Sebastien Braun | 2010-10-10 | 4 | -68/+74 |
| | | | | | | | - Use Qt's fixed-width integral types instead of stdint.h, which I forgot to include anyway - CamelCase identifiers - fix underscore position on instance variables | ||||
* | Code cleanup for X11FakeKeyboardHandler.cpp | Sebastien Braun | 2010-10-10 | 1 | -225/+184 |
| | | | | | | - CamelCase names - Add more comments - Remove unused stuff | ||||
* | Actually install pvsprivinputd | Sebastien Braun | 2010-10-10 | 1 | -0/+4 |
| | |||||
* | Move the translations for pvsinput into the library where they belong. | Sebastien Braun | 2010-10-10 | 9 | -24/+844 |
| | |||||
* | It is not necessary to auto-generate policyChain_autogen.h anymore | Sebastien Braun | 2010-10-10 | 3 | -80/+1 |
| | | | | All it did is handled by implicit TypeList parameters. | ||||
* | Rework template meta-magic | Sebastien Braun | 2010-10-07 | 34 | -364/+954 |
| | | | | | | | - No more implicit dependency on Boost.MPL - Better documentation for template magic - Move input handler policies to handler definitions where they belong - Separate out event descriptions from handlers | ||||
* | Make behaviour on lookup failures configurable | Sebastien Braun | 2010-10-07 | 3 | -14/+88 |
| | |||||
* | Implement magic SysRq handler. | Sebastien Braun | 2010-10-07 | 4 | -1/+104 |
| | |||||
* | Sanitize security model yet again | Sebastien Braun | 2010-10-07 | 3 | -22/+48 |
| | | | | | | | | | | The flags model was not satisfactory since it made it unnecessarily difficult to express the standard policy of "allow all to users that are physically sitting in front of the machine and to privileged users". The new model expressly knows different policies (two at the moment) and refrains from decomposing them. Additional policies are not difficult to add. | ||||
* | Install a pvsprivinputd.conf template into /etc | Sebastien Braun | 2010-10-07 | 2 | -0/+19 |
| | |||||
* | Implement log targets for pvsprivinputd | Sebastien Braun | 2010-10-07 | 4 | -6/+308 |
| | | | | | | | Also: - add command line options and usage message. - change --no-fork to --daemon to bring it in line with the pvs daemon. | ||||
* | Install PolKit policy file | Sebastien Braun | 2010-10-06 | 2 | -0/+37 |
| | | | | and try to detect the policy directory. | ||||
* | Detect the presence of PolKit on configuration | Sebastien Braun | 2010-10-06 | 2 | -0/+25 |
| | | | | | | When no PolKit is installed, the program gets built without support for it. This can be overriden by specifying -DENABLE_POLKIT=ON on the cmake command line. | ||||
* | Fix deletion order bug | Sebastien Braun | 2010-10-06 | 3 | -2/+15 |
| | | | | | | PVSCheckPrivileges::instance() is statically allocated. When it is deleted, the QCoreApplication is already gone (since it is stack- allocated), and the destructor of QFileSystemWatcher waits forever. | ||||
* | Refactor signal handling in pvsprivinputd | Sebastien Braun | 2010-10-06 | 6 | -18/+155 |
| | | | | | Only use one socketpair and delegate the actual decision of what to do when a specific signal is received to a special object. | ||||
* | Implement administratively configured user privileges | Sebastien Braun | 2010-10-06 | 3 | -3/+178 |
| | | | | | | The administrator can set a list of users and a list of groups to see as privileged. This list is reloaded whenever the configuration file changes, or changes to the user/group database are detected. | ||||
* | Change location of pvsprivinputd.conf to /etc/ | Sebastien Braun | 2010-10-06 | 2 | -2/+34 |
| | | | | | Also centralize the knowledge of that location so that it lives in one place only. | ||||
* | Fix typo that prevents correct compilation when XInput2.h is present | Sebastien Braun | 2010-10-06 | 1 | -1/+1 |
| | |||||
* | Fix recognition of letters in keyboard handler | Sebastien Braun | 2010-10-05 | 1 | -1/+1 |
| | |||||
* | Add hard requirement for XInput library. | Sebastien Braun | 2010-10-05 | 2 | -4/+53 |
| | | | | XInput2 will be preferred if its presence is detected. | ||||
* | Unify keyword case in src/input/CMakeLists.txt | Sebastien Braun | 2010-10-05 | 1 | -3/+3 |
| | |||||
* | Implement RebootSystem and KillX11 handlers. | Sebastien Braun | 2010-10-05 | 6 | -1/+197 |
| | |||||
* | Implement example privileged SayHelloHandler. | Sebastien Braun | 2010-10-05 | 4 | -0/+62 |
| | |||||
* | Implement privileged input daemon, first version without handlers. | Sebastien Braun | 2010-10-05 | 9 | -7/+687 |
| | |||||
* | Add description to input event handlers so they can | Sebastien Braun | 2010-10-05 | 1 | -0/+40 |
| | |||||
* | Add Permission checking and session information code. | Sebastien Braun | 2010-10-05 | 4 | -0/+493 |
| |