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
On Fri, 11 May 2012 20:19:13 +0200, Joel Brobecker wrote:
> Yeah - that's why I suggested a boolean setting instead.
[ replied elsewhere ]
> it fits well with the new setting "auto-load script-dir" which is a list of
> directories where scripts are implicitly considered as safe.
(a) It is called "set auto-load scripts-directory".
(To match the plural of "set auto-load gdb-scripts"
and "set auto-load python-scripts".)
(b) (gdb) help set auto-load scripts-directory
[...]
Directories listed here need to be
present also in the 'set auto-load safe-path' option.
I find violation of security coherency if there
exists "set auto-load safe-path" to permit loading files from also other
location.
Thanks,
Jan