NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/49287: something wrong between exec_script and compat32
The following reply was made to PR kern/49287; it has been noted by GNATS.
From: Nicolas Joly <njoly%pasteur.fr@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/49287: something wrong between exec_script and compat32
Date: Thu, 23 Oct 2014 01:20:32 +0200
On Wed, Oct 22, 2014 at 05:02:14PM -0400, Christos Zoulas wrote:
> On Oct 14, 11:35pm, dholland%eecs.harvard.edu@localhost (dholland%eecs.harvard.edu@localhost) wrote:
> -- Subject: kern/49287: something wrong between exec_script and compat32
>
> Can't reproduce this on my amd64 box running current. I untarred
> base and etc from the latest i386 build, chrooted inside that
> directory and ran usr/bin/true.
I can't reproduce the problem with true too ... but i see this one :
njoly@raya [tmp/sh]> cat sample.sh
#! /bin/sh
echo "$#>>$@<<"
njoly@raya [tmp/sh]> chmod +x sample.sh
njoly@raya [tmp/sh]> uname -a
NetBSD raya.lan 7.99.1 NetBSD 7.99.1 (RAYA) #0: Tue Oct 21 23:31:13 CEST 2014 njoly%raya.lan@localhost:/local/src/NetBSD/obj.amd64/sys/arch/amd64/compile/RAYA amd64
work on amd64 native :
njoly@raya [tmp/sh]> ./sample.sh 1 2 3
3>>1 2 3<<
njoly@raya [tmp/sh]> sh ./sample.sh 1 2 3
3>>1 2 3<<
fail on amd64 compat netbsd32 chroot :
njoly@raya [netbsd32:sh]> ./sample.sh 1 2 3
2>>2 3<<
njoly@raya [netbsd32:sh]> sh ./sample.sh 1 2 3
3>>1 2 3<<
--
Nicolas Joly
Biology IT Center
Institut Pasteur, Paris.
Home |
Main Index |
Thread Index |
Old Index