[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/9] Add library mode to source builtin
From: |
Lawrence Velázquez |
Subject: |
Re: [PATCH 0/9] Add library mode to source builtin |
Date: |
Sun, 05 May 2024 15:11:46 -0400 |
User-agent: |
Cyrus-JMAP/3.11.0-alpha0-417-gddc99d37d-fm-hotfix-20240424.001-g2c179674 |
On Sun, May 5, 2024, at 5:54 AM, Matheus Afonso Martins Moreira wrote:
> This patch set adds a special operating mode to the existing source
> builtin to make it behave in the desired way. When source is passed
> the options --library or -l, it will search for files in the
> directories given by the BASH_LIBRARIES_PATH environment variable,
I think every single use of the term "library" in this whole endeavor
is misleading and misguided. It implies something unique about the
files being sourced, when in fact there is nothing special about
them at all -- they can still run arbitrary code, modify the global
namespace, etc. etc. etc. etc.
--
vq
- [PATCH 5/9] builtins/source: refactor file searching function, (continued)
- [PATCH 5/9] builtins/source: refactor file searching function, Matheus Afonso Martins Moreira, 2024/05/05
- [PATCH 6/9] builtins/source: define library search function, Matheus Afonso Martins Moreira, 2024/05/05
- [PATCH 7/9] builtins/source: add the -l|--library options, Matheus Afonso Martins Moreira, 2024/05/05
- [PATCH 8/9] builtins/source: search libraries in library mode, Matheus Afonso Martins Moreira, 2024/05/05
- [PATCH 9/9] variables: define default BASH_LIBRARIES_PATH, Matheus Afonso Martins Moreira, 2024/05/05
- Re: [PATCH 0/9] Add library mode to source builtin,
Lawrence Velázquez <=
- Re: [PATCH 0/9] Add library mode to source builtin, Chet Ramey, 2024/05/07
- Re: [PATCH 0/9] Add library mode to source builtin, Kerin Millar, 2024/05/07
- Re: [PATCH 0/9] Add library mode to source builtin, Chet Ramey, 2024/05/07
- Re: [PATCH 0/9] Add library mode to source builtin, Kerin Millar, 2024/05/07
- Re: [PATCH 0/9] Add library mode to source builtin, Chet Ramey, 2024/05/07
- Re: [PATCH 0/9] Add library mode to source builtin, Matheus Afonso Martins Moreira, 2024/05/07