History log of /openssh-portable/openbsd-compat/ (Results 51 - 75 of 842)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
d561b0b228-Oct-2019 Darren Tucker

Make sure we have struct statfs before using.

7169e31128-Oct-2019 Darren Tucker

Move utimensat definition into timespec section.

Since utimensat uses struct timespec, move it to the section where we
define struct timespec when needed.

9b9e3ca610-Oct-2019 Darren Tucker

Re-add SA_RESTART to mysignal.

This makes mysignal implement reliable BSD semantics according to
Stevens' APUE. This was first attempted in 2001 but was reverted
due to problems wit

Re-add SA_RESTART to mysignal.

This makes mysignal implement reliable BSD semantics according to
Stevens' APUE. This was first attempted in 2001 but was reverted
due to problems with HP-UX 10.20 and select() and possibly grantpt().
Modern systems should be fine with it, but if any current platforms have
a problem with it now we can disable it just for those. ok djm@

show more ...

0bd312a309-Oct-2019 Darren Tucker

Fix ifdef typo for declaration of memmem.

Fixes build on IRIX. bz#3081.

Revision tags: V_8_1_P1
86a0323308-Oct-2019 Darren Tucker

Make MAKE_CLONE no-op macro more correct.

Similar to the previous change to DEF_WEAK, some compilers don't like
the empty statement, so convert into a no-op function prototype.

13b3369808-Oct-2019 Damien Miller

avoid "return (value)" in void-declared function

spotted by Tim Rice; ok dtucker

fbec7dba30-Sep-2019 Darren Tucker

Include stdio.h for snprintf.

Patch from vapier@gentoo.org.

368f1cc201-Sep-2019 Damien Miller

fixed test in OSX closefrom() replacement

from likan_999.student AT sina.com

6b7c534901-Sep-2019 Damien Miller

retain Solaris PRIV_FILE_LINK_ANY in sftp-server

Dropping this privilege removes the ability to create hard links to
files owned by other users. This is required for the legacy sftp rena

retain Solaris PRIV_FILE_LINK_ANY in sftp-server

Dropping this privilege removes the ability to create hard links to
files owned by other users. This is required for the legacy sftp rename
operation.

bz#3036; approach ok Alex Wilson (the original author of the Solaris
sandbox/pledge replacement code)

show more ...

2874418229-Aug-2019 Damien Miller

proc_pidinfo()-based closefrom() for OS X

Refactor closefrom() to use a single brute-force close() loop fallback.

Based on patch from likan_999.student@sina.com in bz#3049. ok dtuck

proc_pidinfo()-based closefrom() for OS X

Refactor closefrom() to use a single brute-force close() loop fallback.

Based on patch from likan_999.student@sina.com in bz#3049. ok dtucker@

show more ...

d0e5181024-Aug-2019 Darren Tucker

Fix pasto in fallback code.

There is no parameter called "pathname", it should simply be "path".
bz#3059, patch from samuel at cendio.se.

d46075b905-Aug-2019 Darren Tucker

Fix mem leak in unit test.

Patch from jitendra.sharma at intel.com.

4317b2a023-Jul-2019 Darren Tucker

upstream rev 1.28: fix comment typo.

fd0684b323-Jul-2019 Darren Tucker

Remove sys/cdefs.h include.

It's not needed on -portable (that's handled by includes.h) and not all
platforms have it.

11cba2a423-Jul-2019 Darren Tucker

Re-apply portability changes to current sha2.{c,h}.

Rather than attempt to apply 14 years' worth of changes to OpenBSD's sha2
I imported the current versions directly then re-applied the

Re-apply portability changes to current sha2.{c,h}.

Rather than attempt to apply 14 years' worth of changes to OpenBSD's sha2
I imported the current versions directly then re-applied the portability
changes. This also allowed re-syncing digest-libc.c against upstream.

show more ...

0915959423-Jul-2019 Darren Tucker

Import current sha2.c and sha2.h from OpenBSD.

These are not changed from their original state, the next commit will
re-apply the portable changes.

01dddb2318-Jul-2019 Damien Miller

fix SIGWINCH delivery of Solaris for mux sessions

Remove PRIV_PROC_SESSION which was limiting ability to send SIGWINCH
signals to other sessions. bz#3030; report and fix from Darren Mof

fix SIGWINCH delivery of Solaris for mux sessions

Remove PRIV_PROC_SESSION which was limiting ability to send SIGWINCH
signals to other sessions. bz#3030; report and fix from Darren Moffat

show more ...

22b9b3e917-Jul-2019 Darren Tucker

Fix format string integer type in error message.

4547889815-Jul-2019 Darren Tucker

Hook memmem compat code into build.

This fixes builds on platforms that don't have it (at least old DragonFly,
probably others).

c7bd461715-Jul-2019 Darren Tucker

Import memmem.c from OpenBSD.

eb0b51da08-Jul-2019 Darren Tucker

Move log.h include inside ifdefs.

Fixes build on some other platforms that don't have va_list immediately
available (eg NetBSD).

43702f8e06-Jul-2019 Darren Tucker

Include log.h for debug() and friends.

Should fix some compiler warnings on IRIX (bz#3032).

4efe1adf07-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 ...

b8e2b79705-Jul-2019 Darren Tucker

Add prototype for strnlen to prevent warnings.

4c3e00b105-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.

12345678910>>...34