History log of /openssh-portable/openbsd-compat/ (Results 26 - 50 of 842)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
84226b4423-Jan-2020 Darren Tucker

Remove mysignal wrapper.

We switched the main code to use sigaction(), so the wrapper is no
longer used.

3bf2a6ac23-Jan-2020 dtucker@openbsd.org

upstream: Replace all calls to signal(2) with a wrapper around

sigaction(2). This wrapper blocks all other signals during the handler
preventing races between handlers, and sets SA_RESTA

upstream: Replace all calls to signal(2) with a wrapper around

sigaction(2). This wrapper blocks all other signals during the handler
preventing races between handlers, and sets SA_RESTART which should reduce
the potential for short read/write operations.

OpenBSD-Commit-ID: 5e047663fd77a40d7b07bdabe68529df51fd2519

show more ...

e0cedcad13-Jan-2020 Darren Tucker

Improve search for 'struct timespec'.

Make struct timespec test consistent with existing timeval test.
Include time.h for timespec in compat header where required.

26b2675b13-Jan-2020 Darren Tucker

Remove configure test & compat code for ripemd160.

RIPEMD160 support was removed upstream in 2017, however we still had
a configure test and compat code for it, so clean those up now.

afffd31010-Dec-2019 Darren Tucker

Check if memmem is declared in system headers.

If the system (or one of the dependencies) implements memmem but does
not define the header, we would not declare it either resulting in

Check if memmem is declared in system headers.

If the system (or one of the dependencies) implements memmem but does
not define the header, we would not declare it either resulting in
compiler warnings. Check for declaration explicitly. bz#3102.

show more ...

4438481528-Nov-2019 Damien Miller

compile sk-dummy.so with no-PIE version of LDFLAGS

This lets it pick up the -L path to libcrypto for example.

b218055e28-Nov-2019 Damien Miller

(yet) another x-platform fix for sk-dummy.so

Check for -fPIC support from compiler

Compile libopenbsd-compat -fPIC

Don't mix -fPIE and -fPIC when compiling

fbcb9a7f15-Nov-2019 Damien Miller

upstream commit

revision 1.48
date: 2019/02/04 16:45:40; author: millert; state: Exp; lines: +16 -17; commitid: cpNtVC7erojNyctw;
Make gl_pathc, gl_matchc and gl_offs size_t in g

upstream commit

revision 1.48
date: 2019/02/04 16:45:40; author: millert; state: Exp; lines: +16 -17; commitid: cpNtVC7erojNyctw;
Make gl_pathc, gl_matchc and gl_offs size_t in glob_t to match POSIX.
This requires a libc major version bump. OK deraadt@

show more ...

2cfb11ab15-Nov-2019 Damien Miller

upstream commit

revision 1.47
date: 2017/05/08 14:53:27; author: millert; state: Exp; lines: +34 -21; commitid: sYfxfyUHAfarP8sE;
Fix exponential CPU use with repeated '*' operat

upstream commit

revision 1.47
date: 2017/05/08 14:53:27; author: millert; state: Exp; lines: +34 -21; commitid: sYfxfyUHAfarP8sE;
Fix exponential CPU use with repeated '*' operators by changing '*'
handling to be interative instead of recursive.
Fix by Yves Orton, ported to OpenBSD glob.c by Ray Lai. OK tb@

show more ...

228dd59515-Nov-2019 Damien Miller

upstream commit

revision 1.46
date: 2015/12/28 22:08:18; author: mmcc; state: Exp; lines: +5 -9; commitid: 0uXuF2O13NH9q2e1;
Remove NULL-checks before free() and a few related de

upstream commit

revision 1.46
date: 2015/12/28 22:08:18; author: mmcc; state: Exp; lines: +5 -9; commitid: 0uXuF2O13NH9q2e1;
Remove NULL-checks before free() and a few related dead assignments.

ok and valuable input from millert@

show more ...

a16f748615-Nov-2019 Damien Miller

upstream commit

revision 1.44
date: 2015/09/14 16:09:13; author: tedu; state: Exp; lines: +3 -5; commitid: iWfSX2BIn0sLw62l;
remove null check before free. from Michael McConvill

upstream commit

revision 1.44
date: 2015/09/14 16:09:13; author: tedu; state: Exp; lines: +3 -5; commitid: iWfSX2BIn0sLw62l;
remove null check before free. from Michael McConville
ok semarie

show more ...

fd37cdea15-Nov-2019 Damien Miller

upstream commit

revision 1.43
date: 2015/06/13 16:57:04; author: deraadt; state: Exp; lines: +4 -4; commitid: zOUKuqWBdOPOz1SZ;
in glob() initialize the glob_t before the first f

upstream commit

revision 1.43
date: 2015/06/13 16:57:04; author: deraadt; state: Exp; lines: +4 -4; commitid: zOUKuqWBdOPOz1SZ;
in glob() initialize the glob_t before the first failure check.
from j@pureftpd.org
ok millert stsp

show more ...

fd62769c15-Nov-2019 Damien Miller

upstream commit

revision 1.42
date: 2015/02/05 12:59:57; author: millert; state: Exp; lines: +2 -1; commitid: DTQbfd4poqBW8iSJ;
Include stdint.h, not limits.h to get SIZE_MAX. O

upstream commit

revision 1.42
date: 2015/02/05 12:59:57; author: millert; state: Exp; lines: +2 -1; commitid: DTQbfd4poqBW8iSJ;
Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@

show more ...

2b6cba7e15-Nov-2019 Damien Miller

upstream commit

revision 1.41
date: 2014/10/08 05:35:27; author: deraadt; state: Exp; lines: +3 -3; commitid: JwTGarRLHQKDgPh2;
obvious realloc -> reallocarray conversion

19f8ec4214-Nov-2019 Damien Miller

upstream commit

revision 1.40
date: 2013/09/30 12:02:34; author: millert; state: Exp; lines: +14 -15;
Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,
MAXNAMLEN o

upstream commit

revision 1.40
date: 2013/09/30 12:02:34; author: millert; state: Exp; lines: +14 -15;
Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@

show more ...

bb7413db14-Nov-2019 Damien Miller

upstream commit

revision 1.39
date: 2012/01/20 07:09:42; author: tedu; state: Exp; lines: +4 -4;
the glob stat limit is way too low. bump to 2048.
while here, failed stats sh

upstream commit

revision 1.39
date: 2012/01/20 07:09:42; author: tedu; state: Exp; lines: +4 -4;
the glob stat limit is way too low. bump to 2048.
while here, failed stats should count against the limit too.
ok deraadt sthen stsp

show more ...

245dcbdc12-Nov-2019 Darren Tucker

Put headers inside ifdef _AIX.

Prevents compile errors due to missing definitions (eg va_list) on
non-AIX platforms.

3611bfe802-Nov-2019 Darren Tucker

Define __BSD_VISIBLE in fnmatch.h.

.. since we use symbols defined only when it is when using the compat
fnmatch.

0e3c5bc501-Nov-2019 Darren Tucker

Hook up fnmatch for platforms that don't have it.

b56dbfd901-Nov-2019 Darren Tucker

Add missing bracket in realpath macro.

59ccb56f01-Nov-2019 Darren Tucker

Import fnmatch.c from OpenBSD.

79d46de901-Nov-2019 Darren Tucker

Use sftp_realpath if no native realpath.

5eb7b95631-Oct-2019 Darren Tucker

Add prototype for localtime_r if needed.

1bcd116929-Oct-2019 Darren Tucker

Add implementation of localtime_r.

5fe81da228-Oct-2019 Darren Tucker

Fix ifdefs to not mask needed bits.

12345678910>>...34