mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 11:11:35 +01:00
Get rid of imp, started giving deprecation warning every time in Python 3.7 in Ubuntu 19.04.
Please python stop torturing me with refactors. Make ./run -u blow up if executable not found, otherwise I go crazy. Get ./test-gdb back to life after the ./run relative path refactor, forgot to test this.
This commit is contained in:
14
README.adoc
14
README.adoc
@@ -3910,20 +3910,10 @@ Similarly to <<qemu-user-mode-does-not-show-stdout-immediately>>, QEMU error mes
|
||||
In particular, it does not say anything if you pass it a non-existing executable:
|
||||
|
||||
....
|
||||
./build-userland --clean userland/c/hello.c
|
||||
./run --userland userland/c/hello.c
|
||||
echo $?
|
||||
qemu-x86_64 asdf | cat
|
||||
....
|
||||
|
||||
does not output anything, except for the `1` exit status.
|
||||
|
||||
If you run however the raw command without a pipe manually, it shows a helpful error message:
|
||||
|
||||
....
|
||||
Error while loading /path/to/linux-kernel-module-cheat/out/userland/default/x86_64/c/hello.out: No such file or directory
|
||||
....
|
||||
|
||||
Tested in de77c62c091f6418e73b64e8a0a19639c587a103 + 1.
|
||||
So we just check ourselves manually
|
||||
|
||||
== Kernel module utilities
|
||||
|
||||
|
||||
Reference in New Issue
Block a user