minix/minix
David van Moolenbroek c07c198b5f Disable malloc instrumentation for VM (#2)
When the malloc code is instrumented, the global _brksize variable
should not be transferred.  However, when the malloc code is not
instrumented, failing to transfer _brksize would reset the heap
upon state transfer.  In this patch, the magic pass stores the flag
indicating whether memory function instrumentation is disabled, in
the target process.  This allows libmagic to check this flag during
state transfer, to see whether it should transfer _brksize or not.

Change-Id: Ia004651e21e08b0ed3f5305865c53c6659e18f38
2015-09-17 14:07:31 +00:00
..
bin New sources layout 2014-07-31 16:00:30 +02:00
commands RS/VM: proper preparation for multi-VM live update 2015-09-17 14:01:06 +00:00
drivers SEF: query VM about holes during state transfer 2015-09-17 13:43:06 +00:00
fs VM: set recovery policy to restart 2015-09-17 13:45:43 +00:00
include RS/VM: proper preparation for multi-VM live update 2015-09-17 14:01:06 +00:00
kernel Kernel: IPC filter support for VM memory requests 2015-09-17 13:46:23 +00:00
lib Do not instrument malloc implementation variables 2015-09-17 14:03:47 +00:00
llvm Disable malloc instrumentation for VM (#2) 2015-09-17 14:07:31 +00:00
man Import NetBSD syslogd(8) 2015-07-26 11:57:04 +00:00
net services: Selectively enable stateful restart. 2015-09-17 13:36:01 +00:00
sbin New sources layout 2014-07-31 16:00:30 +02:00
servers Disable malloc instrumentation for VM (#1) 2015-09-17 14:05:14 +00:00
share New sources layout 2014-07-31 16:00:30 +02:00
tests VM: set recovery policy to restart 2015-09-17 13:45:43 +00:00
usr.bin VFS: add support for F_DUPFD_CLOEXEC 2015-07-20 13:55:10 +00:00
usr.sbin mkfs.mfs: remove Linux mount check 2015-07-20 10:59:49 +00:00
Makefile benchmarks: remove unixbench 2015-07-20 11:05:28 +00:00
Makefile.inc New sources layout 2014-07-31 16:00:30 +02:00