[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ptrace patch for vanilla kernel 2.4.20



On Wed, Apr 23, 2003 at 09:35:32AM +0200, Alexander Schmehl wrote:
> 
> * Adam ENDRODI <borso@vekoll.saturnus.vein.hu> [030423 07:59]:
> 
> > > http://www.ussg.iu.edu/hypermail/linux/kernel/0303.2/0226.html
> > > http://sinuspl.net/ptrace/
> > Can you tell me whether these patches are the ones which were
> > known to break something?
> 
> I didn't heard of a patch to break something, yet. The second one
> applied clean, and I didn't encountered any problems on four different
> machines.
> Did I miss something?

There've been some problems, I'm afraid.  Here's what I've found
in the archives of lkml:

Thread ``Oops: ptrace fix buggy'':
http://marc.theaimsgroup.com/?t=104971858600001&r=1&w=2

Thread ``ptrace patch side-effects on 2.4.x'':
http://marc.theaimsgroup.com/?t=104971764200001&r=1&w=2

Thread ``ptrace fix changes output of ps ax'':
http://marc.theaimsgroup.com/?t=104968425100002&r=1&w=2

Thread ``after ptrace patch'':
http://marc.theaimsgroup.com/?t=104948324000003&r=1&w=2

Especially http://marc.theaimsgroup.com/?l=focus-linux&m=104990668007208&w=2 :

# Yes, the most annoying side effect of the ptrace patch is that it broke
# the ability to strace a non-root process.  Very secure, but it makes
# troubleshooting quite difficult.

The most sensible workaround I've heard is disabling kmod
(CONFIG_KMOD=n).

bit,
adam

-- 
1024D/37B8D989 954B 998A E5F5 BA2A 3622  82DD 54C2 843D 37B8 D989      
finger://borso@vekoll.vein.hu | Some days, my soul's confined
http://www.keyserver.net | And out of mind
Sleep forever



Reply to: