Re: [PATCH] procfs: match /proc/self/maps address width to Linux
Robert Swindells <[email protected]> Sat, 01 Aug 2026 12:34:39 +0100
| Newsgroups | gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <[email protected]> |
Edgar Fu=C3=9F <[email protected]> wrote: > Didn't we have -o linux for things like that? We do, the implementation of the emulated linux procfs is mingled in with the NetBSD native stuff. The 'width' variable being modified by the patch is only used when '-o linux' has been specified when mounting the filesystem. One review question could be whether it would be better to modify the call to snprintf(3) to not use 'width' at all.