NetBSD-Users archive

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

Re: compat_linux failures due to execve, openat, etc.



On November 2, 2025 12:26:22 PM EST, Robert Swindells <rjs%fdy2.co.uk@localhost> wrote:

Kevin Bloom <ktnb%posteo.net@localhost> wrote:
Minor update: I found the GC warnings in ktrace and see this a few
lines above it:
10480 10480 nix-env CALL #157 (unimplemented prctl)
10480 10480 nix-env RET #157 (unimplemented prctl) -1 errno -38 Too many processes

Could this prctl be something that isn't implemented in compat_linux?

There isn't an implementation of prctl().

It would be easy enough to add one that just handles PR_SET_NAME and
PR_GET_NAME, most of the code would come from the native
sys__lwp_setname() and sys__lwp_getname() syscalls.

Do you want to do it?

Sorry for top posting (I'm on mobile). I've never done anything with compat_linux nor with the NetBSD src, only pkgsrc, so a little direction would be helpful. Otherwise, I'd be glad to do it.


Home | Main Index | Thread Index | Old Index