User: Password:
|
|
Subscribe / Log in / New account

Uprobes: 11th time is the charm?

Uprobes: 11th time is the charm?

Posted Mar 24, 2011 6:06 UTC (Thu) by kevinm (guest, #69913)
Parent article: Uprobes: 11th time is the charm?

So, if I want to put a probe in libc.so, it ends up being executed by every process on the system?

Presumably I would have to have write permissions to libc to do so - so if gdb was to use this, I wouldn't be able to set breakpoints on library functions unless I'm root? That sounds like a nonstarter to me.


(Log in to post comments)

Uprobes: 11th time is the charm?

Posted Mar 24, 2011 17:41 UTC (Thu) by fuhchee (guest, #40059) [Link]

A future gdb interface for this functionality would not require nor give you any new privileges. Probes would be naturally restricted to your processes. No actual writing to the disk files is done.

Systemtap has the same properties w.r.t. the older utrace/uprobes it carries: a root user can operate systemwide, and an unprivileged user can operate upon her own processes.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds