Home | History | Annotate | only in /src/lib/libc/compat/sys
History log of /src/lib/libc/compat/sys
RevisionDateAuthorComments
 1.3 01-Dec-2024  rillig libc: modernize lint stubs

Use prototype function definitions instead of identifier lists, as C23
does not support the latter.

Remove redundant /*ARGSUSED*/ comments and parentheses.
 1.2 20-Jan-2024  christos branches: 1.2.2;
Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.1 11-Mar-2006  christos Add glue to build the compat library as a separate "libcold" turned off by
default. Clean up the libc Makefile and remove obsolete stuff such as copy
to libkern.
 1.2.2.1 02-Aug-2025  perseant Sync with HEAD
 1.12 19-May-2024  christos version dup3
 1.11 01-Nov-2021  thorpej Version the sigaction(2) libc wrapper. The new version uses the "siginfo"
trampoline exclusively, thus relegating "sigcontext"-style handlers (which
have not been documented for many years now) to the dustbin of the compat
library.
 1.10 22-Sep-2019  christos Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
 1.9 29-Mar-2013  christos branches: 1.9.28;
Compat glue for lwp park, but does not use the new syscall yet.
 1.8 11-Jan-2009  christos branches: 1.8.8; 1.8.14;
merge christos-time_t
 1.7 14-Jul-2007  dsl branches: 1.7.20;
Change libc system callstub from 'mount' to '__mount50', add compat call.
 1.6 31-Jul-2006  martin Make filehandles opaque to userland
 1.5 13-Jul-2006  martin Fix alignement problems for fhandle_t, exposed by gcc4.1.

While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.

Discussed on tech-kern, with lots of help from yamt (thanks!).
 1.4 26-Jun-2006  mrg version the socket(2) syscall. for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.

from pavel@ with a little bit of clean up from myself.

XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.
 1.3 29-May-2006  drochner support the new ntp_gettime() syscall and add compatibility for the old one
 1.2 11-Mar-2006  christos Add glue to build the compat library as a separate "libcold" turned off by
default. Clean up the libc Makefile and remove obsolete stuff such as copy
to libkern.
 1.1 13-Sep-2005  christos compat core reorg.
 1.7.20.7 05-Jan-2009  christos add compat for sched_rr_get_interval.
 1.7.20.6 10-Nov-2008  christos this completes the symbol implementation for now. New we need to debug...
 1.7.20.5 09-Nov-2008  christos add mqueue stuff, fix _sys aliases.
 1.7.20.4 09-Nov-2008  christos version some more stuff and add sys_foo aliases.
 1.7.20.3 09-Nov-2008  christos fix fhstat.
 1.7.20.2 08-Nov-2008  christos add more stuff.
 1.7.20.1 08-Nov-2008  christos time_t changes
 1.8.14.1 23-Jun-2013  tls resync from head
 1.8.8.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.9.28.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.6 04-Oct-2013  christos prefix compat with __ in case __dso_hidden is not available
 1.5 04-Oct-2013  christos avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.
 1.4 11-Jan-2009  christos branches: 1.4.8; 1.4.14;
merge christos-time_t
 1.3 28-Apr-2008  martin branches: 1.3.8;
Remove clause 3 and 4 from TNF licenses
 1.2 04-Aug-2006  yamt branches: 1.2.18;
remove the support of variable-sized filehandle from compat version of
syscalls. (strictly speaking, it breaks abi. i don't think it's a problem
because this feature is short-lived and there are no affected in-tree
filesystems.)
 1.1 31-Jul-2006  martin Make filehandles opaque to userland
 1.2.18.1 18-May-2008  yamt sync with head.
 1.3.8.2 10-Nov-2008  christos this completes the symbol implementation for now. New we need to debug...
 1.3.8.1 28-Apr-2008  christos file compat___fhstat30.c was added on branch christos-time_t on 2008-11-10 00:13:02 +0000
 1.4.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.8.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1 22-Sep-2019  christos branches: 1.1.4;
Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
 1.1.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1.4.1 22-Sep-2019  martin file compat___fhstatvfs140.c was added on branch phil-wifi on 2020-04-13 08:03:09 +0000
 1.1 22-Sep-2019  christos branches: 1.1.4;
Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
 1.1.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1.4.1 22-Sep-2019  martin file compat___fhstatvfs40.c was added on branch phil-wifi on 2020-04-13 08:03:09 +0000
 1.3 26-Dec-2017  christos Fix const argument inconsistency (found by lint(1))
 1.2 31-Jan-2014  christos branches: 1.2.4;
