Re: [RFA] .gdbinit security (revived) [incl doc]

Keith Seitz
2010-11-24T21:27:38Z

On 11/24/2010 01:23 PM, Jan Kratochvil wrote:

> So currently on `chmod 666 .gdbinit' it no longer traps...

That's what (I interpreted?) Andreas as suggesting.

> BTW do people really need this feature? I always use my alias gdbn to force
> -nx to not load any .gdbinit, as I generally do not expect which project which
> way changes my GDB behavior.

I have no idea, really. I'm just trying to upstream a Fedora patch. From
the original discussion, I gather that several linux distros are
carrying similar patches. I presume there is a reason for it. [Was there
a CERT alert that was published?]

In any case, I'm rethinking a bunch of this... Stay tuned.

Keith