66 Commits

Author SHA1 Message Date
Christian Mauderer
a779a3b870 pfctl: Undef INET6 to avoid warning. 2018-05-03 07:09:46 +02:00
Christian Mauderer
338f3005fc buildset: Add minimal and everything config.
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.
2018-05-03 07:09:46 +02:00
Sebastian Huber
02373194fe Update due to Newlib 2017-06-07 changes
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.
2017-06-08 13:19:54 +02:00
Sebastian Huber
de8a76da2f Update to FreeBSD head 2017-04-04
Git mirror commit 642b174daddbd0efd9bb5f242c43f4ab4db6869f.
2017-04-04 14:46:23 +02:00
Sebastian Huber
a739190333 SYSCTL(8): Fix command line option processing 2017-02-14 11:56:13 +01:00
Christian Mauderer
c6b85e8ce8 userspace tools: Regenerate headers. 2017-01-17 12:51:30 +01:00
Christian Mauderer
5c3223f138 ifconfig/wlan, expat, lib80211: Port to RTEMS. 2017-01-17 12:50:58 +01:00
Christian Mauderer
23895395ec ifconfig/wlan, expat, lib80211: Import from FreeBSD. 2017-01-17 12:50:57 +01:00
Sebastian Huber
fb288fabea ROUTE(8): Disable routing socket timeout support
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.
2017-01-11 14:15:31 +01:00
Sebastian Huber
9e8ce9ae2e pf: Some fixes after the update 2017-01-10 14:41:23 +01:00
Sebastian Huber
0577772720 Update to FreeBSD head 2017-01-09
Git mirror commit 1f8e4a995a6ede4bdb24e6d335ccda2bdb0175ab.
2017-01-10 11:03:27 +01:00
Sebastian Huber
75b706fde4 Update to FreeBSD head 2016-12-10
Git mirror commit 80c55f08a05ab3b26a73b226ccb56adc3122a55c.
2017-01-10 09:53:34 +01:00
Sebastian Huber
c40e45b75e Update to FreeBSD head 2016-08-23
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2017-01-10 09:53:31 +01:00
Sebastian Huber
0ba419717b Add SIZE_T_MAX to <machine/rtems-bsd-user-space.h> 2016-10-24 08:11:24 +02:00
Sebastian Huber
a9d38f5306 Remove AppleTalk support
Prepare update to FreeBSD 11.
2016-10-13 07:23:03 +02:00
Christian Mauderer
21abaef9b0 freebsd: Don't use new wrappers for old ports.
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.
2016-08-02 10:21:51 +02:00
Sebastian Huber
3d1e767c8f Directly use <sys/types.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
2017a6df2b Directly use <sys/time.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Chris Johns
83eb07c4d6 Add sbin/sysctl 2016-05-06 15:07:56 +10:00
Sebastian Huber
87bff39d34 dhclient: Avoid SIZE_T_MAX
Use SIZE_MAX instead of SIZE_T_MAX to avoid a dependency on BSD
specifics.
2016-04-18 14:54:41 +02:00
Sebastian Huber
165dd8ea12 Update to FreeBSD Stable/9 2015-04-08 2015-05-20 09:58:21 +02:00
Sebastian Huber
0c395c0502 Add generated files
This avoids dependencies on a particular generator tool version.  On
MinGW and Cygwin hosts these tools tend to be outdated or somehow
incapable.
2015-04-08 07:57:05 +02:00
Sebastian Huber
7eeb079d84 Update to FreeBSD 9.3 2015-02-13 10:34:19 +01:00
Sebastian Huber
54a4e3ce83 PING(8): Default to three packets
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.
2014-09-24 10:57:35 +02:00
Sebastian Huber
efb82b8d6e IFCONFIG(8): Default to AF_INET for RTEMS
Avoid errors due to optional AF_LOCAL.
2014-09-24 10:24:57 +02:00
Sebastian Huber
00735284b8 ROUTE(8): Fix memory leak 2013-12-20 15:35:59 +01:00
Sebastian Huber
aba4586df3 ROUTE(8): Initialize file descriptor 2013-12-20 15:35:59 +01:00
Sebastian Huber
b4d6afd9f6 commands: Use REQUIRE_ORDER option processing 2013-11-13 14:10:35 +01:00
Sebastian Huber
66659ff1ad Update to FreeBSD 9.2 2013-11-11 10:08:08 +01:00
Sebastian Huber
0a57e1db23 Reduce divergence from FreeBSD sources 2013-11-11 10:08:06 +01:00
Sebastian Huber
b84c04ecfa Move content to <machine/rtems-bsd-user-space.h> 2013-11-11 10:08:05 +01:00
Sebastian Huber
d48955b9e3 Add and use <machine/rtems-bsd-user-space.h> 2013-11-11 10:08:05 +01:00
Sebastian Huber
af5333e0a0 Update to FreeBSD 8.4 2013-11-04 15:28:21 +01:00
Sebastian Huber
c8ee0d82ad PING6(8): Fix resource leaks 2013-10-31 13:20:14 +01:00
Sebastian Huber
5c3f0b76d8 PING6(8): Add RTEMS support 2013-10-31 13:20:14 +01:00
Sebastian Huber
30ff9897c1 PING6(8): Delete unused variable 2013-10-31 13:20:14 +01:00
Sebastian Huber
4a16e2834f PING6(8): Fix isxdigit() usage 2013-10-31 13:20:13 +01:00
Sebastian Huber
cf53967a69 PING6(8): Delete unused variable 2013-10-31 13:20:13 +01:00
Sebastian Huber
998ab3634c PING6(8): Add const qualifier 2013-10-31 13:20:13 +01:00
Sebastian Huber
aa5c35aec6 PING6(8): Use local scope for functions 2013-10-31 13:20:13 +01:00
Sebastian Huber
2f72888548 PING6(8): Use local scope for global variables 2013-10-31 13:20:13 +01:00
Sebastian Huber
45d74f2030 ROUTE(8): Add and use context 2013-10-31 13:18:54 +01:00
Sebastian Huber
e48f546574 PING(8): Fix initialization and cleanup 2013-10-31 13:18:53 +01:00
Sebastian Huber
e24c90c55f PING(8): Delete unused variable 2013-10-31 13:18:53 +01:00
Sebastian Huber
d3d6b0879c PING(8): Add const qualifier 2013-10-31 13:18:53 +01:00
Sebastian Huber
42c9944f61 PING(8): Use local scope for global variables 2013-10-31 13:18:53 +01:00
Sebastian Huber
c4645e4de4 PING(8): Use BSD program lock 2013-10-31 13:18:53 +01:00
Sebastian Huber
58b493bb0c PING(8): Avoid large buffers on the stack 2013-10-31 13:18:53 +01:00
Sebastian Huber
79e6125491 PING(8): Fix isxdigit() usage 2013-10-31 13:18:53 +01:00
Sebastian Huber
ae3495e0a3 PING(8): Do not use signals 2013-10-31 13:18:53 +01:00