expose __lwp_park60
 1.1 29-Mar-2013  christos branches: 1.1.2;
Compat glue for lwp park, but does not use the new syscall yet.
 1.1.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.2.2 23-Jun-2013  tls resync from head
 1.1.2.1 29-Mar-2013  tls file compat___lwp_park50.c was added on branch tls-maxphys on 2013-06-23 06:21:04 +0000
 1.2.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.4.1 31-Jan-2014  yamt file compat___lwp_park50.c was added on branch yamt-pagecache on 2014-05-22 11:36:51 +0000
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 10-Nov-2008  christos branches: 1.1.2;
file compat___msgctl13.c was initially added on branch christos-time_t.
 1.1.2.1 10-Nov-2008  christos this completes the symbol implementation for now. New we need to debug...
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 10-Nov-2008  christos branches: 1.1.2;
file compat___ntp_gettime30.c was initially added on branch christos-time_t.
 1.1.2.1 10-Nov-2008  christos this completes the symbol implementation for now. New we need to debug...
 1.6 29-Jan-2015  joerg Remove va_arg hack for Clang/PPC.
 1.5 13-Aug-2014  joerg Use the lint path as workaround for Clang on 32bit PPC for now.
Document this hack.
 1.4 10-Aug-2014  joerg If LINT code path uses memcpy, it should also include string.h.
 1.3 31-Jan-2011  christos branches: 1.3.10;
Fix emulation issue of SETVAL, and make the code look the same between the
two different versions.
 1.2 11-Jan-2009  christos branches: 1.2.4;
merge christos-time_t
 1.1 10-Nov-2008  christos branches: 1.1.2;
file compat___semctl13.c was initially added on branch christos-time_t.
 1.1.2.1 10-Nov-2008  christos this completes the symbol implementation for now. New we need to debug...
 1.2.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.3.10.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 10-Nov-2008  christos branches: 1.1.2;
file compat___shmctl13.c was initially added on branch christos-time_t.
 1.1.2.1 10-Nov-2008  christos this completes the symbol implementation for now. New we need to debug...
 1.2 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.1 01-Nov-2021  thorpej Version the sigaction(2) libc wrapper. The new version uses the "siginfo"
trampoline exclusively, thus relegating "sigcontext"-style handlers (which
have not been documented for many years now) to the dustbin of the compat
library.
 1.6 04-Oct-2013  christos prefix compat with __ in case __dso_hidden is not available
 1.5 04-Oct-2013  christos avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.
 1.4 11-Jan-2009  christos branches: 1.4.8; 1.4.14;
merge christos-time_t
 1.3 31-Jul-2006  martin branches: 1.3.28;
Make filehandles opaque to userland
 1.2 04-May-2006  christos Adjust for the fhstat() compat kernel change.
 1.1 13-Sep-2005  christos compat core reorg.
 1.3.28.2 09-Nov-2008  christos fix fhstat.
 1.3.28.1 08-Nov-2008  christos time_t changes
 1.4.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.8.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4 04-Oct-2013  christos prefix compat with __ in case __dso_hidden is not available
 1.3 04-Oct-2013  christos avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.
 1.2 11-Jan-2009  christos branches: 1.2.8; 1.2.14;
merge christos-time_t
 1.1 08-Nov-2008  christos branches: 1.1.2;
