[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libunwind] remote unwinding and ptrace()
From: |
David Mosberger |
Subject: |
Re: [libunwind] remote unwinding and ptrace() |
Date: |
Thu, 11 Dec 2003 20:16:31 -0800 |
>>>>> On Thu, 11 Dec 2003 15:39:59 -0800, Umut Aymakoglu <address@hidden> said:
Umut> Hi David - You are right it is not completely libunwind
Umut> issue. It is a ptrace() problem; a non-root process can not
Umut> attach to a setuid/setgid process.This is mentioned in the man
Umut> page of ptrace. In this case is there an alternative to
Umut> ptrace()?
Not really. If there was, it would be a security bug. I'm not sure
what the context of your question is, but perhaps you could have a
minimal helper process that runs with root privileges and only
provides whatever ptrace-based services you need?
--david