🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #9982

GBD Using /bin/sh

#9982
From: Colin Bruce
Date: Wed, 12 Sep 1990 23:16
15 lines
1252 bytes
I've noticed that gdb execs /bin/sh in order to run the program being
debugged. However, in order to set break points it uses ptrace. On a
Sequent Symmetry (and possibly other machines) this means that the user
must have read access to /bin/sh as well as execute access. On our
system and possibly others, /bin/sh is protected rwx--x--x which means
that gdb falls over. Would it be possible to change this and do you know
if anyone is doing it or has done it. I will have a go if no one else has.
Clues would be appreciated....

Thanks

-----*


                                        Colin Bruce (ccx004@uk.ac.coventry)
Technical Details
Message-ID: <4642.9009121714@cck.cov.ac.uk>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!cck.coventry.ac.uk!ccx004

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,d31fe0444c41735c,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 1990-09-12 16:16:43 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!cck.coventry.ac.uk!ccx004
From: ccx004@cck.coventry.ac.uk (Colin Bruce)
Newsgroups: gnu.gdb.bug
Subject: GBD Using /bin/sh
Message-ID: <4642.9009121714@cck.cov.ac.uk>
Date: 12 Sep 90 23:16:43 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 15
Posted: Thu Sep 13 00:16:43 1990
X-Unparsable-Date: Wed, 12 Sep 90 18:14:19 WET DST