4cfe9dc1f6
instead of MALLOC()/FREE() for variable-size allocations (sync with kern/sys_generic.c) XXX not tested
instead of MALLOC()/FREE() for variable-size allocations (sync with kern/sys_generic.c) XXX not tested