Commit graph

98 commits

Author SHA1 Message Date
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
Johannes Leupolz
e4335df8e6 Add integration tests that just try to create a device using uinput using bubblewrap. No further checks. 2025-12-14 21:22:09 +00:00
Johannes Leupolz
8784475eda bubblewrap wrapper supports command arguments 2025-12-13 23:10:11 +00:00
Johannes Leupolz
13a9921a5c Fixes in examples 2025-12-13 23:09:31 +00:00
Johannes Leupolz
1683829780 Fix bwrap-ipc test. 2025-12-13 22:36:01 +00:00
Johannes Leupolz
ad6a4cc696 Started to add wrapper for bubblewrap that I want to use to make my integration tests without a heavy container engine as docker. IPC with the client application is not working, yet. 2025-12-13 20:36:06 +00:00
Johannes Leupolz
61cfb84cff Add .gitignore 2025-12-12 11:11:05 +00:00
Johannes Leupolz
cb73fde9af Setup code for integration tests 2025-12-12 11:10:30 +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
7b8ad17b79 Add some files with empty sections I want to talk about. 2025-12-07 22:12:35 +00:00
Johannes Leupolz
4c01ecb301 Add some sections in the DESIGN.md for topics I want to talk about. 2025-12-07 22:11:47 +00:00
Johannes Leupolz
830fd01ae7 Release v0.2.0 2025-12-06 21:49:54 +00:00