fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
hpt has joined #systemtap
hpt has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
<derek0883>
@fche, I did some further testing, if daemon not call _exit(0), just wait for child or sleep, then systemtap able to catch fopen call.
<fche>
hm interesting
khaled has quit [Quit: Konversation terminated!]
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
<derek0883>
@fche I may figured out, why after daemon called, system couldn't catch fopen call. As daemon call fork, then parent will call exit(0), if parent run first, will exit, and child will became #1's child process,
<derek0883>
which is systemd on my ubuntu, but my systemtap started after systemd, so libc in systemd's address space kept untouched, no hook installed. when child get run, will use glibc in #1's address space, which already loaded
<derek0883>
systemtap can catch sys_open, because that HOOK is installed in kernel space.
_whitelogger has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek088_ has joined #systemtap
derek088_ has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 260 seconds]
khaled has joined #systemtap
<fche>
hmm kind of strange
<fche>
I know at some point some kernels protected pid#1 from some types of introspection (ptrace etc.)
<fche>
but can't think of a mechanism by which an orphaned child process of a normal userspace pid would inherit such protections
orivej has joined #systemtap
SofiFlor has joined #systemtap
SofiFlor has quit [Client Quit]
DUKENUKEM has quit [*.net *.split]
DUKENUKEM has joined #systemtap
xar- has quit [*.net *.split]
xar- has joined #systemtap
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek088_ has joined #systemtap
derek088_ has quit [Remote host closed the connection]
derek0883 has joined #systemtap
SarahStep has joined #systemtap
SarahStep has quit [Client Quit]
derek0883 has quit [Remote host closed the connection]