Stewart Stremler wrote: >.. > I've forgotton how to remap a system call. The unit test will need to > replace malloc() with it's own version, that will check a global > variable that would limit the size of a malloc request, and then if > the requested amount of space is less than the limit, pass on the > call to malloc. I know *how* to test it... > > But it's that first trick I don't remember how to do. Wanna pick > this up in LPSG? >..
Okay -- check "lessons from circular buffer programming exercise" ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
