<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zsh/Src/openssh_bsd_setres_id.c, branch declarednull</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/zsh/atom/Src/openssh_bsd_setres_id.c?h=declarednull</id>
<link rel='self' href='http://git.sudomsg.com/mirror/zsh/atom/Src/openssh_bsd_setres_id.c?h=declarednull'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/'/>
<updated>2020-02-14T22:06:57Z</updated>
<entry>
<title>Improve PRIVILEGED fixes</title>
<updated>2020-02-14T22:06:57Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>danielsh@apache.org</email>
</author>
<published>2019-12-26T09:16:19Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=8250c5c168f07549ed646e6848e6dda118271e23'/>
<id>urn:sha1:8250c5c168f07549ed646e6848e6dda118271e23</id>
<content type='text'>
- 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
</content>
</entry>
</feed>
