summaryrefslogtreecommitdiffstats
path: root/freebsd/sbin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sys/bitset.h: reduce visibility of BIT_* macrosStefan Eßer2022-09-282-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add two underscore characters "__" to names of BIT_* and BITSET_* macros to move them to the implementation name space and to prevent a name space pollution due to BIT_* macros in 3rd party programs with conflicting parameter signatures. These prefixed macro names are used in kernel header files to define macros in e.g. sched.h, sys/cpuset.h and sys/domainset.h. If C programs are built with either -D_KERNEL (automatically passed when building a kernel or kernel modules) or -D_WANT_FREENBSD_BITSET (or this macros is defined in the source code before including the bitset macros), then all macros are made visible with their previous names, too. E.g., both __BIT_SET() and BIT_SET() are visible with either of _KERNEL or _WANT_FREEBSD_BITSET defined. The main reason for this change is that some 3rd party sources including sched.h have been found to contain conflicting BIT_* macros. As a work-around, parts of shed.h have been made conditional and depend on _WITH_CPU_SET_T being set when sched.h is included. Ports that expect the full functionality provided by sched.h need to be built with -D_WITH_CPU_SET_T. But this leads to conflicts if BIT_* macros are defined in that program, too. This patch set makes all of sched.h visible again without this parameter being passed and without any name space pollution due to BIT_* macros becoming visible when sched.h is included. This patch set will be backported to the STABLE branches, but ports will need to use -D_WITH_CPU_SET_T as long as there are supported releases that do not contain these patches. Reviewed by: kib, markj MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.org/D33235
* ping6: Do not use signalsSebastian Huber2022-06-221-0/+16
|
* ping: Do not use signalsSebastian Huber2022-06-221-0/+8
|
* pfctl: Fix global state initializationSebastian Huber2022-05-133-0/+12
| | | | Update #4654.
* ping6: Honor file descriptor maximumChristian Mauderer2021-03-261-0/+11
| | | | | | This is basically the same as the patch for ping. Update #4360
* i386: Port to RTEMSJan Sommer2020-02-101-0/+8
| | | | | - Update imported files to compile rtems-libbsd for i386 based BSPs - Currently does not support the option "dev_nic_e1000 = on"
* NVMECONTROL(8): Port to RTEMSSebastian Huber2019-11-1321-4/+191
| | | | Update #3821.
* NVMECONTROL(8): Import from FreeBSDSebastian Huber2019-11-1322-0/+6071
| | | | Update #3821.
* Update to FreeBSD head 2019-09-24Sebastian Huber2019-11-1331-901/+1569
| | | | Git mirror commit 6b0307a0a5184339393f555d5d424190d8a8277a.
* IFCONFIG(8): Fix write to const stringSebastian Huber2019-05-131-0/+6
|
* Update to FreeBSD head 2018-12-20Sebastian Huber2018-12-201-16/+16
| | | | | | | | | | Git mirror commit 19a6ceb89dbacf74697d493e48c388767126d418. It includes an update of wpa_supplicant to version 2.7. It includes an update of the OpenSSL baseline to version 1.1.1a. Update #3472.
* Update to FreeBSD head 2018-11-15Sebastian Huber2018-11-157-73/+90
| | | | | | Git mirror commit a18b0830c4be01b39489a891b63d6023ada6358a. Update #3472.
* Update to FreeBSD head 2018-10-23Sebastian Huber2018-10-252-3/+17
| | | | | | | | | | | Git mirror commit 59f44d20be3f99d181ca742e636d45fc39ec982b. This commit updates OpenSSL to version 1.1.1. This required an update of racoon which uses some internal stuff from OpenSSL and seems to be mostly unmaintained, e.g. there is update in the FreeBSD ports to cope with OpenSSL 1.1.1. Update #3472.
* PING(8): Honour file descriptor maximumSebastian Huber2018-10-101-0/+11
|
* Fix typo (RTEMS_BSD_MODULE_NET80211)Sebastian Huber2018-10-021-1/+1
|
* Update to FreeBSD head 2018-09-17Sebastian Huber2018-09-2122-2319/+2521
| | | | | | Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319. Update #3472.
* Update to FreeBSD head 2018-06-01Sebastian Huber2018-09-2113-83/+88
| | | | | | Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9. Update #3472.
* Update to FreeBSD head 2018-04-01Sebastian Huber2018-09-2117-242/+331
| | | | | | Git mirror commit 8dfb1ccc26d1cea7e2529303003ff61f9f1784c4. Update #3472.
* Update to FreeBSD head 2018-02-01Sebastian Huber2018-09-2113-84/+114
| | | | | | Git mirror commit d079ae0442af8fa3cfd6d7ede190d04e64a2c0d4. Update #3472.
* Update to FreeBSD head 2017-12-01Sebastian Huber2018-09-2148-488/+608
| | | | | | Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266. Update #3472.
* Update to FreeBSD head 2017-10-01Sebastian Huber2018-09-213-13/+21
| | | | | | Git mirror commit b2f0376b45428f13151d229c5ae9d4d8f74acbd1. Update #3472.
* Update to FreeBSD head 2017-08-01Sebastian Huber2018-09-211-22/+30
| | | | | | Git mirror commit f5002f5e5f78cae9f0269d812dc0aedb0339312c. Update #3472.
* Update to FreeBSD head 2017-06-01Sebastian Huber2018-09-2112-80/+124
| | | | | | Git mirror commit dfb26efac4ce9101dda240e94d9ab53f80a9e131. Update #3472.
* Regenerate program header filesSebastian Huber2018-08-2831-409/+395
|
* Update yacc and lex generated filesSebastian Huber2018-08-282-722/+515
| | | | | | Use the FreeBSD 11.1 yacc and lex tools to generate the files. Update #3472.
* pfctl: Undef INET6 to avoid warning.Christian Mauderer2018-05-032-415/+412
|
* buildset: Add minimal and everything config.Christian Mauderer2018-05-032-0/+7
| | | | | | | | | | | | This adds two new buildset configurations: One that leaves out as much features as possible and one that enables all features. For the default configuration WiFi support is now disabled. To disable IPv6 for the minimal configuration, all -DINET6 are eliminated in libbsd.py. They are now replaced by a #ifdef that checks for RTEMS_BSD_MODULE_NETINET6 instead. Close #3351.
* Update due to Newlib 2017-06-07 changesSebastian Huber2017-06-0823-23/+23
| | | | | | | | | | | | | | | | | The following files are now provided by Newlib: * arpa/inet.h * net/if.h * netinet/in.h * netinet/tcp.h * sys/socket.h * sys/uio.h * sys/un.h The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be used directly. Update #2833.
* Update to FreeBSD head 2017-04-04Sebastian Huber2017-04-0413-35/+128
| | | | Git mirror commit 642b174daddbd0efd9bb5f242c43f4ab4db6869f.
* SYSCTL(8): Fix command line option processingSebastian Huber2017-02-141-0/+9
|
* userspace tools: Regenerate headers.Christian Mauderer2017-01-1718-28/+28
|
* ifconfig/wlan, expat, lib80211: Port to RTEMS.Christian Mauderer2017-01-175-2/+48
|
* ifconfig/wlan, expat, lib80211: Import from FreeBSD.Christian Mauderer2017-01-172-272/+547
|
* ROUTE(8): Disable routing socket timeout supportSebastian Huber2017-01-112-1/+12
| | | | | | | | | | | | | | FIXME: This reverts the following change in FreeBSD. commit 76a39ff8dc5e1f7bc8a065115ec3837761ed0600 Author: ae <ae@FreeBSD.org> Date: Wed Jul 27 08:26:34 2016 +0000 Due to dropped mbuf in netisr queue route(8) can fall into infinity loop of reading the rtsock's feed. When it used by some scripts, this leads to growing number of not finished route(8) instances and thus growing number of rtsock consumers. Add SIGALRM handler to prevent this.
* pf: Some fixes after the updateSebastian Huber2017-01-103-0/+5
|
* Update to FreeBSD head 2017-01-09Sebastian Huber2017-01-106-832/+885
| | | | Git mirror commit 1f8e4a995a6ede4bdb24e6d335ccda2bdb0175ab.
* Update to FreeBSD head 2016-12-10Sebastian Huber2017-01-1015-35/+168
| | | | Git mirror commit 80c55f08a05ab3b26a73b226ccb56adc3122a55c.
* Update to FreeBSD head 2016-08-23Sebastian Huber2017-01-1089-2114/+32038
| | | | Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
* Add SIZE_T_MAX to <machine/rtems-bsd-user-space.h>Sebastian Huber2016-10-241-3/+0
|
* Remove AppleTalk supportSebastian Huber2016-10-133-245/+0
| | | | Prepare update to FreeBSD 11.
* freebsd: Don't use new wrappers for old ports.Christian Mauderer2016-08-027-0/+63
| | | | | | Some of the commands have been adapted manually. So the wrapper currently don't necessarily work as expected. For example ifconfig calls malloc outside of the program call.
* Directly use <sys/types.h> provided by NewlibSebastian Huber2016-05-308-8/+8
|
* Directly use <sys/time.h> provided by NewlibSebastian Huber2016-05-307-7/+7
|
* Add sbin/sysctlChris Johns2016-05-061-0/+784
|
* dhclient: Avoid SIZE_T_MAXSebastian Huber2016-04-181-0/+3
| | | | | Use SIZE_MAX instead of SIZE_T_MAX to avoid a dependency on BSD specifics.
* Update to FreeBSD Stable/9 2015-04-08Sebastian Huber2015-05-203-5/+13
|
* Add generated filesSebastian Huber2015-04-081-0/+110
| | | | | | This avoids dependencies on a particular generator tool version. On MinGW and Cygwin hosts these tools tend to be outdated or somehow incapable.
* Update to FreeBSD 9.3Sebastian Huber2015-02-134-6/+28
|
* PING(8): Default to three packetsSebastian Huber2014-09-241-1/+1
| | | | | In the standard RTEMS shell it is not possible to use CTRL-C, to stop the program. So use a default with finite run-time.
* IFCONFIG(8): Default to AF_INET for RTEMSSebastian Huber2014-09-241-0/+4
| | | | Avoid errors due to optional AF_LOCAL.