16 Commits

Author SHA1 Message Date
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
Sebastian Huber
bceabc95c1 Move files to match FreeBSD layout 2013-10-10 09:06:58 +02:00