Remove $FreeBSD$: one-line .c comment patternRemove /^/[*/]\s*\$FreeBSD\$.*\n/
Remove $FreeBSD$: one-line .h patternRemove /^\s*\*+\s*\$FreeBSD\$.*$\n/
libnetbsd: Fix a typo in a source code comment- s/accomodate/accommodate/MFC after: 3 days
Make timespecadd(3) and friends publicThe timespecadd(3) family of macros were imported from NetBSD back inr35029. However, they were initially guarded by #ifdef _KERNEL. In themeantime, we have
Make timespecadd(3) and friends publicThe timespecadd(3) family of macros were imported from NetBSD back inr35029. However, they were initially guarded by #ifdef _KERNEL. In themeantime, we have grown at least 28 syscalls that use timespecs in someway, leading many programs both inside and outside of the base system toredefine those macros. It's better just to make the definitions public.Our kernel currently defines two-argument versions of timespecadd andtimespecsub. NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, definethree-argument versions. Solaris also defines a three-argument version, butonly in its kernel. This revision changes our definition to match thecommon three-argument version.Bump _FreeBSD_version due to the breaking KPI change.Discussed with: cem, jilles, ian, bdeDifferential Revision: https://reviews.freebsd.org/D14725
show more ...
General further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 3-Clause license.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier f
General further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 3-Clause license.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.Special thanks to Wind River for providing access to "The Duke ofHighlander" tool: an older (2014) run over FreeBSD tree was useful as astarting point.
libnetbsd: add sys/event.h compat headerThis adds in necessary sys/types.h pollution for uintptr_t used insys/event.h, which according to kqueue(2) on NetBSD isn't necessary.
libnetbsd: add sys/types.h header which pollutes itself with sys/param.h topick up NBBY, etc
libnetbsd: add sys/wait.h compat headerThis just defines wrusage to __wrusage for now (they're both structs).
Add __BIT and __BITS macros from NetBSD to help support new testcasesMFC after: 1 week
When compiling on macOS or Linux, __dead can be defined already.Conditionally define __dead.
Commit missing header for sys/time.h compat on NetBSD to unbreak the amd64/i386buildPointyhat to: me (forgot to svn add it sooner)
The NetBSD libc tests use several definitions/macros that aren't available inFreeBSDAdd the missing compat definitions/macros to lib/libnetbsd so the testcasescan be compiled with libnetbsd witho
The NetBSD libc tests use several definitions/macros that aren't available inFreeBSDAdd the missing compat definitions/macros to lib/libnetbsd so the testcasescan be compiled with libnetbsd without having to invent ad hoc #define's, orhaving to convert things over to FreeBSD idiomsReviewed by: brooksPhabric: D993Sponsored by: EMC / Isilon Storage Division
Add libnetbsd, a thin compatibility layer intended to allow a limitedset of NetBSD software to compile as part of the FreeBSD build withlittle or no modifiction. It is built as a static library an
Add libnetbsd, a thin compatibility layer intended to allow a limitedset of NetBSD software to compile as part of the FreeBSD build withlittle or no modifiction. It is built as a static library and notinstalled for general use. Likewise, its header files are notinstalled.Sponsored by: DARPA, AFRL