From owner-svn-src-head@freebsd.org Tue Jun 12 23:52:55 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FD65100BF71; Tue, 12 Jun 2018 23:52:55 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0AEDF80810; Tue, 12 Jun 2018 23:52:54 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 342785A9F12; Tue, 12 Jun 2018 23:52:53 +0000 (UTC) Date: Tue, 12 Jun 2018 23:52:53 +0000 From: Brooks Davis To: Jung-uk Kim Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r335020 - head/sys/amd64/linux32 Message-ID: <20180612235253.GA49401@spindle.one-eyed-alien.net> References: <201806122254.w5CMsmNG087783@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <201806122254.w5CMsmNG087783@repo.freebsd.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 23:52:55 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 12, 2018 at 10:54:48PM +0000, Jung-uk Kim wrote: > Author: jkim > Date: Tue Jun 12 22:54:48 2018 > New Revision: 335020 > URL: https://svnweb.freebsd.org/changeset/base/335020 >=20 > Log: > Fix number of auxargs entries to copy out for 32-bit Linuxulator. > =20 > PR: 228790 >=20 > Modified: > head/sys/amd64/linux32/linux32_sysvec.c >=20 > Modified: head/sys/amd64/linux32/linux32_sysvec.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/amd64/linux32/linux32_sysvec.c Tue Jun 12 22:52:27 2018 (r33= 5019) > +++ head/sys/amd64/linux32/linux32_sysvec.c Tue Jun 12 22:54:48 2018 (r33= 5020) > @@ -249,9 +249,10 @@ linux_fixup_elf(register_t **stack_base, struct imag= e_ > =20 > free(imgp->auxargs, M_TEMP); > imgp->auxargs =3D NULL; > - KASSERT(pos - argarray <=3D AT_COUNT, ("Too many auxargs")); > + KASSERT(pos - argarray <=3D LINUX_AT_COUNT, ("Too many auxargs")); > =20 > - error =3D copyout(&argarray[0], auxbase, sizeof(*argarray) * AT_COUNT); > + error =3D copyout(&argarray[0], auxbase, > + sizeof(*argarray) * LINUX_AT_COUNT); > free(argarray, M_TEMP); > if (error !=3D 0) > return (error); Thanks for tracking this down! Sorry for the breakage. -- Brooks --SUOF0GtieIMvvwua Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJbIFzUAAoJEKzQXbSebgfAuWsH/1va6wz4X44jX0/astnWQQEe 1ov8oIz05TG2p6xGtxtsTRDeEELf7/tIQ5wr3VLnmOwOvSnHRlXlTIxxXvDqEJ04 NFCw73jumkLGnvTHD69rMmCHUC1tkHvxh2eSoUYE2EjdjpCDyKBi/LHsZzlMHZ2B fmqmG7hGtl6VbAWfRwLBwvudrQdPOLsuFO7T9APHIZ84T8j/oCWHtYLtULfYHDUj fQEvq9ZVM8NSqCP6QOu/9Vhw6kELfTpdWNnw0Lyjeww2EPhgERFycW/lRUwfeG8v UUu0SKogqGK3vswvhscqkxhJx/2Ruav3sVrvJ7f1ARQUkgBx+vecVeN0XKfslAA= =kTp3 -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua--