mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-10 13:40:25 +00:00
with respect to syscalls. It is detailed and comprehensive but does not offer a way to deal with minor deviations in behaviour from the vanilla kernel sources, either due to running a hacked kernel or running a vanilla kernel with a custom kernel module loaded. This commit adds a flexible way to handle such cases without polluting the vanilla handler syswrap-*.c files or their supporting vki_*.h header files. For each OS, a syswrap-OS-variants.c file is added, containing wrappers for variants of OS. A new command line flag --kernel-variants= carries a comma separated list of variant names that apply to the current run. There are no other changes. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4873
3.4 KiB
3.4 KiB