Summary: | SystemTap should recognize and disble probes on __devinit/__devexit functions | ||
---|---|---|---|
Product: | systemtap | Reporter: | Ananth Mavinakayanahalli <ananth> |
Component: | runtime | Assignee: | Srinivasa DS <srinivasa> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | srinivasa |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Attachments: | Patch to disallow probing __devinit/exit,__cpuint/exit,__meminit/exit section symbols. |
Description
Ananth Mavinakayanahalli
2008-04-16 09:26:55 UTC
Created attachment 2712 [details]
Patch to disallow probing __devinit/exit,__cpuint/exit,__meminit/exit section symbols.
This patch disallows user from probing __dev,__cpu,__mem(init/exit) functions
and solves the problem.
Thanks
Srinivasa DS
The patch looks good to me, though in my x86-64 machines, I can find no such sections/symbols anyway. (In reply to comment #2) > The patch looks good to me, though in my x86-64 machines, I can find no such > sections/symbols anyway. Frank Thanks for the review. I could see this, in my ppc system, [root@llm27lp1 ~]# readelf --sections /boot/vmlinux-2.6.25-rc7 | grep init [ 3] .cpuinit.text PROGBITS c000000000401b58 00411b58 [ 4] .devinit.text PROGBITS c00000000040506c 0041506c [ 5] .meminit.text PROGBITS c0000000004212e4 004312e4 commit f90f926 |