This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Frank Ch. Eigler <fche at redhat dot com> changed:

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

--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> ---
Considering that unprivileged mode probes do not include kprobes or similar
kernel-internal facilities, it may be sufficient to mark these register.stp
tapset functions /* myproc-unprivileged */ (to check process ownership).

As a belt-and-suspenders kind of thing, _stp_arg() could get a
STP_PRIVILEGE-level test to permit access to CONTEXT->regs (the
non-user-space one) only to stapsys/stapdev users.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]