This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 1/2] Provide $ddir substitution for --with-auto-load-safe-path
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org
- Date: Fri, 11 May 2012 11:19:13 -0700
- Subject: Re: [patch 1/2] Provide $ddir substitution for --with-auto-load-safe-path
- References: <20120509154640.GA12692@host2.jankratochvil.net> <4FAD56BE.7090703@redhat.com>
> > +Setting this variable to @file{/} disables this security protection,
>
>
> I wonder if creeping in this unixysm is a sign of an interface
> that could be better. I mean, it doesn't make so much sense
> if you think of Windows, for example.
Yeah - that's why I suggested a boolean setting instead. it fits
well with the new setting "auto-load script-dir" which is a list
of directories where scripts are implicitly considered as safe.
--
Joel