| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
These are error-checked versions of memory allocation routines used by
NetBSD code, and are being added to facilitate updates to makefs.
Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D10291
Notes:
svn path=/head/; revision=316572
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: Lohith Bellad <lohithbsd@gmail.com>
Reviewed by: hiren (earlier rev), ae
Obtained from: NetBSD
MFC after: 1 week
Relnotes: yes
Sponsored by: Dell EMC
Differential Revision: https://reviews.freebsd.org/D9365
Notes:
svn path=/head/; revision=315640
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=313404
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
FreeBSD has pthread_np.h, which is used for consolidating all non-POSIX
functions, but NetBSD doesn't have this concept. Make _np functions work
seamlessly when ported from NetBSD to FreeBSD
Notes:
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312303
|
| |
| |
| |
| |
| |
| |
| |
| | |
This adds in necessary sys/types.h pollution for uintptr_t used in
sys/event.h, which according to kqueue(2) on NetBSD isn't necessary.
Notes:
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312242
|
| |
| |
| |
| |
| |
| |
| | |
pick up NBBY, etc
Notes:
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312241
|
| |
| |
| |
| |
| |
| |
| | |
This just defines wrusage to __wrusage for now (they're both structs).
Notes:
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312240
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- stdio.h needs to pull in stdio.h/util.h for fparseln, not util.h
- util.h needs to #include sys/types.h for flags_to_string, etc as
flags_to_string uses u_long, which is typedef'ed in sys/types.h on
FreeBSD
Notes:
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312238
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add Dell instead of "SRI International"
- Use standard BSD 2-clause copyright
- Remove DARPA sponsorship advertisement
Notes:
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312225
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is to diff reduce unnecessary additions to
contrib/netbsd-tests/lib/libc/gen/t_glob.c
Notes:
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312222
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add sha384 #include to libnetbsd's copy of sha2.h to expose all of the
SHA384 support via the header.
Notes:
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312138
|
| |
| |
| |
| |
| |
| |
| | |
Map SHA1_CTX to SHA_CTX and SHA1Final to SHA1_Final
Notes:
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312135
|
|/
|
|
|
|
|
|
| |
fparseln on FreeBSD requires stdio.h, then libutil.h, whereas NetBSD only
requires util.h
Notes:
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312132
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=311972
|
|
|
|
|
|
|
|
| |
as the C file. There may be a <util.h> on the host when compiling
on macOS or Linux, causing conflicts.
Notes:
svn path=/head/; revision=307871
|
|
|
|
|
|
|
| |
Conditionally define __dead.
Notes:
svn path=/head/; revision=307870
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-pkg/; revision=295278
|
|
|
|
|
|
|
| |
Reported by: junovitch
Notes:
svn path=/head/; revision=290378
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
Notes:
svn path=/head/; revision=284345
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=284172
|
| |\
| |/
|/|
| | |
Notes:
svn path=/projects/bmake/; revision=274683
|
| |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=256418
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
build
Pointyhat to: me (forgot to svn add it sooner)
Notes:
svn path=/head/; revision=274078
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
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
|