History log of /openssh-portable/openbsd-compat/ (Results 126 - 150 of 842)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
6301e6c702-Jul-2018 Darren Tucker

Add implementation of getline.

Add getline for the benefit of platforms that don't have it. Sourced
from NetBSD (OpenBSD's implementation is a little too chummy with the
internals o

Add implementation of getline.

Add getline for the benefit of platforms that don't have it. Sourced
from NetBSD (OpenBSD's implementation is a little too chummy with the
internals of FILE).

show more ...

32e4e94e14-May-2018 Damien Miller

sync fmt_scaled.c

revision 1.17
date: 2018/05/14 04:39:04; author: djm; state: Exp; lines: +5 -2;
commitid: 53zY8GjViUBnWo8Z;
constrain fractional part to [0-9] (less confusin

sync fmt_scaled.c

revision 1.17
date: 2018/05/14 04:39:04; author: djm; state: Exp; lines: +5 -2;
commitid: 53zY8GjViUBnWo8Z;
constrain fractional part to [0-9] (less confusing to static analysis); ok ian@

show more ...

7c15301829-Apr-2018 Darren Tucker

Use includes.h instead of config.h.

This ensures it picks up the definition of DEF_WEAK, the lack of which
can cause compile errors in some cases (eg modern AIX). From
michael at fe

Use includes.h instead of config.h.

This ensures it picks up the definition of DEF_WEAK, the lack of which
can cause compile errors in some cases (eg modern AIX). From
michael at felt.demon.nl.

show more ...

cfb1d9bc12-Apr-2018 Damien Miller

Fix tunnel forwarding broken in 7.7p1

bz2855, ok dtucker@

afa6e79b12-Apr-2018 Damien Miller

prefer to use getrandom() for PRNG seeding

Only applies when built --without-openssl. Thanks Jann Horn for
reminder.

10479cc209-Apr-2018 Damien Miller

Many typo fixes from Karsten Weiss

Spotted using https://github.com/lucasdemarchi/codespell

Revision tags: V_7_7_P1
2c71ca1d30-Mar-2018 Darren Tucker

Disable native strndup and strnlen on AIX.

On at least some revisions of AIX, strndup returns unterminated strings
under some conditions, apparently because strnlen returns incorrect

Disable native strndup and strnlen on AIX.

On at least some revisions of AIX, strndup returns unterminated strings
under some conditions, apparently because strnlen returns incorrect
values in those cases. Disable both on AIX and use the replacements
from openbsd-compat. Fixes problem with ECDSA keys there, ok djm.

show more ...

6b5a17bc25-Mar-2018 Darren Tucker

Include ssh_api.h for struct ssh.

struct ssh is needed by implementations of sys_auth_passwd() that were
converted in commit bba02a50. Needed to fix build on AIX, I assume for
the o

Include ssh_api.h for struct ssh.

struct ssh is needed by implementations of sys_auth_passwd() that were
converted in commit bba02a50. Needed to fix build on AIX, I assume for
the other platforms too (although it should be harmless if not needed).

show more ...

bc3f80e425-Mar-2018 Darren Tucker

Remove UNICOS code missed during removal.

Fixes compile error on AIX.

bba02a5025-Mar-2018 Tim Rice

modified: auth-sia.c
modified: openbsd-compat/port-aix.c
modified: openbsd-compat/port-uw.c

propogate changes to auth-passwd.c in commit
7c8

modified: auth-sia.c
modified: openbsd-compat/port-aix.c
modified: openbsd-compat/port-uw.c

propogate changes to auth-passwd.c in commit
7c856857607112a3dfe6414696bf4c7ab7fb0cb3 to other providers
of sys_auth_passwd()

show more ...

58fd4c5c05-Mar-2018 Darren Tucker

Check for and work around buggy fflush(NULL).

Some really old platforms (eg SunOS4) segfault on fflush(NULL) so check
for and work around. With klausz at haus-gisela.de.

33561e6802-Mar-2018 Darren Tucker

Add strndup for platforms that need it.

Some platforms don't have strndup, which includes Solaris 10, NetBSD 3
and FreeBSD 6.

e8a17feb02-Mar-2018 Darren Tucker

Flatten and alphabetize object file lists.

This will make maintenance and changes easier. "no objection" tim@

f0b245b025-Feb-2018 Darren Tucker

Check if HAVE_DECL_BZERO correctly.

5aea4aa525-Feb-2018 Darren Tucker

typo: missing ;

cd3ab57f25-Feb-2018 Darren Tucker

Hook up flock() compat code.

Also a couple of minor changes: fail if we can't lock instead of
silently succeeding, and apply a couple of minor style fixes.

b087998d25-Feb-2018 Darren Tucker

Import flock() compat from NetBSD.

From NetBSD's src/trunk/tools/compat/flock.c, no OpenSSH changes yet.

bda709b825-Feb-2018 Damien Miller

avoid inclusion of deprecated selinux/flask.h

Use string_to_security_class() instead.

c7b5a47e25-Feb-2018 Darren Tucker

Invert sense of getpgrp test.

AC_FUNC_GETPGRP tests if getpgrp(0) works, which it does if it's not
declared. Instead, test if the zero-arg version we want to use works.

b39593a624-Feb-2018 Darren Tucker

Add no-op getsid implmentation.

1105756424-Feb-2018 Darren Tucker

bsd-statvfs: include sys/vfs.h, check for f_flags.

e9dede0624-Feb-2018 Darren Tucker

Handle calloc(0,x) where different from malloc.

Configure assumes that if malloc(0) returns null then calloc(0,n)
also does. On some old platforms (SunOS4) malloc behaves as expected

Handle calloc(0,x) where different from malloc.

Configure assumes that if malloc(0) returns null then calloc(0,n)
also does. On some old platforms (SunOS4) malloc behaves as expected
(as determined by AC_FUNC_MALLOC) but calloc doesn't. Test for this
at configure time and activate the replacement function if found, plus
handle this case in rpl_calloc.

show more ...

2eb4041424-Feb-2018 Darren Tucker

Add prototype for readv if needed.

6c8c9a6124-Feb-2018 Darren Tucker

Check for raise and supply if needed.

a900442524-Feb-2018 Darren Tucker

Check for bzero and supply if needed.

Since explicit_bzero uses it via an indirect it needs to be a function
not just a macro.

12345678910>>...34