NetBSD-Bugs archive

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

Re: kern/52598 (/proc/self/exe misbehaves if it's on a null mount)



The following reply was made to PR kern/52598; it has been noted by GNATS.

From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric_Fauberteau?= <triaxx%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, coypu%sdf.org@localhost,
 christos%netbsd.org@localhost
Subject: Re: kern/52598 (/proc/self/exe misbehaves if it's on a null mount)
Date: Tue, 14 Jan 2020 22:10:18 +0100

 Le 2020-01-14 06:00, Frédéric Fauberteau a écrit :
 > The following reply was made to PR kern/52598; it has been noted by 
 > GNATS.
 > 
 > From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric_Fauberteau?= <triaxx%NetBSD.org@localhost>
 > To: Christos Zoulas <christos%zoulas.com@localhost>
 > Cc: gnats-bugs%netbsd.org@localhost, kern-bug-people%netbsd.org@localhost,
 >  netbsd-bugs%netbsd.org@localhost, coypu%sdf.org@localhost
 > Subject: Re: kern/52598 (/proc/self/exe misbehaves if it's on a null 
 > mount)
 > Date: Tue, 14 Jan 2020 05:57:55 +0100
 > 
 >  Le 2020-01-14 05:42, Fr�©d�©ric Fauberteau a �©crit� :
 >  > Yes, there are. And you kindly list the files here:
 >  >
 > http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/proc.h?rev=1.343&content-type=text/x-cvsweb-markup&only_with_tag=MAIN
 > 
 >  So I continue my investigations and tests following this way.
 
 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
 


Home | Main Index | Thread Index | Old Index