bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 8/8] shell: restrict BASH_SOURCE_PATH when appropriate


From: Chet Ramey
Subject: Re: [PATCH v2 8/8] shell: restrict BASH_SOURCE_PATH when appropriate
Date: Tue, 14 May 2024 15:54:43 -0400
User-agent: Mozilla Thunderbird

On 5/13/24 6:37 AM, Matheus Afonso Martins Moreira wrote:
Make the BASH_SOURCE_PATH variable read-only and unsettable
when the shell is operating in restricted mode. This variable
should be restricted for the same reasons why PATH is restricted.

Or you could simply ignore BASH_SOURCE_PATH in restricted mode.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]