Date: Sat, 23 Jan 2010 13:51:17 +0200 From: Kostik Belousov <kostikbel@gmail.com> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r202882 - in head/sys: amd64/amd64 amd64/ia32 i386/i386 kern sys Message-ID: <20100123115117.GH59590@deviant.kiev.zoral.com.ua> In-Reply-To: <201001231145.o0NBjZmS094863@svn.freebsd.org> References: <201001231145.o0NBjZmS094863@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--A3bjmUvO/1DXpqhN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 23, 2010 at 11:45:35AM +0000, Konstantin Belousov wrote: > Author: kib > Date: Sat Jan 23 11:45:35 2010 > New Revision: 202882 > URL: http://svn.freebsd.org/changeset/base/202882 >=20 > Log: > For PT_TO_SCE stop that stops the ptraced process upon syscall entry, > syscall arguments are collected before ptracestop() is called. As a > consequence, debugger cannot modify syscall or its arguments. > =20 > For i386, amd64 and ia32 on amd64 MD syscall(), reread syscall number > and arguments after ptracestop(), if debugger modified anything in the > process environment. Since procfs stopeven requires number of syscall > arguments in p_xstat, this cannot be solved by moving stop/trace point > before argument fetching. I am willing to help architecture maintainers to implement this for corresponding architectures, if any help is needed. --A3bjmUvO/1DXpqhN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkta4rQACgkQC3+MBN1Mb4gZBACg1cPe5dm46YV9QgWn8dmzr8hk TWQAoJl4uNHjVUEPe92WqFDq9FS/CA35 =xfZt -----END PGP SIGNATURE----- --A3bjmUvO/1DXpqhN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100123115117.GH59590>