Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add SHORT_REPEAT option | Mikael Magnusson | 2020-04-02 | 1 | -0/+1 |
| | |||||
* | Clean up error-message white space | dana | 2020-02-14 | 1 | -9/+21 |
| | |||||
* | Improve PRIVILEGED fixes (again) | dana | 2020-02-14 | 1 | -49/+43 |
| | | | | | | | | * Pass RGID instead of passwd GID to initgroups() * Clean up #ifdefs, avoid unnecessary checks * Flatten conditions | ||||
* | Improve PRIVILEGED fixes | Daniel Shahaf | 2020-02-14 | 1 | -81/+67 |
| | | | | | | | | | | | | | | | | | | | | | | | | - 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 | ||||
* | Drop privileges securely | Sam Foxman | 2020-02-14 | 1 | -40/+121 |
| | |||||
* | 44198: Add cd_silent option to suppress all cd output | dana | 2019-04-12 | 1 | -0/+1 |
| | |||||
* | 43008: Improve code to remove privileges. | Peter Stephenson | 2018-06-15 | 1 | -7/+24 |
| | | | | | | | | Remove warnings of unused values as we always check the finally result later. Put segid before setuid as the setgid could fail if UID no longer privileged. | ||||
* | 42156: new CHECK_RUNNING_JOBS option demanded by bash groupies | Peter Stephenson | 2017-12-22 | 1 | -0/+1 |
| | | | | | | | Also new job options. Also suppress debug error if rows or columns are reported as zero as this is normal without a physical terminal. | ||||
* | 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵ | Barton E. Schaefer | 2017-01-29 | 1 | -1/+1 |
| | | | | not re-entrant. | ||||
* | 40391: Add WARN_NESTED_VAR option and functions -W. | Peter Stephenson | 2017-01-23 | 1 | -0/+1 |
| | | | | | These are companions to WARN_CREATED_GLOBAL, warning when a variable from an enclosing scope is altered. | ||||
* | 40306 with doc tweaks: Change behaviour expanding alias in () function ↵ | Peter Stephenson | 2017-01-10 | 1 | -0/+1 |
| | | | | | | | definition. Now an error unless the () is part of the same error as the name. Add ALIAS_FUNC_DEF option to allow it again. | ||||
* | 38039: POSIXy behavior for "set +o" | Barton E. Schaefer | 2016-03-03 | 1 | -3/+4 |
| | |||||
* | unposted (cf. 37387): emulate turns off WARN_CREATE_GLOBAL | Barton E. Schaefer | 2015-12-19 | 1 | -1/+1 |
| | |||||
* | 37038: add -l option to emulate to list options in emulations | Peter Stephenson | 2015-11-01 | 1 | -0/+30 |
| | |||||
* | 37022: add GLOB_STAR_SHORT option to abbreviate ** and *** | Peter Stephenson | 2015-10-30 | 1 | -0/+1 |
| | |||||
* | 35655: APPEND_CREATE option for POSIX copmatible NO_CLOBBER | Peter Stephenson | 2015-06-29 | 1 | -0/+1 |
| | |||||
* | various posts: Implement assignment parsing for typeset. | Peter Stephenson | 2015-06-24 | 1 | -1/+1 |
| | | | | | | | | | | | | Typeset assignments now work like raw assignments except for no "+=" and no GLOB_ASSIGN. Documented in typeset builtin doc and mentioned in release notes. Tests to ensure basic sanity. Enabled by default, can be turned off by "disable -r" with typeset family of commands. | ||||
* | 35416: Turn on MULTIBYTE in all emulations. | Peter Stephenson | 2015-06-08 | 1 | -1/+1 |
| | | | | This now includes sh. | ||||
* | Take more care with errors from setuid(). | Jérémie Roquet | 2014-10-31 | 1 | -1/+11 |
| | | | | | This is to ensure the user is aware of errors unsetting the PRIVELEGED option. | ||||
* | 32768 with further modifications: LOCAL_LOOPS option. | Peter Stephenson | 2014-06-13 | 1 | -0/+1 |
| | |||||
* | 32682 with tweaks: Add INC_APPEND_HISTORY_TIME. | Peter Stephenson | 2014-06-06 | 1 | -0/+1 |
| | | | | Revert INC_APPEND_HISTORY behaviour. | ||||
* | 32634: add POSIX_ARGZERO option | Barton E. Schaefer | 2014-06-01 | 1 | -0/+1 |
| | |||||
* | users:18023: Add PIPEFAIL option | Peter Stephenson | 2013-10-06 | 1 | -0/+1 |
| | |||||
* | 31444: Basic code for enable/disable -p | Peter Stephenson | 2013-06-13 | 1 | -0/+1 |
| | |||||
* | users/17665: add FORCE_FLOAT option | Peter Stephenson | 2013-03-05 | 1 | -0/+1 |
| | |||||
* | 30789: Add CONTINUE_ON_ERROR for old behaviour. | Peter Stephenson | 2012-11-15 | 1 | -0/+1 |
| | | | | | New behaviour is for scripts to exit on error instead of returning to top level and executing the next command. | ||||
* | 30726: make shell options passed to emulate stick along with the emulation | Peter Stephenson | 2012-10-11 | 1 | -13/+5 |
| | |||||
* | 30722: fix some cases where emulations or options were not propagated properly | Peter Stephenson | 2012-10-07 | 1 | -26/+46 |
| | | | | from the emulate command | ||||
* | 30716: make IGNORECLOSEBRACES an emulation option | Peter Stephenson | 2012-10-05 | 1 | -1/+1 |
| | |||||
* | 30633: "functions -T" only traces marked function, not called functions | Peter Stephenson | 2012-08-21 | 1 | -1/+1 |
| | |||||
* | 30320: "emulate" accepts invocation-time flags; other small doc tweaks. | Bart Schaefer | 2012-03-07 | 1 | -0/+2 |
| | |||||
* | 30303: emulate inside function marked for execution tracing enables xtrace | Peter Stephenson | 2012-03-01 | 1 | -0/+14 |
| | |||||
* | 30101: add HASH_EXECUTABLES_ONLY option | Peter Stephenson | 2012-01-08 | 1 | -0/+1 |
| | |||||
* | 29955++: IGNORE_CLOSE_BRACES option | Peter Stephenson | 2011-12-08 | 1 | -0/+1 |
| | |||||
* | 28424: new POSIX_STRINGS option | Peter Stephenson | 2010-11-22 | 1 | -1/+2 |
| | |||||
* | 28308/28310: HIST_LEX_WORDS, check for quick history read | Peter Stephenson | 2010-10-02 | 1 | -0/+1 |
| | |||||
* | 28253: document -h argument to atribute commands | Peter Stephenson | 2010-09-12 | 1 | -0/+1 |
| | |||||
* | 27793 and follow ups: add PATH_SCRIPT option to find script using $PATH | Peter Stephenson | 2010-03-16 | 1 | -0/+1 |
| | |||||
* | 27638, based on Frank Terbeck, 27633: SOURCETRACE option | Peter Stephenson | 2010-01-27 | 1 | -0/+1 |
| | |||||
* | Joakim Rosqvist: 27591 as modified in 27594: | Peter Stephenson | 2010-01-13 | 1 | -0/+3 |
| | | | | KEYBOARD_HACK variable | ||||
* | 27167: add POSIX_CD option to test "." after CDPATH | Peter Stephenson | 2009-07-19 | 1 | -0/+1 |
| | |||||
* | 27106: reset status on command that expands to empty | Peter Stephenson | 2009-07-10 | 1 | -0/+1 |
| | | | | 27122: add POSIX_JOBS option | ||||
* | 27100: Allow MONITOR option in non-interactive shells for testing. | Peter Stephenson | 2009-07-08 | 1 | -1/+1 |
| | |||||
* | 26675: add POSIX_ALIASES option | Peter Stephenson | 2009-03-03 | 1 | -0/+1 |
| | |||||
* | 26546, 26556: sticky emulation for functions defined in emulate ... -c ... | Peter Stephenson | 2009-02-11 | 1 | -4/+22 |
| | | | | environments, plus documentation | ||||
* | 25641: add emulation option (NO_)MULTI_FUNC_DEF | Peter Stephenson | 2008-09-11 | 1 | -0/+1 |
| | |||||
* | 25418: set PROMPT_SUBST for all Bourne-style shells | Peter Stephenson | 2008-08-07 | 1 | -1/+1 |
| | |||||
* | 25415: Make DEBUG_BEFORE_CMD the default. | Peter Stephenson | 2008-08-07 | 1 | -1/+1 |
| | | | | | Reuse ERR_EXIT in DEBUG traps. Clean up trapreturn code. | ||||
* | 25345, 25347: neaten interface from main shell to zle | Peter Stephenson | 2008-07-31 | 1 | -1/+1 |
| | |||||
* | 25149: add C_PRECEDENCES option to make arithmetic have C/Perl precedence | Peter Stephenson | 2008-06-12 | 1 | -0/+1 |
| |