bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Implementing RLIMIT_AS


From: Samuel Thibault
Subject: Re: [RFC] Implementing RLIMIT_AS
Date: Sun, 22 Dec 2024 20:24:02 +0100

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

[Prev in Thread] Current Thread [Next in Thread]