summaryrefslogtreecommitdiffstats
path: root/src/input
Commit message (Collapse)AuthorAgeFilesLines
* Make behaviour on lookup failures configurableSebastien Braun2010-10-073-14/+88
|
* Implement magic SysRq handler.Sebastien Braun2010-10-074-1/+104
|
* Sanitize security model yet againSebastien Braun2010-10-073-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 /etcSebastien Braun2010-10-072-0/+19
|
* Implement log targets for pvsprivinputdSebastien Braun2010-10-074-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 fileSebastien Braun2010-10-062-0/+37
| | | | and try to detect the policy directory.
* Detect the presence of PolKit on configurationSebastien Braun2010-10-062-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 bugSebastien Braun2010-10-063-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 pvsprivinputdSebastien Braun2010-10-066-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 privilegesSebastien Braun2010-10-063-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 Braun2010-10-062-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 presentSebastien Braun2010-10-061-1/+1
|
* Fix recognition of letters in keyboard handlerSebastien Braun2010-10-051-1/+1
|
* Add hard requirement for XInput library.Sebastien Braun2010-10-052-4/+53
| | | | XInput2 will be preferred if its presence is detected.
* Unify keyword case in src/input/CMakeLists.txtSebastien Braun2010-10-051-3/+3
|
* Implement RebootSystem and KillX11 handlers.Sebastien Braun2010-10-056-1/+197
|
* Implement example privileged SayHelloHandler.Sebastien Braun2010-10-054-0/+62
|
* Implement privileged input daemon, first version without handlers.Sebastien Braun2010-10-059-7/+687
|
* Add description to input event handlers so they canSebastien Braun2010-10-051-0/+40
|
* Add Permission checking and session information code.Sebastien Braun2010-10-054-0/+493
|
* Refactor InputEvent handler code.Sebastien Braun2010-10-056-47/+85
| | | | | | - Make static methods virtual and store instances in the chains. - Propagate security context information. - Saner security policy implementation.
* Remove unnecessary Qt dependency from inputEvent.cppSebastien Braun2010-10-052-10/+12
|
* Fix Xkb handling on certain systems.Sebastien Braun2010-10-051-6/+71
| | | | | | On some systems XTEST events are delivered via a special input device that may be configured with a different keymap than the physical keyboard. This patch fixes the keycode lookup to take the XTEST device into account.
* Fix forgotten NOT on test for Xkb presenceSebastien Braun2010-10-051-1/+1
|
* Implement first version of basic input event supportSebastien Braun2010-10-0512-0/+1551