summaryrefslogtreecommitdiff
path: root/test/perf.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 01:08:26 -0300
committerGabriel Schneider <[email protected]>2026-10-01 01:35:12 -0300
commit006fdc1d758fc2f9b956051e75f31a0122bd7883 (patch)
tree62e880140353b45c3ed6a7ba467bc1e941e1abe0 /test/perf.zig
parentf453e3c3014ec578bbe6601a141134ce034185ff (diff)
downloadpardes-006fdc1d758fc2f9b956051e75f31a0122bd7883.tar.gz
pardes-006fdc1d758fc2f9b956051e75f31a0122bd7883.zip
With Pager pardes, a terminal's shell also gets SYSTEMD_PAGER and SYSTEMD_PAGERSECURE=0, and the pager's path is quoted only when it needs it
journalctl and systemctl read SYSTEMD_PAGER, not PAGER, and in their secure mode run only less, so a pty/run of either still waited in it; and systemd, splitting a pager on blanks and exec'ing it, never ran the quoted path. Where the user's environment sets neither, a terminal now gets SYSTEMD_PAGER as PAGER is set and secure mode off (this pager has no shell to escape to), and the path is single-quoted only when it holds a blank or shell character. Command panes keep cat. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/perf.zig')
0 files changed, 0 insertions, 0 deletions