aboutsummaryrefslogtreecommitdiff
path: root/lib/libnetbsd/sys
Commit message (Collapse)AuthorAgeFilesLines
* Revert r330897:Eitan Adler2018-03-291-2/+0
| | | | | | | | | | | | | | | | | | | | This was intended to be a non-functional change. It wasn't. The commit message was thus wrong. In addition it broke arm, and merged crypto related code. Revert with prejudice. This revert skips files touched in r316370 since that commit was since MFCed. This revert also skips files that require $FreeBSD$ property changes. Thank you to those who helped me get out of this mess including but not limited to gonzo, kevans, rgrimes. Requested by: gjb (re) Notes: svn path=/stable/11/; revision=331722
* Partial merge of the SPDX changesEitan Adler2018-03-141-0/+2
| | | | | | | | | | These changes are incomplete but are making it difficult to determine what other changes can/should be merged. No objections from: pfg Notes: svn path=/stable/11/; revision=330897
* MFC r313404:Enji Cooper2017-02-213-0/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve libnetbsd compatibility with NetBSD This change is being made to diff reduce/reduce duplication in contrib/netbsd-tests and to facilitate further porting of software from NetBSD Add the following headers: - sys/event.h: -- sys/types.h is required for kqueue on FreeBSD, but not NetBSD. - sys/types.h: -- NBBY is defined in sys/param.h on FreeBSD, not sys/types.h like on NetBSD. Pull in sys/param.h to have parity with NetBSD. - sys/wait.h: -- Define wrusage as __wrusage for parity with NetBSD typedef. - glob.h -- Define __gl_stat_t as "struct stat" for parity with NetBSD typedef. - pthread.h: -- Pull in pthread_np.h for _np functions defined separately on FreeBSD. Improve compatibility with NetBSD in the following headers: - sha1.h: -- define SHA1_CTX as SHA_CTX -- define SHA1Final as SHA1_Final - sha2.h: -- #include sha384 to pick up all of the SHA 384 bit macros and definitions. - util.h: -- Add sys/types.h to util.h to pollute the header for types used in flags_to_string and string_to_flags (u_long) as NetBSD doesn't require them for the functions. Notes: svn path=/stable/11/; revision=314021
* MFC r311972:Enji Cooper2017-02-041-0/+9
| | | | | | | Add __BIT and __BITS macros from NetBSD to help support new testcases Notes: svn path=/stable/11/; revision=313228
* Commit missing header for sys/time.h compat on NetBSD to unbreak the amd64/i386Enji Cooper2014-11-041-0/+65
| | | | | | | | | build Pointyhat to: me (forgot to svn add it sooner) Notes: svn path=/head/; revision=274078
* The NetBSD libc tests use several definitions/macros that aren't available inEnji Cooper2014-10-221-0/+22
| | | | | | | | | | | | | | | FreeBSD Add the missing compat definitions/macros to lib/libnetbsd so the testcases can be compiled with libnetbsd without having to invent ad hoc #define's, or having to convert things over to FreeBSD idioms Reviewed by: brooks Phabric: D993 Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273482
* Add libnetbsd, a thin compatibility layer intended to allow a limitedBrooks Davis2012-12-211-0/+50
set of NetBSD software to compile as part of the FreeBSD build with little or no modifiction. It is built as a static library and not installed for general use. Likewise, its header files are not installed. Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=244557