dana
77d203f3fb
unposted: Release 5.8
4 years ago
dana
4bec892059
CVE-2019-20044: Update change log for preceding commits
4 years ago
dana
048f40b68b
Update NEWS/README
4 years ago
dana
b15bd4aa59
Add unsetopt/PRIVILEGED tests
4 years ago
dana
4ce66857b7
Clean up error-message white space
4 years ago
dana
26d02efa7a
Improve PRIVILEGED fixes (again)
...
* Pass RGID instead of passwd GID to initgroups()
* Clean up #ifdefs, avoid unnecessary checks
* Flatten conditions
4 years ago
Daniel Shahaf
8250c5c168
Improve PRIVILEGED fixes
...
- Fix retval handling in bin_setopt()
- Don't skip_setuid / skip_setgid. It's not our place to optimize away noops
(that might not even _be_ noops; they might change the saved uid…).
- Remove HAVE_* guard checks around functions that are used unguarded elsewhere.
- Use bsd-setres_id.c from OpenSSH to provide setresuid() / setresgid()
everywhere, and thus simplify the ifdef soup. Fix some preëxisting
bugs in the macro definitions of setuid() (do we still need that one?).
- Fix zwarning() format codes for variadic arguments type safety
- Restored a comment from HEAD
- Fix failure modes around initgroups()
- Compared privilege restoration code with OpenSSH's permanently_drop_uid() and
updated as needed
- Add E01 PRIVILEGED sanity checks
4 years ago
Sam Foxman
24e993db62
Drop privileges securely
4 years ago
dana
e89060a377
unposted: V01zmodload: Fix failing test from workers/45385
4 years ago
dana
dd523255cc
45423: _su: Improve arg handling, shell look-ups
...
Differences from ML post:
* Properly fix escaping issue with $usr (needs unescaped first)
* Make $shell emptiness check easier to read (per feedback)
4 years ago
dana
8037462895
unposted: _zip: Recognise '--'
4 years ago
Daniel Shahaf
699dfdd0ea
45385: Add a test for 'zmodload -Fa' preemptively disabling ("blacklisting"?) features.
4 years ago
dana
643de93164
unposted: Test release: 5.7.1-test-3
4 years ago
Roman Perepelitsa
754fdc6580
zsh/system: Fix infinite loop in sysread
4 years ago
Martin von Wittich
1f238665f6
_diff_options: Restore -w completion lost in workers/43351
4 years ago
Daniel Shahaf
8a12bd81aa
unposted: Fix ChangeLog typo.
4 years ago
Daniel Shahaf
3bcf9641eb
45368: Add tests for workers/45367's issue about double slashes in 'cd -P' and /home/daniel/in/zsh.
4 years ago
Peter Stephenson
e01223a26c
45373: Fix ERR_EXIT bug in else branch of if.
...
The flags need resetting for this branch otherwise e.g. command
substitution with non-zero status doesn't cause exit.
4 years ago
Daniel Shahaf
7a9467e430
45372: Record a symlink loop bug involving :P
4 years ago
WGH
e71ba9704f
45365: _git: Fix __git_recent_branches for the case when a commit has an empty message
4 years ago
Daniel Shahaf
581585dfc6
45343: Queue signals around arithmetic evaluations
...
The queueing added in execarith() in 45083 is reverted since the callee
does this now.
4 years ago
Daniel Shahaf
8dab5bc037
45344: Document where third-party completion functions should be installed.
4 years ago
Daniel Shahaf
a06143bb30
45345: internal: ztst.vim: Fix highlighting of zsh comments in test payload
4 years ago
Daniel Shahaf
3511169731
unposted: internal: Add some comments and fix indentation. No functional change.
4 years ago
Daniel Shahaf
5e843a3721
45340: internal: Document the difference between paramtab and realparamtab.
4 years ago
Eitan Adler
e626f57613
45332: _git: add completion for git-version
...
Signed-off-by: Eitan Adler <lists@eitanadler.com>
4 years ago
Mikael Magnusson
387247864e
_brace_parameter: add missing \
4 years ago
Daniel Shahaf
28e11ac60b
45305: Add an XFail test: The exec-last-command optimization is applied to try/always.
4 years ago
Daniel Shahaf
0a7bfc0bd2
45307: zstyle docs: Unoverload a placeholder variable name.
...
Use 'pattern' to refer to things matched against contexts and 'metapattern'
to refer to things matched against patterns.
4 years ago
Daniel Shahaf
6f263b5e89
45306: zstyle docs: Introduce the first synopsis in the same way as all others: with an item()().
4 years ago
Daniel Shahaf
490478378f
unposted: docs: Fix a cross-reference.
4 years ago
Daniel Shahaf
c7bc62aa06
45287: zshexpn: Describe parameter elision and add some introductory prose
4 years ago
Daniel Shahaf
faa476a4ed
45302: bin_umask(): Queue signals around umask().
...
Otherwise, a signal handler might create files while the temporary umask
is in effect.
4 years ago
Daniel Shahaf
610b4b3028
users/24656: docs: Add an example of setting and querying zstyles
4 years ago
Peter Stephenson
8406a0d38e
users/24659: Cross-ref doc for matchers.
4 years ago
dana
62a1e37ccc
45296: D02glob: Clean up after test from users/24633
4 years ago
Daniel Shahaf
9f8c369ccd
45290: New helper script for listing XFail tests.
4 years ago
Daniel Shahaf
0681be600c
users/24633: Add an xfail test for users/24619.
4 years ago
Oliver Kiddle
06a9af4f59
unposted: additional typo fix
4 years ago
Eitan Adler
5482d65d5c
45280: _git: add -local variants
...
Technically all timezone formats support the "-local" suffix but it is
not meaningful for all of them. As such just list out the specific
formats which it does.
Also adjust the 'default' description
4 years ago
Peter Stephenson
2ce5f6d79a
users/24628 (fixed): More doc for selectw-word-style widgets.
...
Add example of how to add a new binding for a widget that fixes
a particular word behaviour using styles.
4 years ago
Daniel Shahaf
70d6d0d86c
45266: Fix losetup completion, broken in da085b7a20
(41720).
4 years ago
Daniel Shahaf
99acc17bb6
unposted: Fix punctuation.
4 years ago
Jun-ichi Takimoto
5d593cfd54
use /dev/fd on Cygwin for process substitution
4 years ago
Daniel Shahaf
742ab1283b
unposted: Two additional typo fixes.
4 years ago
Mikael Magnusson
66caa81ab7
Fix typos reported by codespell in shell code
4 years ago
Mikael Magnusson
e6fa0b3b65
Fix typos reported by codespell in Src/
4 years ago
Jens Schleusener
11dbe4c286
45269: Fix misspellings in completions and elsewhere.
4 years ago
dana
4858e868dc
45261: _gcc: Detect clang-as-gcc
4 years ago
Daniel Shahaf
379d7088d6
unposted: internal: Remove Vim modeline that interferes with ztst.vim.
...
As an alternative, one can use:
autocmd BufRead,BufNewFile **/*.ztst setfiletype zsh
(But see Util/ztst-syntax.vim and Util/ztst-ftplugin.vim for an alternative.)
4 years ago