[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Where has GETSIGINFO gone?

Frank Ch. Eigler wrote:
Shachar Shemesh <shachar shemesh biz> writes:

[...] The best way, as far as I can tell, to do that on Linux is to
use the PTRACE_GETSIGINFO command. [...]  Unfortunately, utrace (at
least the version integrated into the Fedora Core 9 and Fedore 10
kernels) totally eliminated this system call. When calling ptrace
with PTRACE_GETSIGINFO I get back "Invalid argument". [...]  I just
don't think breaking user space compatibility over the old
interface, broken though you might think it is, is justified.

The version of utrace I see lying around does not flat out disable
GETSIGINFO, but does return -EINVAL under some circumstances.  I
believe that any incompatibility with classical ptrace is unintended.
Would you be willing to submit a bugzilla.redhat.com report, with a
reproducing example, please?
This is directed not so much against the utrace project as it is
against RedHat including it in production kernels.

The costs so far have been far outweighed by the benefits, FWIW.

- FChE

Shachar Shemesh
Lingnu Open Source Consulting Ltd.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]