Commit graph

62 commits

Author SHA1 Message Date
Johannes Leupolz
6e23a02e3f Wrote integration test to test --placement on-host to fix #1. Looks good so far. 2026-01-20 22:52:09 +00:00
Johannes Leupolz
fd55bffddb Implementation of the remove-device-step for --placement on-host. Not tested, yet 2026-01-20 21:34:39 +00:00
Johannes Leupolz
350a80644a Refactor: move stuff that actually does something into input_realizer. Action is now the entry point for cli-actions. Maybe I should rename it in the future, too. 2026-01-20 11:59:07 +00:00
Johannes Leupolz
6bde733b09 Start implementation of --placement on-host. Not complete and no automated tests, yet. #1 2026-01-19 22:55:37 +00:00
Johannes Leupolz
0d0d1b489c Add configuration for placement 2026-01-19 19:57:10 +00:00
Johannes Leupolz
a1667bf4ba Improve device policies: Block more keys in sanitized mode and introduce MuteSysRq mode that only mutes sysrq 2026-01-15 22:39:57 +00:00
Johannes Leupolz
11144bd694 Add design considerations for #4 2026-01-08 21:13:07 +00:00
Johannes Leupolz
0062a1741e Apply device filter. No tests, yet. 2026-01-07 22:56:18 +00:00
Johannes Leupolz
5a675aac34 Implemented filter logic for device policy. Not used or tested, yet. 2026-01-07 22:38:14 +00:00
Johannes Leupolz
5277a13904 Started work on device policy #2 #4 2026-01-06 22:49:15 +00:00
Johannes Leupolz
f8bdb04d7e Improve troubleshooting 2025-12-29 23:44:15 +00:00
Johannes Leupolz
84df502d25 Release 0.3.2 2025-12-28 00:14:28 +00:00
Johannes Leupolz
66d58f074f Make it easier to use strace to debug the child process. Now it allows to encode the action in base64 to make it easier to enter it in a shell. Also, the debug outputs the action json as base64 encoded json whenever a mknod or another action should be called in a container. 2025-12-27 23:49:20 +00:00
Johannes Leupolz
2c85f82448 Remove unused code 2025-12-27 22:50:06 +00:00
Johannes Leupolz
ccd4adc5ec Release v0.3.1 2025-12-25 21:59:07 +00:00
Johannes Leupolz
2704626d77 Added hint regarding vt-guard in systemd service file 2025-12-25 21:32:40 +00:00
Johannes Leupolz
76ba60a614 Debian build scripts improved 2025-12-25 21:32:07 +00:00
Johannes Leupolz
0c91a05ef7 Improve help message and cargo fmt 2025-12-23 21:47:16 +00:00
Johannes Leupolz
04bd88f179 Check for status of tty1 during startup 2025-12-23 20:26:07 +00:00
Johannes Leupolz
84dcfbe6e9 Release v0.3.0 2025-12-19 21:08:10 +00:00
Johannes Leupolz
e3094f898b Fix potential race 2025-12-18 21:36:13 +00:00
Johannes Leupolz
552ab12f30 Fix tests. Mknod in bubblewrap is not possible if it was not bind-mounted without a nodev flag. 2025-12-18 21:25:53 +00:00
Johannes Leupolz
25623bf636 Split inject_in_container into emit_udev_event and mknod_device 2025-12-18 19:46:55 +00:00
Johannes Leupolz
32119fbf92 Refactored Namespace Switching After Exec. Now we have a parameter --target-namespace which contains the namespace to enter 2025-12-18 19:30:14 +00:00
Johannes Leupolz
21349c40b9 Improved action handlers; now also use anyhow 2025-12-17 22:40:08 +00:00
Johannes Leupolz
045807e848 cargo fmt 2025-12-17 21:51:24 +00:00
Johannes Leupolz
d86a90e2b1 Some refactorings to prepare the switch from calling a lambda function from the forked process to reinvoking the whole process with the job description as json 2025-12-17 21:17:05 +00:00
Johannes Leupolz
16afd2a482 Add command line options for vuinputd (devname, major, and minor) to control the name and properties of the virtual uinput character device 2025-12-15 22:02:36 +00:00
Johannes Leupolz
f0bff128a6 cargo fmt 2025-12-10 22:46:52 +00:00
Johannes Leupolz
b3d0a0225d Small refactorings and note in SECURITY.md 2025-12-10 22:46:17 +00:00
Johannes Leupolz
2fe9a70006 Remove unused imports 2025-12-09 09:20:51 +00:00
Johannes Leupolz
c792529395 Structural refactoring. Now everything related to cuse is in its own
module. After the refacoring, a lot of ugly imports need to be cleaned
up.
2025-12-08 23:46:57 +00:00
Johannes Leupolz
320a77ef63 Files renamed for more clarity 2025-12-08 23:03:34 +00:00
Johannes Leupolz
ee38a7147c Some name refactorings 2025-12-08 22:48:22 +00:00
Johannes Leupolz
2c3531152b Revert last change and add comment. Althought it looks cleaner, it is
wrong and actually blocks. Added comment to highlight that fact.
2025-12-07 23:18:26 +00:00
Johannes Leupolz
3f6186ef86 Change in release handler to make it semantically cleaner 2025-12-07 22:56:57 +00:00
Johannes Leupolz
830fd01ae7 Release v0.2.0 2025-12-06 21:49:54 +00:00
Johannes Leupolz
a42ef21748 Now we have our own pid 0x5020 under the vendor id 0x1209, which is
registered under https://pid.codes/1209/5020/
2025-12-06 20:40:11 +00:00
Johannes Leupolz
636604b586 - Added new test document that documents conducted tests.
- Add test for job engine
- Fixed a pointer on cleanup
2025-11-22 21:34:05 +00:00
Johannes Leupolz
8950288b09 Fix for get_awaiter_for_state 2025-11-22 09:47:39 +00:00
Johannes Leupolz
32431b73d3 Fixed a problem with zombie processes 2025-11-16 19:34:33 +00:00
Johannes Leupolz
17839a6d06 First steps towards a .deb-build 2025-11-14 22:15:26 +00:00
Johannes Leupolz
e31946c603 Small fix in service file and update in README.md 2025-11-13 10:48:22 +00:00
Johannes Leupolz
b9524017df Get rid of a fixed wait of 2 seconds, which is sometimes too long 2025-11-11 21:56:25 +00:00
Johannes Leupolz
79383c8b76 Some improvements for the gamepad with the steam deck 2025-11-10 23:08:34 +00:00
Johannes Leupolz
014119fec5 Fixes for compat mode (used by steam) 2025-11-09 22:49:46 +00:00
Johannes Leupolz
e66347135d Only write to uinput when we have a complete message 2025-11-09 20:37:43 +00:00
Johannes Leupolz
b645f73dc0 Simple name refactoring 2025-11-09 19:47:56 +00:00
Johannes Leupolz
2192432915 Started to write code to detect if the calling process is 32bit or not. 2025-11-09 19:20:24 +00:00
Johannes Leupolz
4efc3b206e Deduplicate error messages that spam the logs 2025-11-08 22:37:42 +00:00