Ok, by applying these changes, I have a NetBSD 8.0 that can mount a
working /proc in a chroot environment:
cvs rdiff -u -r1.90.4.1 -r1.93 src/sys/kern/exec_elf.c
cvs rdiff -u -r1.442.4.3 -r1.450 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.268.8.1 -r1.270 src/sys/kern/kern_exit.c
cvs rdiff -u -r1.202 -r1.203 src/sys/kern/kern_fork.c
cvs rdiff -u -r1.206.6.4 -r1.208 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.63 -r1.64 src/sys/kern/subr_kmem.c
cvs rdiff -u -r1.197.2.2 -r1.200 src/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -u -r1.151 -r1.152 src/sys/sys/exec.h
cvs rdiff -u -r1.9 -r1.10 src/sys/sys/kmem.h
cvs rdiff -u -r1.542.2.4 -r1.550 src/sys/sys/param.h
cvs rdiff -u -r1.340.6.1 -r1.343 src/sys/sys/proc.h
I should be able to build lang/rust with pbulk in a chrooted sandbox.
I
am testing.
But I fear it is not possible to submit a pullup request since a bump
revision seems to be done for these changes (8.99.6 if I am correct).
Do
you confirm?
Fred