23 Commits

Author SHA1 Message Date
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
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
c40e45b75e Update to FreeBSD head 2016-08-23
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2017-01-10 09:53:31 +01: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
7eeb079d84 Update to FreeBSD 9.3 2015-02-13 10:34:19 +01: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
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
45d74f2030 ROUTE(8): Add and use context 2013-10-31 13:18:54 +01:00
Sebastian Huber
d02c99826a ROUTE(8): Adjust port to RTEMS 2013-10-31 13:18:49 +01:00
Sebastian Huber
dfc416ef47 ROUTE(8): Free dynamic memory 2013-10-31 13:18:48 +01:00
Sebastian Huber
2a08d437fa ROUTE(8): Add and use context
There is no point in aiming for long term FreeBSD compatibility here.
The issues must be fixed upstream and then move back to the RTEMS port.
2013-10-31 13:18:48 +01:00
Sebastian Huber
a9be4b0481 Move shell items to separate file 2013-10-31 13:18:48 +01:00
Sebastian Huber
d01564c473 Move program control to thread structure 2013-10-31 13:18:48 +01:00
Sebastian Huber
c333babc98 Simplify getopt() to getopt_r() translation 2013-10-31 13:18:48 +01:00
Sebastian Huber
e599318e91 Update files to match FreeBSD layout
Add compatibility with Newlib header files.  Some FreeBSD header files
are mapped by the translation script:

     o rtems/bsd/sys/_types.h
     o rtems/bsd/sys/errno.h
     o rtems/bsd/sys/lock.h
     o rtems/bsd/sys/param.h
     o rtems/bsd/sys/resource.h
     o rtems/bsd/sys/time.h
     o rtems/bsd/sys/timespec.h
     o rtems/bsd/sys/types.h
     o rtems/bsd/sys/unistd.h

It is now possible to include <sys/socket.h> directly for example.

Generate one Makefile which builds everything including tests.
2013-10-10 09:08:23 +02:00
Sebastian Huber
bceabc95c1 Move files to match FreeBSD layout 2013-10-10 09:06:58 +02:00