This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/1514: solaris setuid
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 19 Jan 2004 21:48:00 -0000
- Subject: Re: gdb/1514: solaris setuid
- Reply-to: Daniel Jacobowitz <drow at mvista dot com>
The following reply was made to PR gdb/1514; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@mvista.com>
To: maurizio@mediaservice.net
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/1514: solaris setuid
Date: Mon, 19 Jan 2004 16:41:41 -0500
I am not familiar with Solaris so take this with a grain of salt.
On Fri, Jan 16, 2004 at 01:38:54PM -0000, maurizio@mediaservice.net wrote:
> GDB has problem to trace setuid file on solaris system.
> (gdb) r
> Starting program: /usr/bin/passwd
> procfs: target_wait (wait_for_stop) line 3931, /proc/269: Resource temporarily unavailable.
Almost no system will let you debug a setuid binary. It's a security
hole, since it elevates the privilege of the debugger.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer