Ciro Santilli (三西猴) OurBigBook.com sponsor me: cirosantilli.com/sponsor, opinions my own 2020冠状病毒审查 ,2020郝海东 ,2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 709大抓捕,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱<script>alert(1)</script>
Ciro Santilli (三西猴) OurBigBook.com sponsor me: cirosantilli.com/sponsor, opinions my own 2020冠状病毒审查 ,2020郝海东 ,2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 709大抓捕,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱<script>alert(1)</script>
On a clean LKMC d53ffcff18aa26d24ea34b86fb80e4a5694378dc: ``` ./build -aA --download-dependencies ./build-buildroot -aA --build-linux ``` Outcome: ``` >>> host-openssl Extracting >>> host-openssl Patching >>> host-openssl Configuring >>> host-openssl Building >>> host-openssl Installing...
In LKMC d53ffcff18aa26d24ea34b86fb80e4a5694378dc we basically can nicely run 3 types of things: - full system linux kerne - userland - baremetal However, more and more, we want nice interfaces to...
Currently in LKMC d53ffcff18aa26d24ea34b86fb80e4a5694378dc for tests is is already a bit wonky to determine what has to be built. What we have to do is to have a full proper...
# TL;DR Remove gold linker: ``` --- a/build-gem5 +++ b/build-gem5 @@ -125,7 +125,7 @@ https://github.com/cirosantilli/linux-kernel-module-cheat-regression#gem5-unit-t gold_linker_cmd = [] else: extra_env = {} - gold_linker_cmd = ['--gold-linker', LF,] + gold_linker_cmd =...
gem5 bcf041f257623e5c9e77d35b7531bae59edc0423 LKMC 62930b6acf85defffc76ca27dce3ec2f516830c0 just after dynamic linking was added: ``` ./run -aA -eg -u userland/arch/aarch64/nostartfiles/exit.S --gem5-worktree master --trace ExecAll,-ExecSymbol ``` Failure happens in dynamic loader itself. We can see...
As of 6936bd6ba996dee40f7cd826e5cf01ef39c2cabf, tests such as userland/c/file_write_read.c use `#define LKMC_TMP_FILE __FILE__ LKMC_TMP_EXT` to select what file they should write to. `__FILE__` expands to the full C soure path, so multiple...
As of LKMC 6936bd6ba996dee40f7cd826e5cf01ef39c2cabf and gem5 master 8549ee4a6dfc86a941cee0a478c01f6f2c146c3c: ``` ./run -u userland/linux/mmap_anonymous_touch.c --emulator gem5 --gem5-worktree master --static ``` fails in our `abort()` call after our `perror` prints: ``` /proc/self/statm: No...
As of LKMC 6936bd6ba996dee40f7cd826e5cf01ef39c2cabf and gem5 master 8549ee4a6dfc86a941cee0a478c01f6f2c146c3c: ``` ./run -ax -u userland/posix/mmap_file.c --emulator gem5 --gem5-worktree master --static ``` the assertion for the correct read value fails with: ``` mmap_file.out:...
As of LKMC 6936bd6ba996dee40f7cd826e5cf01ef39c2cabf and gem5 master 8549ee4a6dfc86a941cee0a478c01f6f2c146c3c: ``` ./run --arch aarch64 --emulator gem5 --static --userland userland/linux/open_o_tmpfile.c --gem5-worktree master ``` fails with: ``` /path/to/linux-kernel-module-cheat/out/gem5/master/build/ARM/sim/fd_array.cc:322: std::shared_ptr FDArray::getFDEntry(int): Assertion `0
As of 5cdbd57de09b64f48d06351b065dc8949493d7e8 we have done it for the kernel, but to have a better feeling of what instruction counts mean, we should do a few more. A simple well...