On Tue, Feb 07, 2006 at 10:31:52AM -0800, Steve Kargl wrote: > Can memguard monitor the usage of more that one memory_type? >From the memguard(9) manpage: Currently, MemGuard can only take over malloc(), realloc() and free() for a particular malloc type. > I added > vm.memguard.desc="filedesc" > vm.memguard.desc="DEVFS1" > vm.memguard.desc="ptys" > to /boot/loader.conf under the assumption that all three > types would be monitored. However, I see > > troutmask:kargl[207] sysctl -a | grep memg > vm.memguard.desc: ptys > vm.memguard.divisor: 10 > > which shows only the last loader.conf line is effective. Each assignment to a tunable or sysctl overwrites its former value, like in a programming language. -- YarReceived on Tue Feb 07 2006 - 18:01:29 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC