Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-11-01 | Add missing bracket in realpath macro. | Darren Tucker | |
2019-11-01 | Use sftp_realpath if no native realpath. | Darren Tucker | |
2019-10-29 | Add implementation of localtime_r. | Darren Tucker | |
2019-10-28 | Fix ifdefs to not mask needed bits. | Darren Tucker | |
2019-10-28 | Move utimensat definition into timespec section. | Darren Tucker | |
Since utimensat uses struct timespec, move it to the section where we define struct timespec when needed. | |||
2019-01-18 | Add minimal fchownat and fchmodat implementations. | Darren Tucker | |
Fixes builds on at least OS X Lion, NetBSD 6 and Solaris 10. | |||
2019-01-18 | Add a minimal implementation of utimensat(). | Darren Tucker | |
Some systems (eg older OS X) do not have utimensat, so provide minimal implementation in compat layer. Fixes build on at least El Capitan. | |||
2018-03-05 | Check for and work around buggy fflush(NULL). | Darren Tucker | |
Some really old platforms (eg SunOS4) segfault on fflush(NULL) so check for and work around. With klausz at haus-gisela.de. | |||
2018-02-27 | Check if HAVE_DECL_BZERO correctly. | Darren Tucker | |
2018-02-26 | Hook up flock() compat code. | Darren Tucker | |
Also a couple of minor changes: fail if we can't lock instead of silently succeeding, and apply a couple of minor style fixes. | |||
2018-02-26 | Add no-op getsid implmentation. | Darren Tucker | |
2018-02-26 | Check for raise and supply if needed. | Darren Tucker | |
2018-02-26 | Check for bzero and supply if needed. | Darren Tucker | |
Since explicit_bzero uses it via an indirect it needs to be a function not just a macro. | |||
2018-02-11 | Move signal compat code into bsd-signal.{c,h} | Darren Tucker | |
2017-09-25 | Add minimal strsignal for platforms without it. | Darren Tucker | |
2017-03-20 | Add llabs() implementation.V_7_5_P1 | Darren Tucker | |
2016-08-17 | Remove obsolete CVS $Id from source files. | Darren Tucker | |
Since -portable switched to git the CVS $Id tags are no longer being updated and are becoming increasingly misleading. Remove them. | |||
2016-08-02 | Strip trailing whitespace. | Darren Tucker | |
Mechanically strip trailing whitespace on files not synced with OpenBSD (or in the case of bsd-snprint.c, rsync). | |||
2016-07-13 | Move err.h replacements into compat lib. | Darren Tucker | |
Move implementations of err.h replacement functions into their own file in the libopenbsd-compat so we can use them in kexfuzz.c too. ok djm@ | |||
2015-11-30 | Add a null implementation of pledge. | Darren Tucker | |
Fixes builds on almost everything. | |||
2015-04-07 | Use do{}while(0) for no-op functions. | Darren Tucker | |
From FreeBSD. | |||
2013-08-04 | - (dtucker) [auth-krb5.c configure.ac openbsd-compat/bsd-misc.h] Add support | Darren Tucker | |
for building with older Heimdal versions. ok djm. | |||
2013-05-30 | - (dtucker) [configure.ac openbsd-compat/bsd-misc.h] bz#2087: Add a null | Darren Tucker | |
implementation of endgrent for platforms that don't have it (eg Android). Loosely based on a patch from Nathan Osman, ok djm | |||
2013-03-15 | - (djm) [configure.ac openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h] | Damien Miller | |
Add a usleep replacement for platforms that lack it; ok dtucker | |||
2013-02-15 | - (dtucker) [configure.ac openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h] | Darren Tucker | |
Use getpgrp() if we don't have getpgid() (old BSDs, maybe others). | |||
2012-07-04 | - (dtucker) [configure.ac openbsd-compat/bsd-misc.h] Add setlinebuf for | Darren Tucker | |
platforms that don't have it. "looks good" tim@ | |||
2012-02-14 | - (tim) [openbsd-compat/bsd-misc.h sshd.c] Fix conflicting return type for | Tim Rice | |
unsetenv due to rev 1.14 change to setenv.c. Cast unsetenv to void in sshd.c ok dtucker@ | |||
2010-11-08 | - (tim) [configure.ac openbsd-compat/bsd-misc.h openbsd-compat/bsd-misc.c] Add | Tim Rice | |
support for platforms missing isblank(). ok djm@ | |||
2005-02-26 | - (dtucker) [acconfig.h configure.ac openbsd-compat/bsd-misc.{c,h}] | Darren Tucker | |
Remove SETGROUPS_NOOP, was only used by Cygwin, which doesn't need it any more. Patch from vinschen at redhat.com. | |||
2004-08-15 | - (djm) [acconfig.h configure.ac openbsd-compat/Makefile.in | Damien Miller | |
openbsd-compat/bsd-closefrom.c openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h openbsd-compat/openbsd-compat.h] Use smarter closefrom() replacement from sudo; ok dtucker@ | |||
2004-06-25 | - (dtucker) [configure.ac openbsd-compat/misc.c [openbsd-compat/misc.h] | Darren Tucker | |
Add closefrom() for platforms that don't have it. (might need some tuning later, but I want to be able to test reexec). | |||
2004-03-08 | - (dtucker) [configure.ac sshd.c openbsd-compat/bsd-misc.h | Darren Tucker | |
openbsd-compat/setenv.c] Unset KRB5CCNAME on AIX to prevent it from being inherited by the child. ok djm@ | |||
2004-02-17 | - (djm) Simplify the license on code I have written. No code changes. | Damien Miller | |
2003-08-29 | - (bal) openbsd-compat/ clean up. Considate headers, add in $Id$ on our | Ben Lindstrom | |
files, and added missing license to header. | |||
2003-08-25 | - (bal) redo how we handle 'mysignal()'. Move it to | Ben Lindstrom | |
openbsd-compat/bsd-misc.c, s/mysignal/signal/ and #define signal to be our 'mysignal' by default. OK djm@ | |||
2003-08-22 | - (djm) s/get_progname/ssh_get_progname/g to avoid conflict with Heimdal | Damien Miller | |
-lbroken; ok dtucker | |||
2003-08-13 | - (dtucker) [configure.ac openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h] | Darren Tucker | |
Add a tcsendbreak function for platforms that don't have one, based on the one from OpenBSD. Any more of these and I'll split them out into bsd-termio.[ch]. | |||
2003-08-02 | - (dtucker) [openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h] | Darren Tucker | |
Add a tcgetpgrp function. | |||
2003-05-19 | - (djm) Big KNF on openbsd-compat/ | Damien Miller | |
2003-03-18 | [configure.ac openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h] | Tim Rice | |
add nanosleep(). testing/corrections by Darren Tucker <dtucker@zip.com.au> | |||
2002-06-13 | - (bal) typo of setgroup for cygwin. Patch by vinschen@redhat.com | Ben Lindstrom | |
2002-06-12 | - (bal) Build noop setgroups() for cygwin to clean up code (For other | Ben Lindstrom | |
platforms without the setgroups() requirement, you MUST define SETGROUPS_NOOP in the configure.ac) Based on patch by vinschen@redhat.com | |||
2002-05-07 | Add truncate() emulation to address Bug 208 | Tim Rice | |
2001-04-09 | - (stevesk) use setresgid() for setegid() if needed | Kevin Steves | |
2001-02-09 | - (djm) Add CVS Id's to files that we have missed | Damien Miller | |
2001-01-31 | - (bal) Reorder. Move all bsd-*, fake-*, next-*, and cygwin* stuff to | Ben Lindstrom | |
openbsd-compat/. And resolve all ./configure and Makefile.in issues assocated. Logic: * All OpenBSD functions should have the same filename as in the OpenBSD tree * All 'home brew' functions have bsd-* infront of them. * All 'not really implemented' functions have fake-* infront of them. |