file compat___stat30.c was initially added on branch christos-time_t.
 1.1.2.2 09-Nov-2008  christos fix fhstat.
 1.1.2.1 08-Nov-2008  christos add more stuff.
 1.2.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3 01-Jun-2024  thorpej Don't include both <lwp.h> and <compat/include/lwp.h>.
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 10-Nov-2008  christos branches: 1.1.2;
file compat__lwp_park.c was initially added on branch christos-time_t.
 1.1.2.1 10-Nov-2008  christos this completes the symbol implementation for now. New we need to debug...
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 09-Nov-2008  christos branches: 1.1.2;
file compat_adjtime.c was initially added on branch christos-time_t.
 1.1.2.2 10-Nov-2008  christos this completes the symbol implementation for now. New we need to debug...
 1.1.2.1 09-Nov-2008  christos version some more stuff and add sys_foo aliases.
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 09-Nov-2008  christos branches: 1.1.2;
file compat_aio_suspend.c was initially added on branch christos-time_t.
 1.1.2.2 09-Nov-2008  christos add mqueue stuff, fix _sys aliases.
 1.1.2.1 09-Nov-2008  christos version some more stuff and add sys_foo aliases.
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 08-Nov-2008  christos branches: 1.1.2;
file compat_clock.c was initially added on branch christos-time_t.
 1.1.2.2 10-Nov-2008  christos this completes the symbol implementation for now. New we need to debug...
 1.1.2.1 08-Nov-2008  christos new files for time_t
 1.4 06-Aug-2025  kre Clean up sources (remove temporary hack)

Remove the temporary hack added so these could build before
O_CLOFORK (etc) became visible to userland.

NFCI.
 1.3 17-Jul-2025  kre Libc functions which need to know about O_CLOFORK.

These are Ricardo Branco's libc updates for affected functions
that use O_CLOFORK &/or FD_CLOFORK.

These are currently padded (by me) with temporary additions so
they build while the O_CLOFORK/FD_CLOFORK definitions remain hidden
to userland.
 1.2 20-May-2024  christos branches: 1.2.2;
finish renaming __dup3110 to __dup3100
 1.1 19-May-2024  christos version dup3
 1.2.2.1 02-Aug-2025  perseant Sync with HEAD
 1.5 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.4 28-Apr-2008  martin branches: 1.4.8;
Remove clause 3 and 4 from TNF licenses
 1.3 04-Aug-2006  yamt branches: 1.3.18;
add missing const.
 1.2 04-Aug-2006  yamt remove the support of variable-sized filehandle from compat version of
syscalls. (strictly speaking, it breaks abi. i don't think it's a problem
because this feature is short-lived and there are no affected in-tree
filesystems.)
 1.1 31-Jul-2006  martin Make filehandles opaque to userland
 1.3.18.1 18-May-2008  yamt sync with head.
 1.4.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4.8.1 28-Apr-2008  martin file compat_fhopen.c was added on branch christos-time_t on 2008-04-28 20:23:00 +0000
 1.5 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.4 22-Sep-2019  christos Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
 1.3 28-Apr-2008  martin branches: 1.3.8; 1.3.64;
Remove clause 3 and 4 from TNF licenses
 1.2 04-Aug-2006  yamt branches: 1.2.18;
remove the support of variable-sized filehandle from compat version of
syscalls. (strictly speaking, it breaks abi. i don't think it's a problem
because this feature is short-lived and there are no affected in-tree
filesystems.)
 1.1 31-Jul-2006  martin Make filehandles opaque to userland
 1.2.18.1 18-May-2008  yamt sync with head.
 1.3.64.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3.8.1 28-Apr-2008  martin file compat_fhstatvfs.c was added on branch christos-time_t on 2008-04-28 20:23:00 +0000
 1.5 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.4 22-Sep-2019  christos Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
 1.3 28-Apr-2008  martin branches: 1.3.8; 1.3.64;
Remove clause 3 and 4 from TNF licenses
 1.2 04-Aug-2006  yamt branches: 1.2.18;
remove the support of variable-sized filehandle from compat version of
syscalls. (strictly speaking, it breaks abi. i don't think it's a problem
because this feature is short-lived and there are no affected in-tree
filesystems.)
 1.1 31-Jul-2006  martin Make filehandles opaque to userland
 1.2.18.1 18-May-2008  yamt sync with head.
 1.3.64.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3.8.1 28-Apr-2008  martin file compat_fhstatvfs1.c was added on branch christos-time_t on 2008-04-28 20:23:00 +0000
 1.6 13-Mar-2012  joerg Add missing includes.
 1.5 13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.4 20-Jun-2011  mrg branches: 1.4.2;
various build fixes for gcc 4.5. from chuq. XXX i'm not sure all of
these work properly wtf pointer aliasing, but there are no casts at
least...

the lib/libpuffs/puffs_priv.h is definately a real bug fix.

