mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
update kernel version everywhere
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
:toclevels: 6
|
||||
:toc-title:
|
||||
|
||||
The perfect emulation setup to study and develop the <<linux-kernel>> v5.0, kernel modules, <<qemu-buildroot-setup,QEMU>>, <<gem5-buildroot-setup,gem5>> and x86_64, ARMv7 and ARMv8 <<userland-assembly,userland>> and <<baremetal-setup,baremetal>> assembly, ANSI C, C++ and POSIX. <<gdb>> and <<kgdb>> just work. Powered by <<about-the-qemu-buildroot-setup,Buildroot>> and <<about-the-baremetal-setup,crosstool-NG>>. Highly automated. Thoroughly documented. Automated <<test-this-repo,tests>>. "Tested" in an Ubuntu 18.04 host.
|
||||
The perfect emulation setup to study and develop the <<linux-kernel>> v5.1, kernel modules, <<qemu-buildroot-setup,QEMU>>, <<gem5-buildroot-setup,gem5>> and x86_64, ARMv7 and ARMv8 <<userland-assembly,userland>> and <<baremetal-setup,baremetal>> assembly, ANSI C, C++ and POSIX. <<gdb>> and <<kgdb>> just work. Powered by <<about-the-qemu-buildroot-setup,Buildroot>> and <<about-the-baremetal-setup,crosstool-NG>>. Highly automated. Thoroughly documented. Automated <<test-this-repo,tests>>. "Tested" in an Ubuntu 18.04 host.
|
||||
|
||||
TL;DR: <<qemu-buildroot-setup-getting-started>>
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ common = sys.modules[__name__]
|
||||
# Fixed parameters that don't depend on CLI arguments.
|
||||
consts = {}
|
||||
consts['repo_short_id'] = 'lkmc'
|
||||
consts['linux_kernel_version'] = '5.1'
|
||||
# https://stackoverflow.com/questions/20010199/how-to-determine-if-a-process-runs-inside-lxc-docker
|
||||
consts['in_docker'] = os.path.exists('/.dockerenv')
|
||||
consts['root_dir'] = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
2
run
2
run
@@ -160,7 +160,7 @@ Example: `./run --kernel-cli-after-dash 'lkmc_eval="wget google.com" lkmc_lala=y
|
||||
)
|
||||
self.add_argument(
|
||||
'--kernel-version',
|
||||
default='5.0',
|
||||
default=common.consts['linux_kernel_version'],
|
||||
help='''\
|
||||
Pass a base64 encoded command line parameter that gets evalled at the end of
|
||||
the normal init.
|
||||
|
||||
Reference in New Issue
Block a user