History log of /openssh-portable/defines.h (Results 1 - 25 of 407)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8372bff3 05-Sep-2020 Sebastian Andrzej Siewior

Remove HAVE_MMAP and BROKEN_MMAP

BROKEN_MMAP is no longer defined since commit
1cfd5c06efb12 ("Remove portability support for mmap")

this commit also removed other HAVE_MMAP

Remove HAVE_MMAP and BROKEN_MMAP

BROKEN_MMAP is no longer defined since commit
1cfd5c06efb12 ("Remove portability support for mmap")

this commit also removed other HAVE_MMAP user. I didn't find anything
that defines HAVE_MMAP. The check does not trigger because compression
on server side is by default COMP_DELAYED (2) so it never triggers.

Remove remaining HAVE_MMAP and BROKEN_MMAP bits.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

show more ...


Revision tags: V_8_3_P1
# e9dc9863 01-May-2020 Darren Tucker

Use LONG_LONG_MAX and friends if available.

If we don't have LLONG_{MIN,MAX} but do have LONG_LONG_{MIN,MAX}
then use those instead. We do calculate these values in configure,
but i

Use LONG_LONG_MAX and friends if available.

If we don't have LLONG_{MIN,MAX} but do have LONG_LONG_{MIN,MAX}
then use those instead. We do calculate these values in configure,
but it turns out that at least one compiler (old HP ANSI C) can't
parse "-9223372036854775808LL" without mangling it. (It can parse
"-9223372036854775807LL" which is presumably why its limits.h defines
LONG_LONG_MIN as the latter minus 1.)

Fixes rekey test when compiled with the aforementioned compiler.

show more ...


Revision tags: V_8_2_P1
# 14ccfdb7 08-Feb-2020 Darren Tucker

Check if UINT32_MAX is defined before redefining.


# ec8a759b 27-Jan-2020 Damien Miller

compat for missing IPTOS_DSCP_LE in system headers


# 0d114476 25-Jan-2020 Darren Tucker

Move definition of UINT32_MAX.

This allows us to always define it if needed not just if we also
define the type ourself.


# 134a74f4 15-Nov-2019 Darren Tucker

Add SSIZE_MAX when we define ssize_t.


# 2912596a 28-Oct-2019 Darren Tucker

Define UINT32_MAX if needed.


Revision tags: V_8_1_P1
# 0c7f8d23 07-Oct-2019 Darren Tucker

Make DEF_WEAK more likely to be correct.

Completely nop-ing out DEF_WEAK leaves an empty statemment which some
compilers don't like. Replace with a no-op function template. ok djm@


# c1e0a32f 24-Sep-2019 Darren Tucker

Add more ToS bits, currently only used by netcat.


# 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 ...


Revision tags: V_8_0_P1, V_7_9_P1, V_7_8_P1
# 87f08be0 19-Jul-2018 Damien Miller

Remove support for S/Key

Most people will 1) be using modern multi-factor authentication methods
like TOTP/OATH etc and 2) be getting support for multi-factor
authentication via PAM

Remove support for S/Key

Most people will 1) be using modern multi-factor authentication methods
like TOTP/OATH etc and 2) be getting support for multi-factor
authentication via PAM or BSD Auth.

show more ...


Revision tags: V_7_7_P1
# ddc0f381 12-Feb-2018 Darren Tucker

Remove UNICOS support.

The code required to support it is quite invasive to the mainline
code that is synced with upstream and is an ongoing maintenance burden.
Both the hardware and

Remove UNICOS support.

The code required to support it is quite invasive to the mainline
code that is synced with upstream and is an ongoing maintenance burden.
Both the hardware and software are literal museum pieces these days and
we could not find anyone still running OpenSSH on one.

show more ...


Revision tags: V_7_6_P1
# bcd14850 10-Jun-2017 Damien Miller

portability for sftp globbed ls sort by mtime

Include replacement timespeccmp() for systems that lack it.
Support time_t struct stat->st_mtime in addition to
timespec stat->st_mtim,

portability for sftp globbed ls sort by mtime

Include replacement timespeccmp() for systems that lack it.
Support time_t struct stat->st_mtime in addition to
timespec stat->st_mtim, as well as unsorted fallback.

show more ...


# d29ba6f4 30-Apr-2017 Darren Tucker

Define INT32_MAX and INT64_MAX if needed.


Revision tags: V_7_5_P1, V_7_4_P1
# 032147b6 14-Oct-2016 Darren Tucker

Move DEF_WEAK into defines.h.

As well pull in more recent changes from OpenBSD these will start to
arrive so put it where the definition is shared.


# 1e8013a1 17-Aug-2016 Darren Tucker

Remove obsolete CVS $Id from source files.

Since -portable switched to git the CVS $Id tags are no longer being
updated and are becoming increasingly misleading. Remove them.


Revision tags: V_7_3_P1
# 353766e0 23-Jul-2016 Darren Tucker

Move Cygwin IPPORT_RESERVED overrride to defines.h

Patch from vinschen at redhat.com.


Revision tags: V_7_2_P2, V_7_2_P1, V_7_1_P2
# 8db134e7 28-Oct-2015 Darren Tucker

Prevent name collisions with system glob (bz#2463)

Move glob.h from includes.h to the only caller (sftp) and override the
names for the symbols. This prevents name collisions with the s

Prevent name collisions with system glob (bz#2463)

Move glob.h from includes.h to the only caller (sftp) and override the
names for the symbols. This prevents name collisions with the system glob
in the case where something other than ssh uses it (eg kerberos). With
jjelen at redhat.com, ok djm@

show more ...


Revision tags: V_7_1_P1, V_7_0_P1, V_6_9_P1, V_6_8_P1
# d1bc8443 03-Mar-2015 Damien Miller

Revert "define __unused to nothing if not already defined"

This reverts commit 1598419e38afbaa8aa5df8dd6b0af98301e2c908.

Some system headers have objects named __unused


# 1598419e 03-Mar-2015 Damien Miller

define __unused to nothing if not already defined

fixes builds on BSD/OS


# 1734e276 24-Feb-2015 Darren Tucker

Move definition of _NSIG.

_NSIG is only unsed in one file, so move it there prevent redefinition
warnings reported by Kevin Brott.


# 38806bda 24-Feb-2015 Damien Miller

include netdb.h to look for MAXHOSTNAMELEN; ok tim


# 676c38d7 24-Feb-2015 Tim Rice

portability fix: if we can't dind a better define for HOST_NAME_MAX, use 255


# 28ba006c 20-Feb-2015 Darren Tucker

More correct checking of HAVE_DECL_AI_NUMERICSERV.


# e50e8c97 20-Feb-2015 Darren Tucker

Add null declaration of AI_NUMERICINFO.

Some platforms (older FreeBSD and DragonFly versions) do have
getaddrinfo() but do not have AI_NUMERICINFO. so define it to zero
in those case

Add null declaration of AI_NUMERICINFO.

Some platforms (older FreeBSD and DragonFly versions) do have
getaddrinfo() but do not have AI_NUMERICINFO. so define it to zero
in those cases.

show more ...


12345678910>>...17