This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch 1/2] Provide $ddir substitution for --with-auto-load-safe-path


> > 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.

I proposing we ditch safe-path entirely, and merge it with
scripts-directory. What good is it to have a directory in
scripts-directory if it's not in safe-path at the same time?

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]