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
Sebastian Huber
51c48bff4b
IFCONFIG(8): Avoid write to const string
2013-10-31 13:18:49 +01:00
Sebastian Huber
56e9de90c7
IFCONFIG(8): Wrap exit()
2013-10-31 13:18:49 +01:00
Sebastian Huber
b833cc4c4a
IFCONFIG(8): Fix some resource leaks
2013-10-31 13:18:49 +01:00
Sebastian Huber
60618d5332
IFCONFIG(8): Initialize global variables in ctors
2013-10-31 13:18:49 +01:00
Sebastian Huber
8ff186f81f
IFCONFIG(8): Fix isdigit() and isprint() usage
2013-10-31 13:18:49 +01:00
Sebastian Huber
13b50b37cc
IFCONFIG(8): Add const qualifier
2013-10-31 13:18:49 +01:00
Sebastian Huber
43148f0c6a
IFCONFIG(8): Avoid JAIL(3)
2013-10-31 13:18:49 +01:00
Sebastian Huber
4e14deda1c
IFCONFIG(8): Workaround for struct option confict
2013-10-31 13:18:49 +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