cirosantilli / linux-kernel-module-cheat

The perfect emulation setup to study and develop the Linux kernel v5.4.3, kernel modules, QEMU, gem5 and x86_64, ARMv7 and ARMv8 userland and baremetal assembly, ANSI C, C++ and POSIX. GDB step debug and KGDB just work. Powered by Buildroot and crosstool-NG. Highly automated. Thoroughly documented. Automated tests. "Tested" in an Ubuntu 24.04 host.
https://cirosantilli.com/linux-kernel-module-cheat
GNU General Public License v3.0
4.21k stars 605 forks source link

NameError: name 'MS_RDONLY' is not defined on GDB linux kernel 5.0 #56

Closed cirosantilli closed 5 years ago

cirosantilli commented 5 years ago

at 47e9d8922992e0b6afeff715bf474416e8b09b41 which has kernel 5.0 with ./run --gdb because of a kernel bug.

Fix going into 5.1: https://lkml.org/lkml/2019/2/17/321

cirosantilli commented 5 years ago

fixed by https://github.com/cirosantilli/linux-kernel-module-cheat/commit/b5558eeebe1aa93db560c6b64b58c4b89b78c4d9