freebsd-dev/usr.bin/truss
Alan Somers 6040822c4e Make timespecadd(3) and friends public
The timespecadd(3) family of macros were imported from NetBSD back in
r35029. However, they were initially guarded by #ifdef _KERNEL. In the
meantime, we have grown at least 28 syscalls that use timespecs in some
way, leading many programs both inside and outside of the base system to
redefine those macros. It's better just to make the definitions public.

Our kernel currently defines two-argument versions of timespecadd and
timespecsub.  NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, define
three-argument versions.  Solaris also defines a three-argument version, but
only in its kernel.  This revision changes our definition to match the
common three-argument version.

Bump _FreeBSD_version due to the breaking KPI change.

Discussed with:	cem, jilles, ian, bde
Differential Revision:	https://reviews.freebsd.org/D14725
2018-07-30 15:46:40 +00:00
..
aarch64-cloudabi32.c Make truss(8) work for 32-bit CloudABI executables on ARM64. 2017-12-20 13:13:10 +00:00
aarch64-cloudabi64.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
aarch64-freebsd.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
amd64-cloudabi32.c Make truss(8) work for i686-unknown-cloudabi binaries on FreeBSD/amd64. 2017-12-16 19:40:28 +00:00
amd64-cloudabi64.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
amd64-freebsd32.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
amd64-freebsd.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
amd64-linux32.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
amd64-linux.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
arm-freebsd.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
extern.h spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
i386-cloudabi32.c Make truss work for CloudABI executables on i386. 2017-12-21 09:21:40 +00:00
i386-freebsd.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
i386-linux.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
main.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
Makefile Make truss work for CloudABI executables on i386. 2017-12-21 09:21:40 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mips-freebsd.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
powerpc64-freebsd32.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
powerpc64-freebsd.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
powerpc-freebsd.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
riscv64-freebsd.c Add RISC-V support for truss(1) 2017-01-24 09:41:44 +00:00
setup.c Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
sparc64-freebsd.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
syscall.h Reformat the enum of syscall argument types. 2018-03-29 00:12:50 +00:00
syscalls.c Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
truss.1 Make truss(1) cross-reference dtrace(1) and bump .Dd. 2017-07-21 13:58:51 +00:00
truss.h Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00