Date: Sat, 16 Jan 2010 21:01:37 +0200 From: Ali Polatel <alip@exherbo.org> To: freebsd-hackers@freebsd.org Subject: ptrace bug or feature? Message-ID: <20100116190137.GA11414@harikalardiyari>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hey everyone, Problem: ptrace's PT_SETREGS request can't alter system calls. Code: http://alip.github.com/code/ptrace-freebsd-deny.c Expected: The file foo.bar shouldn't be created. Got: The file is created. Other efforts like replacing PT_GETREGS/PT_SETREGS calls with PT_KILL doesn't help, the file is created nevertheless. I'm inclined to call this a bug but I can't be sure. Any comments appreciated. TIA -- Regards, Ali Polatel [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEABECAAYFAktSDREACgkQQU4yORhF8iAfoACgwQg6X/QZ9pKQ/mYm3zc152Wx 1h4AoJpuneWLGoFVs7cwRTjZPqUQfUzP =hZNV -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100116190137.GA11414>
