Commit Graph

10 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
da900a579c LKMC v3.0
This is a squash commit, the unsquashed development went through many
unstable phases which would break bisects. The unsquashed branch is:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/v3.0-unsquash

The main improvement of this release was to greatly generalize the testing system.

The key addition was cli_function.py, which allows scripts such as ./run to
be transparently called either from Python or from the command line.

New tests scripts were created using this improved framework: test-baremetal
and test-user-mode.

We were lazy to port some of less important tests to the new setup, TODO's were
added, and we need comes they will be fixed. Getting started is however sacred
as usual and should work.

Other changes include:

-   gem5: update to 7fa4c946386e7207ad5859e8ade0bbfc14000d91

-   run: --tmux-args implies --tmux

-   run: add --userland-args to make userland arguments across QEMU and gem5

    Get rid of --userland-before as a consequence.

-   bring initrd and initramfs back to life

-   build-userland: create --static to make build a bit easier

-   gem5: --gem5-worktree also set --gem5-build-id

-   remove --gem5, use --emulator gem5 everywhere

    Allow passing --emulator multiple times for transparent tests selection
    just like --arch.

-   test-userland: allow selecting just a few tests

-   linux: update to v4.20

-   buildroot: update to 2018.08

    The main motivation for this was to fix the build for Ubuntu 18.10, which
    has glibc 2.28, which broke the 2018.05 build at the m4-host package with:

        #error "Please port gnulib fseeko.c to your platform!

-   getvar --type input

-   failed xen attempt, refactor timer, failed svc attempt, aarch64 use gicv3

-   build-doc: exit 1 on error, add to release testing

-   build: add --apt option to make things easier on other distros

-   build-linux: --no-modules-install
2019-01-22 00:00:00 +00:00
Ciro Santilli
e05eb91add netlink: move docs to README 2018-07-06 08:56:22 +01:00
Ciro Santilli
237b27869e kstrto: move doc to README 2018-07-05 02:42:28 +01:00
Ciro Santilli
6c241279a6 split kernel module api docs to README 2018-07-04 10:03:02 +01:00
Ciro Santilli
50cb67e2e2 mmap: move doc to README 2018-07-01 20:38:16 +01:00
Ciro Santilli
d840b0cb65 ioctl: move doc to README 2018-07-01 17:44:38 +01:00
Ciro Santilli
084e3faf5a seq_file: move doc to README 2018-07-01 16:46:15 +01:00
Ciro Santilli
923f655811 anonymous inode: move doc to readme 2018-07-01 16:10:29 +01:00
Ciro Santilli
9a4eae50c8 Move debugfs, rootfs and procfs documentation to README 2018-06-29 09:56:41 +01:00
Ciro Santilli
0cd1a2b602 kernel module: fix fops... and move its documentation into README
Sometimes I wonder if anyone has ever run this tutorial, otherwise how
can such basic bugs persist for so long?

test_all.sh: crete
2018-06-29 08:47:32 +01:00