Diego Nieto Cid, le dim. 22 déc. 2024 16:19:08 -0300, a ecrit:
> On Thu, Dec 19, 2024 at 10:36:49PM +0100, Luca wrote:
> > To experiment I'd suggest creating a test program as the ones in the tests/
> > folder in gnumach source, so you can try every single case and easily debug
> > it. Currently they can only be run on GNU/Linux as they require qemu.
> 
> I've written a test function in `tests/test-task.c` to exercise the new 
> routines
> to set and get the VM limit parameters. And I wonder if `malloc` and `free` 
> can
> be used in those tests.
> 
> Or should I only use the GNU Mach functions?

The tests are built with -nolibc so they can't use libc functions, only
mach calls.

Samuel

Reply via email to