from chuq.
 1.3 28-Apr-2008  martin branches: 1.3.8; 1.3.22;
Remove clause 3 and 4 from TNF licenses
 1.2 02-Mar-2007  nakayama branches: 1.2.10;
PR lib/34210: Avoid bus error (unaligned 64-bit access) on sparc64.
 1.1 13-Sep-2005  christos branches: 1.1.4;
compat core reorg.
 1.1.4.1 04-Mar-2007  bouyer Pull up following revision(s) (requested by nakayama in ticket #485):
lib/libc/compat/sys/compat_getdents.c: revision 1.2
PR lib/34210: Avoid bus error (unaligned 64-bit access) on sparc64.
 1.2.10.1 18-May-2008  yamt sync with head.
 1.3.22.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.3.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3.8.1 28-Apr-2008  martin file compat_getdents.c was added on branch christos-time_t on 2008-04-28 20:23:00 +0000
 1.4.2.1 17-Apr-2012  yamt sync with head
 1.3 20-Mar-2012  matt Switch to C89 definitions.
Remove use of __P
 1.2 22-Feb-2009  dholland branches: 1.2.6;
Add __warn_references to getdirentries(), per PR 37730. Okayed by Christos
a while back.
 1.1 13-Sep-2005  christos branches: 1.1.30;
compat core reorg.
 1.1.30.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.2.6.1 17-Apr-2012  yamt sync with head
 1.7 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.6 28-Apr-2008  martin branches: 1.6.8;
Remove clause 3 and 4 from TNF licenses
 1.5 04-Aug-2006  yamt branches: 1.5.18;
remove the support of variable-sized filehandle from compat version of
syscalls. (strictly speaking, it breaks abi. i don't think it's a problem
because this feature is short-lived and there are no affected in-tree
filesystems.)
 1.4 31-Jul-2006  martin Make filehandles opaque to userland
 1.3 27-Jul-2006  christos fts_data is defined to be something else now. Avoid syntax error.
 1.2 13-Jul-2006  martin Lint insists on this.
 1.1 13-Jul-2006  martin Ooops, forgot to add this with the last commit
 1.5.18.1 18-May-2008  yamt sync with head.
 1.6.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.6.8.1 28-Apr-2008  martin file compat_getfh.c was added on branch christos-time_t on 2008-04-28 20:23:00 +0000
 1.5 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.4 04-Oct-2013  christos prefix compat with __ in case __dso_hidden is not available
 1.3 04-Oct-2013  christos avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.
 1.2 11-Jan-2009  christos branches: 1.2.8; 1.2.14;
merge christos-time_t
 1.1 08-Nov-2008  christos branches: 1.1.2;
file compat_getrusage.c was initially added on branch christos-time_t.
 1.1.2.1 08-Nov-2008  christos new files for time_t
 1.2.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4 04-Oct-2013  christos prefix compat with __ in case __dso_hidden is not available
 1.3 04-Oct-2013  christos avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.
 1.2 11-Jan-2009  christos branches: 1.2.8; 1.2.14;
merge christos-time_t
 1.1 08-Nov-2008  christos branches: 1.1.2;
file compat_gettimeofday.c was initially added on branch christos-time_t.
 1.1.2.1 08-Nov-2008  christos new files for time_t
 1.2.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 08-Nov-2008  christos branches: 1.1.2;
file compat_itimer.c was initially added on branch christos-time_t.
 1.1.2.1 08-Nov-2008  christos new files for time_t
 1.4 29-Jul-2023  rin libc: Warn of __kevent50 when itself (not kevent) is referenced
 1.3 28-Jul-2023  christos Add epoll(2) from Theodore Preduta as part of GSoC 2023
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 10-Nov-2008  christos branches: 1.1.2;
file compat_kevent.c was initially added on branch christos-time_t.
 1.1.2.1 10-Nov-2008  christos this completes the symbol implementation for now. New we need to debug...
 1.3 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 10-Nov-2008  christos branches: 1.1.2;
file compat_lfs_segwait.c was initially added on branch christos-time_t.
 1.1.2.1 10-Nov-2008  christos this completes the symbol implementation for now. New we need to debug...
 1.5 18-Jun-2019  kamil Fix warning message for mknod symbol linkage

The correct reference for mknod(2) is in <sys/stat.h>
 1.4 04-Oct-2013  christos branches: 1.4.26;
prefix compat with __ in case __dso_hidden is not available
 1.3 04-Oct-2013  christos avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.
 1.2 11-Jan-2009  christos branches: 1.2.8; 1.2.14;
merge christos-time_t
 1.1 09-Nov-2008  christos branches: 1.1.2;
file compat_mknod.c was initially added on branch christos-time_t.
 1.1.2.1 09-Nov-2008  christos version some more stuff and add sys_foo aliases.
 1.2.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4.26.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.2 18-Jul-2007  dsl branches: 1.2.16;
Fix the return value so the MNT_GETARGS returns 0, not the buffer length.
 1.1 14-Jul-2007  dsl Change libc system callstub from 'mount' to '__mount50', add compat call.
 1.2.16.2 18-Jul-2007  dsl Fix the return value so the MNT_GETARGS returns 0, not the buffer length.
 1.2.16.1 18-Jul-2007  dsl file compat_mount.c was added on branch matt-mips64 on 2007-07-18 20:10:48 +0000
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 09-Nov-2008  christos branches: 1.1.2;
file compat_mqueue.c was initially added on branch christos-time_t.
 1.1.2.2 04-Jan-2009  christos fix return type.
 1.1.2.1 09-Nov-2008  christos add mqueue stuff, fix _sys aliases.
 1.2 20-Mar-2012  matt Switch to C89 definitions.
Remove use of __P
 1.1 13-Sep-2005  christos branches: 1.1.44;
compat core reorg.
 1.1.44.1 17-Apr-2012  yamt sync with head
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 08-Nov-2008  christos branches: 1.1.2;
file compat_nanosleep.c was initially added on branch christos-time_t.
 1.1.2.3 09-Nov-2008  christos add mqueue stuff, fix _sys aliases.
 1.1.2.2 09-Nov-2008  christos version some more stuff and add sys_foo aliases.
 1.1.2.1 08-Nov-2008  christos new files for time_t
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 29-May-2006  drochner branches: 1.1.28;
support the new ntp_gettime() syscall and add compatibility for the old one
 1.1.28.1 08-Nov-2008  christos time_t changes
 1.3 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 05-Jan-2009  christos branches: 1.1.2;
file compat_sched.c was initially added on branch christos-time_t.
 1.1.2.1 05-Jan-2009  christos add compat for sched_rr_get_interval.
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 08-Nov-2008  christos branches: 1.1.2;
file compat_select.c was initially added on branch christos-time_t.
 1.1.2.3 09-Nov-2008  christos add mqueue stuff, fix _sys aliases.
 1.1.2.2 09-Nov-2008  christos version some more stuff and add sys_foo aliases.
 1.1.2.1 08-Nov-2008  christos new files for time_t
 1.6 29-Jan-2015  joerg Remove va_arg hack for Clang/PPC.
 1.5 13-Aug-2014  joerg Use the lint path as workaround for Clang on 32bit PPC for now.
Document this hack.
 1.4 10-Aug-2014  joerg If LINT code path uses memcpy, it should also include string.h.
 1.3 31-Jan-2011  christos branches: 1.3.10;
Fix emulation issue of SETVAL, and make the code look the same between the
two different versions.
 1.2 11-Jan-2009  christos branches: 1.2.4;
merge christos-time_t
 1.1 13-Sep-2005  christos branches: 1.1.28;
compat core reorg.
 1.1.28.1 05-Jan-2009  christos previous version was too naive. Convert struct explictly like we do in the
kernel.
 1.2.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.3.10.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 08-Nov-2008  christos branches: 1.1.2;
file compat_settimeofday.c was initially added on branch christos-time_t.
 1.1.2.2 10-Nov-2008  christos this completes the symbol implementation for now. New we need to debug...
 1.1.2.1 08-Nov-2008  christos new files for time_t
 1.5 20-Mar-2012  matt Switch to C89 definitions.
Remove use of __P
 1.4 13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.3 11-Jan-2009  christos branches: 1.3.8;
merge christos-time_t
 1.2 28-Apr-2008  martin branches: 1.2.8;
Remove clause 3 and 4 from TNF licenses
 1.1 13-Sep-2005  christos branches: 1.1.18;
compat core reorg.
 1.1.18.1 18-May-2008  yamt sync with head.
 1.2.8.2 08-Nov-2008  christos time_t changes
 1.2.8.1 28-Apr-2008  christos file compat_sigaltstack.c was added on branch christos-time_t on 2008-11-08 21:45:38 +0000
 1.3.8.1 17-Apr-2012  yamt sync with head
 1.3 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 08-Nov-2008  christos branches: 1.1.2;
file compat_sigtimedwait.c was initially added on branch christos-time_t.
 1.1.2.3 05-Jan-2009  christos fix prototype.
 1.1.2.2 09-Nov-2008  christos version some more stuff and add sys_foo aliases.
 1.1.2.1 08-Nov-2008  christos new files for time_t
 1.1 26-Jun-2006  mrg version the socket(2) syscall. for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.

from pavel@ with a little bit of clean up from myself.

XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.
 1.4 04-Oct-2013  christos prefix compat with __ in case __dso_hidden is not available
 1.3 04-Oct-2013  christos avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.
 1.2 11-Jan-2009  christos branches: 1.2.8; 1.2.14;
merge christos-time_t
 1.1 13-Sep-2005  christos branches: 1.1.28;
compat core reorg.
 1.1.28.1 08-Nov-2008  christos time_t changes
 1.2.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.9 04-Oct-2019  christos deduplicate the conversion function from statvfs -> statfs12
 1.8 22-Sep-2019  christos Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
 1.7 04-Oct-2013  christos branches: 1.7.26;
prefix compat with __ in case __dso_hidden is not available
 1.6 04-Oct-2013  christos avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.
 1.5 03-Feb-2009  lukem branches: 1.5.8; 1.5.14;
sign-compare fix
 1.4 28-Apr-2008  martin branches: 1.4.8;
Remove clause 3 and 4 from TNF licenses
 1.3 04-Aug-2006  yamt branches: 1.3.18;
remove the support of variable-sized filehandle from compat version of
syscalls. (strictly speaking, it breaks abi. i don't think it's a problem
because this feature is short-lived and there are no affected in-tree
filesystems.)
 1.2 31-Jul-2006  martin Make filehandles opaque to userland
 1.1 13-Sep-2005  christos compat core reorg.
 1.3.18.1 18-May-2008  yamt sync with head.
 1.4.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4.8.1 28-Apr-2008  martin file compat_statfs.c was added on branch christos-time_t on 2008-04-28 20:23:00 +0000
 1.5.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.8.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.7.26.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1 22-Sep-2019  christos branches: 1.1.4;
Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
 1.1.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1.4.1 22-Sep-2019  martin file compat_statvfs.c was added on branch phil-wifi on 2020-04-13 08:03:09 +0000
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 08-Nov-2008  christos branches: 1.1.2;
file compat_timer.c was initially added on branch christos-time_t.
 1.1.2.1 08-Nov-2008  christos new files for time_t
 1.3 01-Aug-2023  mrg fix simple mis-matched function prototype and definitions.

most of these are like, eg

void foo(int[2]);

with either of these

void foo(int*) { ... }
void foo(int[]) { ... }

in some cases (such as stat or utimes* calls found in our header files),
we now match standard definition from opengroup.

found by GCC 12.
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 08-Nov-2008  christos branches: 1.1.2;
file compat_utimes.c was initially added on branch christos-time_t.
 1.1.2.2 10-Jan-2009  christos *utimes can take a NULL second arg.
 1.1.2.1 08-Nov-2008  christos new files for time_t
 1.4 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.3 26-Mar-2015  justin Return type of compat wait functions should be pid_t not int.
 1.2 11-Jan-2009  christos merge christos-time_t
 1.1 08-Nov-2008  christos branches: 1.1.2;
file compat_wait4.c was initially added on branch christos-time_t.
 1.1.2.4 23-Nov-2008  christos don't deal with rusage if the one passed was NULL.
 1.1.2.3 09-Nov-2008  christos add mqueue stuff, fix _sys aliases.
 1.1.2.2 09-Nov-2008  christos version some more stuff and add sys_foo aliases.
 1.1.2.1 08-Nov-2008  christos new files for time_t
 1.1 13-Sep-2005  christos compat core reorg.

RSS XML Feed