ptrace denies access to EFLAGS_RF

From: Stephane Eranian
Date: Thu Jan 05 2006 - 05:52:02 EST


Hello,

I am trying to the user HW debug registers on i386
and I am running into a problem with ptrace() not allowing access
to EFLAGS_RF for POKEUSER (see FLAG_MASK).

I am not sure I understand the motivation for denying access
to this flag which can be used to resume after a code
breakpoint has been reached. It avoids the need to remove the
breakpoint, single step, and reinstall. The equivalent
functionality exists on IA-64 and is allowed by ptrace().

Why is EFLAGS_RF not accessible to users on i386?

Thanks.

--
-Stephane
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/