[Bug uprobes/5163] tweak uprobes.ko build process

jkenisto at us dot ibm dot com sourceware-bugzilla@sourceware.org
Wed Nov 28 01:05:00 GMT 2007


------- Additional Comments From jkenisto at us dot ibm dot com  2007-11-28 01:05 -------
(In reply to comment #2)
...
> 
> c) staprun will modprobe or insmod uprobes.ko, if necessary, for anybody who
> invokes staprun with -u and specifies a permitted stap-generated module.  I
> think this is OK.

Let me clarify the above, before anybody gets too worked up.  staprun runs
check_permissions() before trying to ensure that uprobes is available.  So if
you're not root, and not in stapdev or stapusr, no dice.  If you're not root and
not in stapdev, and the specified module isn't in /lib/modules/KVER/systemtap,
no dice.  (However, staprun doesn't currently verify that the module actually
uses uprobes.)

-- 


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

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



More information about the Systemtap mailing list