43702f8e | 06-Jul-2019 |
Darren Tucker |
Include log.h for debug() and friends. Should fix some compiler warnings on IRIX (bz#3032). |
4efe1adf | 07-Jul-2019 |
Damien Miller |
remove realpath() compat replacement We shipped a BSD implementation of realpath() because sftp-server depended on its behaviour. OpenBSD is now moving to a more strictly POSIX-
remove realpath() compat replacement We shipped a BSD implementation of realpath() because sftp-server depended on its behaviour. OpenBSD is now moving to a more strictly POSIX-compliant realpath(2), so sftp-server now unconditionally requires its own BSD-style realpath implementation. As such, there is no need to carry another independant implementation in openbsd-compat. ok dtucker@
show more ...
|
b8e2b797 | 05-Jul-2019 |
Darren Tucker |
Add prototype for strnlen to prevent warnings. |
4c3e00b1 | 05-Jul-2019 |
Darren Tucker |
Cast *ID types to unsigned long when printing. UID and GID types vary by platform so cast to u_long and use %lu when printing them to prevent warnings. |
2753521e | 05-Jul-2019 |
Darren Tucker |
Add prototype for compat strndup.(bz#3032). |
73eb6cef | 15-Jun-2019 |
Darren Tucker |
Include stdio.h for vsnprintf. Patch from mforney at mforney.org. |
adcaf40f | 07-Jun-2019 |
Darren Tucker |
upstream rev 1.27: fix integer overflow. Cast bitcount to u_in64_t before bit shifting to prevent integer overflow on 32bit platforms which cause incorrect results when adding a block
upstream rev 1.27: fix integer overflow. Cast bitcount to u_in64_t before bit shifting to prevent integer overflow on 32bit platforms which cause incorrect results when adding a block >=512M in size. sha1 patch from ante84 at gmail.com via openssh github, sha2 with djm@, ok tedu@
show more ...
|
7689048e | 07-Jun-2019 |
Darren Tucker |
upstream rev 1.25: add DEF_WEAK. Wrap blowfish, sha*, md5, and rmd160 so that internal calls go direct ok deraadt@ |
55f31533 | 07-Jun-2019 |
Darren Tucker |
upstream rev 1.25: add sys/types.h |
10974f98 | 07-Jun-2019 |
Darren Tucker |
upstream: Use explicit_bzero instead of memset in hash Final and End functions. OK deraadt@ djm@ |
2b3402dc | 07-Jun-2019 |
Darren Tucker |
Always clean up before and after utimensat test. |
18289819 | 07-Jun-2019 |
Darren Tucker |
Update utimensat test. POSIX specifies that when given a symlink, AT_SYMLINK_NOFOLLOW should update the symlink and not the destination. The compat code doesn't have a way to do thi
Update utimensat test. POSIX specifies that when given a symlink, AT_SYMLINK_NOFOLLOW should update the symlink and not the destination. The compat code doesn't have a way to do this, so where possible it fails instead of following a symlink when explicitly asked not to. Instead of checking for an explicit failure, check that it does not update the destination, which both the real and compat implmentations should honour. Inspired by github pull req #125 from chutzpah at gentoo.org.
show more ...
|
b7b83349 | 26-Apr-2019 |
Darren Tucker |
Don't install duplicate STREAMS modules on Solaris Check if STREAMS modules are already installed on pty before installing since when compiling with XPG>=4 they will likely be installed
Don't install duplicate STREAMS modules on Solaris Check if STREAMS modules are already installed on pty before installing since when compiling with XPG>=4 they will likely be installed already. Prevents hangs and duplicate lines on the terminal. bz#2945 and bz#2998, patch from djm@
show more ...
|
Revision tags: V_8_0_P1 |
|
79a87d32 | 02-Apr-2019 |
Darren Tucker |
Remove "struct ssh" from sys_auth_record_login. It's not needed, and is not available from the call site in loginrec.c Should only affect AIX, spotted by Kevin Brott. |
138c0d52 | 02-Apr-2019 |
Darren Tucker |
Adapt custom_failed_login to new prototype. Spotted by Kevin Brott. |
43f47ebb | 31-Mar-2019 |
Tim Rice |
Only use O_NOFOLLOW in fchownat and fchmodat if defined |
f5abb05f | 27-Mar-2019 |
Darren Tucker |
Only use O_NOFOLLOW in utimensat if defined. Fixes build on systems that don't have it (Solaris <=9) Found by Tom G. Christensen. |
a212107b | 12-Mar-2019 |
Darren Tucker |
Replace alloca with xcalloc. The latter checks for memory exhaustion and integer overflow and may be at a less predictable place. Sanity check by vinschen at redhat.com, ok djm@ |
daa7505a | 11-Mar-2019 |
Darren Tucker |
Use Cygwin-specific matching only for users+groups. Patch from vinschen at redhat.com, updated a little by me. |
37638c75 | 20-Feb-2019 |
Corinna Vinschen |
Cygwin: implement case-insensitive Unicode user and group name matching The previous revert enabled case-insensitive user names again. This patch implements the case-insensitive user an
Cygwin: implement case-insensitive Unicode user and group name matching The previous revert enabled case-insensitive user names again. This patch implements the case-insensitive user and group name matching. To allow Unicode chars, implement the matcher using wchar_t chars in Cygwin-specific code. Keep the generic code changes as small as possible. Cygwin: implement case-insensitive Unicode user and group name matching Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
show more ...
|
bed1d436 | 21-Feb-2019 |
Darren Tucker |
Revert unintended parts of previous commit. |
f02afa35 | 20-Feb-2019 |
Corinna Vinschen |
Revert "[auth.c] On Cygwin, refuse usernames that have differences in case" This reverts commit acc9b29486dfd649dfda474e5c1a03b317449f1c. Signed-off-by: Corinna Vinschen <vinschen@r
Revert "[auth.c] On Cygwin, refuse usernames that have differences in case" This reverts commit acc9b29486dfd649dfda474e5c1a03b317449f1c. Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
show more ...
|
f236ca27 | 23-Jan-2019 |
Darren Tucker |
Also undef SIMPLEQ_FOREACH_SAFE. Prevents macro redefinition warning on at least NetBSD 6.1. |
08f66d9f | 19-Jan-2019 |
Damien Miller |
remove vestiges of old packet API from loginrec.c |
a6258e5d | 17-Jan-2019 |
Darren Tucker |
Add minimal fchownat and fchmodat implementations. Fixes builds on at least OS X Lion, NetBSD 6 and Solaris 10. |