This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Mon, Aug 10, 2009 at 11:59 PM, Tristan Gingold<gingold@adacore.com> wrote:
This even if I make GDB suid-root (I also tried setgid procmod): ls -l ../gdb -rwsr-sr-x 1 root wheel 4075816 Aug 10 20:21 ../gdb
IIRC root/wheel doesn't work. You need setgid procmod only.
As I said, I did try that; no dice:
ls -l ../gdb -rwxr-sr-x 1 ppluzhnikov procmod 4075816 Aug 10 20:21 ../gdb
../gdb -ex run ../a.out
...
Unable to find Mach task port for process-id 98439: (os/kern) failure (0x5).
(please check gdb is setgid procmod)
Thanks! Tristan.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |