Re: [RFC] Implementing RLIMIT_AS

2024-12-19 Thread Diego Nieto Cid
Hi, I've been testing RLIMIT_DATA... On Thu, Dec 19, 2024 at 10:36:49PM +0100, Luca wrote: > > I see that some limits (e.g. RLIMIT_DATA) are managed in glibc instead of > gnumach, maybe this could be a simpler way to add some minimal support? I > guess that one might overcome these limits by usi

Re: [RFC] Implementing RLIMIT_AS

2024-12-19 Thread Diego Nieto Cid
On Thu, Dec 19, 2024 at 10:36:49PM +0100, Luca wrote: > > I see that some limits (e.g. RLIMIT_DATA) are managed in glibc instead of > gnumach, maybe this could be a simpler way to add some minimal support? I > guess that one might overcome these limits by using directly the mach rpc or > hijacking

Re: [RFC] Implementing RLIMIT_AS

2024-12-19 Thread Luca
Hi, Il 19/12/24 16:47, Diego Nieto Cid ha scritto: Hello, After playing a bit with the setrlimit calls in Linux to see how the resource RLIMIT_AS actually works, it seems to be limiting the amount of virtual memory available to the process (and not the available virtual address range). I see

[RFC] Implementing RLIMIT_AS

2024-12-19 Thread Diego Nieto Cid
Hello, After playing a bit with the setrlimit calls in Linux to see how the resource RLIMIT_AS actually works, it seems to be limiting the amount of virtual memory available to the process (and not the available virtual address range). So, I'm attempting to implement this limit in gnumach at the

Re: [RFC PATCH Mach] Add a mach host operation which returns elapsed time since bootup

2024-12-19 Thread Samuel Thibault
Hello, Zhaoming Luo, le jeu. 19 déc. 2024 09:23:57 +0800, a ecrit: > On 12/19/24 4:18 AM, Luca wrote: > To be honest I came across /dev/time several times but I'm still quite > confused about it. I tried to read the documentation and the code of storeio > translator (`showtrans /dev/time` gave me

Re: Confirm some entries in TODO list

2024-12-19 Thread Samuel Thibault
Hello, Zhaoming Luo, le jeu. 19 déc. 2024 10:32:11 +0800, a ecrit: > - Port dhcpcd, see call for help Some people are working on it. > - Fix the git testsuite (just a few tests failing, used to pass). > - Fix the subversion testsuite (just a few tests failing). > - Fix the vim testsuite (just a