Commit graph

116 commits

Author SHA1 Message Date
Johannes Leupolz
62b5de7bf4 A
fallbackdm: Add research on how TakeControl works to grab the keyboard
input
2026-01-26 23:07:12 +00:00
Johannes Leupolz
4d87dfea44
Add CodeQL analysis workflow configuration 2026-01-26 20:23:45 +01:00
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
b4c6c32431 Document --placement, --devname, and --device-policy in USAGE.md 2026-01-19 19:59:24 +00:00
Johannes Leupolz
0d0d1b489c Add configuration for placement 2026-01-19 19:57:10 +00:00
Johannes Leupolz
d6423197bb Add podman tests 2026-01-17 06:38:13 +00:00
Johannes Leupolz
3283aa0dc2 Add infrastructure to add integration tests with podman 2026-01-16 10:59:12 +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
d139906834 Some remarks for the future of fallbackdm 2026-01-08 21:21:17 +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
a7a207e029 Fix github actions pipeline 2025-12-28 00:19:40 +00:00
Johannes Leupolz
84df502d25 Release 0.3.2 2025-12-28 00:14:28 +00:00
Johannes Leupolz
7fbb1616ed Add documentation how to debug the actions that vuinputd triggers in containers 2025-12-28 00:10:46 +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
7c25eb2cfe Debian pipeline fixes 2025-12-25 21:50:47 +00:00
Johannes Leupolz
00b80691e4 Release pipeline for debian packages 2025-12-25 21:41:01 +00:00
Johannes Leupolz
9b1b93d446 Fix in debian/rules 2025-12-25 21:35:56 +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
77c3452bbb Add WIP and notes for fallbackdm 2025-12-22 19:59:31 +00:00
Johannes Leupolz
4fbb4d7389 Describe two possible ways to get rid of the "VT keyboard handler" problem when no graphical input session is active. My favorite candidate is "Fallback Graphical Session" 2025-12-22 10:30:43 +00:00
Johannes Leupolz
84dcfbe6e9 Release v0.3.0 2025-12-19 21:08:10 +00:00
Johannes Leupolz
78feb4f08f Add udev files to debian package 2025-12-19 21:01:34 +00:00
Johannes Leupolz
67db5f1885 First microbenchmark conducted 2025-12-19 20:49:57 +00:00
Johannes Leupolz
e3094f898b Fix potential race 2025-12-18 21:36:13 +00:00
Johannes Leupolz
22ac4c23b7 Update dependencies in github action 2025-12-18 21:28:35 +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
01417e6934 When integration-test get SIGKILLed, also SIGKILL the vuinputd-process 2025-12-17 21:30:33 +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
364b86a190 Fix integration test to ensure SYN is sent before we read. 2025-12-17 11:43:58 +00:00
Johannes Leupolz
e4501ce795 Extend integration tests with some nice features as event logging. Not everything working, yet. 2025-12-17 00:02:50 +00:00
Johannes Leupolz
97115609ed Name refactorings 2025-12-16 14:45:12 +00:00
Johannes Leupolz
0183da2477 Now a separate instance of vuinputd with its own device node runs as part of the integration tests. 2025-12-15 22:43:19 +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
0e6abf1d85 Fix integration test for vuinput. 2025-12-14 21:44:10 +00:00