Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: Re: Security issue in Zsh restricted mode (zsh -r) – escape via history built‑ins



Morning,

On Sun, 01 Feb 2026 13:10:17 +0100, Oliver Kiddle <opk@xxxxxxx> wrote:
> On further deliberation, I think we should just drop the whole
> restricted mode feature. The documentation has carried a warning that
> "the feature may be removed in future" for the past six years.

Yeah, let's lose it. For that kind of isolation, one'd better use
something like chroot(2) (as the manual rightly points out).

Considering the shell a trusted program appears to be a relic of a now
bygone age.

        --zeurkous.

-- 
Friggin' Machines!




Messages sorted by: Reverse Date, Date, Thread, Author