[patch#3 5/8] set auto-load safe-path

Eli Zaretskii eliz@gnu.org
Wed May 9 05:29:00 GMT 2012


> Date: Tue, 8 May 2012 21:21:29 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb-patches@sourceware.org, Eli Zaretskii <eliz@gnu.org>
> 
> I accept the new behavior, and the security claim, no problem.
> I just think that we can improve on the documentation as follow:
> 
> In my opinion, we should definitely mention the "auto-load safe-path"
> setting at the very beginning of the auto-load section, before we start
> talking about the various kinds of files that can be automatically
> loaded. And I also think that it would be beneficial to add a reference
> to the safe-path setting in all "set auto-load ..." commands, to make
> sure that people who quickly search the documentation do not miss the
> important fact that setting "auto-load local-gdbinit" to "on" might not
> be sufficient.
> 
> And lastly, it would have been nice if, after reading the documentation,
> the user could have had a sense of what policy GDB implements by default.
> For instance, GDB's default policy is to enable auto-loading of all
> files, but only from trusted directories specified via the "auto-load
> safe-path" setting.

I would welcome patches ;-)



More information about the Gdb-patches mailing list