[Bug testsuite/15625] unprivileged_embedded_C test confused by stub registers.stp

jistone at redhat dot com sourceware-bugzilla@sourceware.org
Thu Jun 13 23:53:00 GMT 2013


http://sourceware.org/bugzilla/show_bug.cgi?id=15625

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jistone at redhat dot com

--- Comment #2 from Josh Stone <jistone at redhat dot com> ---
(In reply to Jim Keniston from comment #0)
> **Should the functions in registers.stp be marked unprivileged?  They
> provide read-only access to CPU registers and function args.

Unprivileged functions shouldn't leak kernel info though, so these functions
would need to restrict themselves to CONTEXT->uregs in this mode, and only for
one's own processes.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Systemtap mailing list