Not logged in
Log in now
Create an account
Subscribe to LWN
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
Does anybody have a workaround for this? It'll take a while to get all of my machines upgraded. I know someone whipped up
a kernel module to disabled the previous ptrace bug.
Ptrace vulnerability in 2.2 and 2.4 kernels
Posted Mar 18, 2003 20:32 UTC (Tue) by brianr (subscriber, #2180)
Such a module works by wrapping or stubbing the ptrace function in the kernel. You can do this yourself creating a small module with a do-nothing fake_ptrace function. During module init, set sys_call_table[__NR_ptrace]=fake_ptrace so the fake ptrace gets run instead of the real one. Search google for "no ptrace module" to find a few readymade ptrace wrapper/stub modules.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds