|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
e9686160 |
| 11-Sep-2023 |
Doug Rabson <[email protected]> |
pkgbase: Move headers and libs out of runtime and utilities
Headers from src/include were in the runtime-dev package but subdirectories of src/include ended up in utilities-dev by default. Neither p
pkgbase: Move headers and libs out of runtime and utilities
Headers from src/include were in the runtime-dev package but subdirectories of src/include ended up in utilities-dev by default. Neither package is a good choice - the headers in src/include are not useful without the libraries contained in clibs-dev.
This moves the standard C headers to clibs-dev (C++ headers are already in this package). While working on this, I found that various clang libraries and headers were also bundled into utilities-dev by default so these are also moved to clang-dev.
I also added a FreeBSD-build-essential meta package to make it simple to install all the toolchain parts.
PR: 254173 Reviewed byb: manu MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D41815
(cherry picked from commit 78847e1e592789dc85bddf4d2f1d9a8ce4614ff1)
show more ...
|
| #
c3ae84bc |
| 07-Sep-2023 |
Dag-Erling Smørgrav <[email protected]> |
include: Implement N2867.
This adds macros for checked addition, subtraction, and multiplication with semantics similar to the builtins gcc and clang have had for years.
Reviewed by: kib, emaste Di
include: Implement N2867.
This adds macros for checked addition, subtraction, and multiplication with semantics similar to the builtins gcc and clang have had for years.
Reviewed by: kib, emaste Differential Revision: https://reviews.freebsd.org/D41734
(cherry picked from commit e6615b10347caf67f5bc12c9a8e30b8ddd9860ae)
include: Add tests for N2867.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D41735
(cherry picked from commit 4fbb9c43aa44d9145151bb5f77d302ba01fb7551)
less: We have <stdckdint.h> now.
Reviewed by: delphij Differential Revision: https://reviews.freebsd.org/D41736
(cherry picked from commit cb8dd292c7ec53391dfa25847858dd7ef895f94e)
Approved by: re (gjb)
show more ...
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
d5d97bed |
| 25-Jul-2023 |
Mike Karels <[email protected]> |
arm64 lib32: prepare arm64 headers to redirect to arm
In order to compile lib32 libraries and other 32-bit code on arm64, <machine/foo.h> needs to be redirected to an arm header rather than arm64 wh
arm64 lib32: prepare arm64 headers to redirect to arm
In order to compile lib32 libraries and other 32-bit code on arm64, <machine/foo.h> needs to be redirected to an arm header rather than arm64 when building with -m32. Ifdef the arm64 headers that are installed in /usr/include/machine and used by user-level software (including references from /usr/include/*.h) so that if __arm__ is defined when including the arm64 version, <arm/foo.h> is included rather than using the rest of the file's contents. Some arm headers had no arm64 equivalent; headers were added just to do the redirection. These files use #error if __arm__ is not defined to guard against confusion. Also add an include/arm Makefile, and modify Makefiles as needed to install everything, including the arm files in /usr/include/arm. fenv.h comes from lib/msun/arm/fenv.h.
The new arm64 headers are: acle-compat.h cpuinfo.h sysreg.h
Reviewed by: jrtc27, imp Differential Revision: https://reviews.freebsd.org/D40944
show more ...
|
| #
1aaa8f67 |
| 27-Jun-2023 |
John Baldwin <[email protected]> |
nvme: Don't install nvme_private.h in /usr/include.
Reviewed by: chuck, imp Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D40394
|
| #
b6271cc0 |
| 10-May-2023 |
Ed Maste <[email protected]> |
includes: avoid installing if_wg.h twice
if_wg.h was installed via dev/wg in LSUBDIRS and also explicitly. We want to install only wg/if_wg.h not the other headers, so add dev/wg to the skip list i
includes: avoid installing if_wg.h twice
if_wg.h was installed via dev/wg in LSUBDIRS and also explicitly. We want to install only wg/if_wg.h not the other headers, so add dev/wg to the skip list in the copies and symlinks targets.
PR: 271266 Reviewed by: kevans Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D40031
show more ...
|
| #
1a2249ff |
| 19-Apr-2023 |
Brooks Davis <[email protected]> |
include: add a check-ldirs target
This target ensures all LDIRS, LSUBDIRS, and LSUBSUBDIRS actually exist.
Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D39006
|
|
Revision tags: release/13.2.0 |
|
| #
21735dfa |
| 09-Mar-2023 |
Michael Butler <[email protected]> |
include: Remove no longer existing netgraph/atm
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39005
|
| #
1761b09b |
| 20-Jan-2023 |
Warner Losh <[email protected]> |
byteswap.h: Add a glibc/linux compatible byteswap.h
For endian.h to work instead of sys/endian.h, some software needs byteswap.h available. It must define {__,}byteswap_{16,32,64}. Included sys/_end
byteswap.h: Add a glibc/linux compatible byteswap.h
For endian.h to work instead of sys/endian.h, some software needs byteswap.h available. It must define {__,}byteswap_{16,32,64}. Included sys/_endian.h to get an appropriate __byteswap16, etc and defines the new macros in terms of them. Enhance _endian.h to allow it to be included from here too.
Sponsored by: Netflix Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D32051
show more ...
|
| #
30e0d2a5 |
| 20-Jan-2023 |
Warner Losh <[email protected]> |
linux: For better compatibility, provide compatible endian.h
Add endian.h. This includes sys/endian.h and then adds extra defines that glibc defines with double underscores for our _{BIG,BYTE,LITTLE
linux: For better compatibility, provide compatible endian.h
Add endian.h. This includes sys/endian.h and then adds extra defines that glibc defines with double underscores for our _{BIG,BYTE,LITTLE,PDP}_ENDIAN macros. We also define __FLOAT_WORD_ORDER to be the same as _BYTE_ENDIAN since FreeBSD doesn't currently define this, and the default with glibc is exactly this for our platforms. Move common parts of endian.h and sys/endian.h into sys/_endian.h to limit namespace pollution from endian.h
All this gives us good compatibility with Linux. There may be one or two upstreams that haven't integrated the patches I tried to send up.
There are some minor differences: o The extra glibc macros are not defined. These are all controlled with either __ at the start, or only defined when glibc is being built. We also don't define macros that are used internally in glibc that would pollute the namespace. o For complete compatibility, this change must also be paired with providing a glibc-compatible byteswap.h.
Sponsored by: Netflix Reviewed by: mhorne, markj, jhb Differential Revision: https://reviews.freebsd.org/D31962
show more ...
|
|
Revision tags: release/12.4.0 |
|
| #
8b8babf0 |
| 10-Nov-2022 |
Kyle Evans <[email protected]> |
include: put includes into -dev packages
The includes build is kind of funky, as we support either copying or symlinking files into /usr/include. For `copies`, we were supplying the include/ ${TAG_
include: put includes into -dev packages
The includes build is kind of funky, as we support either copying or symlinking files into /usr/include. For `copies`, we were supplying the include/ ${TAG_ARGS}, which puts packages into `FreeBSD-runtime`, without any consideration to the fact that we're installing headers.
Let's copy the approach that the `symlinks` target uses for now, and add ",dev" to the TAG_ARGS so that headers at least end up in FreeBSD-runtime-dev, which is more appropriate. Some of these includes are actually technically supposed to be in *other* packages and their INCSGROUP's PACKAGE setting is actually correct, but this is less trivial to solve. This is a bandaid to fix the immediate problem of some headers ending up in two different packages.
PR: 267526 Reviewed by: dfr, manu Differential Revision: https://reviews.freebsd.org/D37256
show more ...
|
| #
744bfb21 |
| 28-Oct-2022 |
John Baldwin <[email protected]> |
Import the WireGuard driver from zx2c4.com.
This commit brings back the driver from FreeBSD commit f187d6dfbf633665ba6740fe22742aec60ce02a2 plus subsequent fixes from upstream.
Relative to upstream
Import the WireGuard driver from zx2c4.com.
This commit brings back the driver from FreeBSD commit f187d6dfbf633665ba6740fe22742aec60ce02a2 plus subsequent fixes from upstream.
Relative to upstream this commit includes a few other small fixes such as additional INET and INET6 #ifdef's, #include cleanups, and updates for recent API changes in main.
Reviewed by: pauamma, gbe, kevans, emaste Obtained from: [email protected]:wireguard-freebsd @ 3cc22b2 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36909
show more ...
|
| #
11ca01e9 |
| 01-Oct-2022 |
Alexander V. Chernikov <[email protected]> |
netlink: add headers installation
|
| #
a09ea2bb |
| 13-Jun-2022 |
Brooks Davis <[email protected]> |
amd64: add an i386 include directory
This directory will hold i386-specific headers that are needed for -m32 support on amd64 and where the amd64 and i386 cases have too little in common for combini
amd64: add an i386 include directory
This directory will hold i386-specific headers that are needed for -m32 support on amd64 and where the amd64 and i386 cases have too little in common for combining them to make sense. Files to be installed will come in later commits.
With the currently required set of files, this could be done with another INCGROUP in include/Makefile, but at least one file that might want -m32 support (ieeefp.h) conflicts with a files installed in /usr/include.
Reviewed by: jhb, imp
show more ...
|
|
Revision tags: release/13.1.0 |
|
| #
c7996ddf |
| 01-Mar-2022 |
Kirk McKusick <[email protected]> |
Create a new GEOM utility, gunion(8).
The gunion(8) utility is used to track changes to a read-only disk on a writable disk. Logically, a writable disk is placed over a read-only disk. Write request
Create a new GEOM utility, gunion(8).
The gunion(8) utility is used to track changes to a read-only disk on a writable disk. Logically, a writable disk is placed over a read-only disk. Write requests are intercepted and stored on the writable disk. Read requests are first checked to see if they have been written on the top (writable disk) and if found are returned. If they have not been written on the top disk, then they are read from the lower disk.
The gunion(8) utility can be especially useful if you have a large disk with a corrupted filesystem that you are unsure of how to repair. You can use gunion(8) to place another disk over the corrupted disk and then attempt to repair the filesystem. If the repair fails, you can revert all the changes in the upper disk and be back to the unchanged state of the lower disk thus allowing you to try another approach to repairing it. If the repair is successful you can commit all the writes recorded on the top disk to the lower disk.
Another use of the gunion(8) utility is to try out upgrades to your system. Place the upper disk over the disk holding your filesystem that is to be upgraded and then run the upgrade on it. If it works, commit it; if it fails, revert the upgrade.
Further details can be found in the gunion(8) manual page.
Reviewed by: Chuck Silvers, kib (earlier version) tested by: Peter Holm Differential Revision: https://reviews.freebsd.org/D32697
show more ...
|
| #
3b9b51fe |
| 15-Dec-2021 |
Cy Schubert <[email protected]> |
ipfilter: Move kernel bits to netpfil
Through fixes and improvements our ipfilter sources have diverged enough to warrant move from contrib into sys/netpil. Now that I'm planning on implementing MSS
ipfilter: Move kernel bits to netpfil
Through fixes and improvements our ipfilter sources have diverged enough to warrant move from contrib into sys/netpil. Now that I'm planning on implementing MSS clamping as in iptables it makes more sense to move ipfilter to netpfil.
This is the first of three commits the ipfilter move.
Suggested by glebius on two occaions.
Suggested by and discussed with: glebius Reviewed by: glebius, kp (for #network) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D33510
show more ...
|
|
Revision tags: release/12.3.0 |
|
| #
160b4b92 |
| 22-Oct-2021 |
Konstantin Belousov <[email protected]> |
Add real sched.h
It is required by IEEE Std 1003.1-2008 AKA POSIX.
Put some Linux compatibility stuff under BSD_VISIBLE namespace, in particular, sys/cpuset.h definitions. Also, if user really wan
Add real sched.h
It is required by IEEE Std 1003.1-2008 AKA POSIX.
Put some Linux compatibility stuff under BSD_VISIBLE namespace, in particular, sys/cpuset.h definitions. Also, if user really want Linux compatibility, she can request cpu_set_t typedef with _WITH_CPU_SET_T define.
Reviewed by: jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32901
show more ...
|
| #
663b174b |
| 07-Jun-2021 |
Emmanuel Vadot <[email protected]> |
an: Remove driver
Last an(4) devices have been End Of Life and End Of Sale in 2007. Time to remove this driver.
Differential Revision: https://reviews.freebsd.org/D30679 Reviewed by: imp (earlier
an: Remove driver
Last an(4) devices have been End Of Life and End Of Sale in 2007. Time to remove this driver.
Differential Revision: https://reviews.freebsd.org/D30679 Reviewed by: imp (earlier version), emaste (earlier version) Sponsored by: Diablotin Systems
show more ...
|
| #
f41efc45 |
| 15-Apr-2021 |
Emmanuel Vadot <[email protected]> |
Fix build with WITHOUT_AUDIT=yes in src.conf
Always install the audit related includes are some part of the source always requires them.
Reported by: many Fixes: 8c3eaf244a417a4
|
|
Revision tags: release/13.0.0 |
|
| #
7af04dff |
| 19-Mar-2021 |
John Baldwin <[email protected]> |
Only symlink cryptodev.h into /usr/include/crypto/
I missed updating the symlink side in the earlier commit.
Fixes: 283352dd4f6a3bb2f3c7cb45ce5dca3d86f5e3f4 MFC after: 1 week
|
| #
f187d6df |
| 16-Mar-2021 |
Kyle Evans <[email protected]> |
base: remove if_wg(4) and associated utilities, manpage
After length decisions, we've decided that the if_wg(4) driver and related work is not yet ready to live in the tree. This driver has larger
base: remove if_wg(4) and associated utilities, manpage
After length decisions, we've decided that the if_wg(4) driver and related work is not yet ready to live in the tree. This driver has larger security implications than many, and thus will be held to more scrutiny than other drivers.
Please also see the related message sent to the freebsd-hackers@ and freebsd-arch@ lists by Kyle Evans <[email protected]> on 2021/03/16, with the subject line "Removing WireGuard Support From Base" for additional context.
show more ...
|
| #
060f0a17 |
| 16-Mar-2021 |
Emmanuel Vadot <[email protected]> |
Revert "include: Remove symlink installation"
This reverts commit 0006530aa14b9df56f88df7d819fae89b115d865.
|
| #
35b6d9b6 |
| 16-Mar-2021 |
Emmanuel Vadot <[email protected]> |
Revert "include: Tag directly the last headers"
This reverts commit 839fc8cdf9b6bafe120e7da8a4b78950ad7295c4.
|
| #
839fc8cd |
| 16-Mar-2021 |
Emmanuel Vadot <[email protected]> |
include: Tag directly the last headers
We cannot easily used the TAG here and we don't yet have something to install even .h from a diretory in bsd.prog.mk
Reviewed by: bapt Differential Revision:
include: Tag directly the last headers
We cannot easily used the TAG here and we don't yet have something to install even .h from a diretory in bsd.prog.mk
Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D29170 MFC after: 2 weeks
show more ...
|
| #
0006530a |
| 16-Mar-2021 |
Emmanuel Vadot <[email protected]> |
include: Remove symlink installation
headers could be installed as symlink to the source tree instead of copies. Remove the possibility to do that. This make the makefile easier to read and to maint
include: Remove symlink installation
headers could be installed as symlink to the source tree instead of copies. Remove the possibility to do that. This make the makefile easier to read and to maintain and also don't duplicate code.
While here remove some directories from LSBUDIRS as we already install them using the INCS stuff.
Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D29167 MFC after: 2 weeks
show more ...
|