1591 Commits

Author SHA1 Message Date
Sebastian Huber
6cdf009465 Remove setenv() declaration (conficts <stdlib.h>) 2013-10-31 13:18:50 +01:00
Sebastian Huber
40f2158a15 Remove abs() and labs() definitions
Confict with <stdlib.h>.
2013-10-31 13:18:50 +01:00
Sebastian Huber
99378e229f Remove gets() declaration (conflicts <stdio.h>) 2013-10-31 13:18:50 +01:00
Sebastian Huber
8109ef3ae7 Remove superfluous undefs 2013-10-31 13:18:50 +01:00
Sebastian Huber
ea49a89a2c Move ticks definition 2013-10-31 13:18:50 +01:00
Sebastian Huber
5d288bc6ee Use compile-time constants for exactly one CPU 2013-10-31 13:18:50 +01:00
Sebastian Huber
87fdc14286 Use RTEMS provides zlib 2013-10-31 13:18:50 +01:00
Sebastian Huber
facf9dcea6 Use select() from FreeBSD 2013-10-31 13:18:50 +01:00
Sebastian Huber
0967858024 sleep01: New test 2013-10-31 13:18:50 +01:00
Sebastian Huber
f9c2714590 SLEEP(8): New implementation 2013-10-31 13:18:50 +01:00
Sebastian Huber
24732b6de5 Rename file to reflect FreeBSD origin 2013-10-31 13:18:50 +01:00
Sebastian Huber
37b0ab6ee4 loopback01: Wait for client termination 2013-10-31 13:18:50 +01:00
Sebastian Huber
5ddce1f196 loopback01: Initialize via IFCONFIG(8) 2013-10-31 13:18:50 +01:00
Sebastian Huber
616f6000b6 Map <sys/md5.h> to RTEMS <md5.h> 2013-10-31 13:18:50 +01:00
Sebastian Huber
1f6caf381c commands01: New test 2013-10-31 13:18:49 +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
c14bb23117 IFCONFIG(8): Disable IEEE80211 support
This module depends on a XML parser and mmap().
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
9a3fa151b2 Use unmodified FreeBSD versions for port_*.h 2013-10-31 13:18:49 +01:00
Sebastian Huber
cdf6024953 Add MAC support functions
WARNING: They are not thread-safe!  This is a known FreeBSD issue.
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
ffcd542fe2 Move TIMEOUT(9) and ZONE(9) initialization
Delete most of virtual memory support.
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
c804e50047 Update from latest FreeBSD version 2013-10-31 13:18:48 +01:00
Sebastian Huber
1bbb359583 Avoid NULL pointer access 2013-10-31 13:18:48 +01:00
Sebastian Huber
57f20025a7 Add sysctl(), etc. prototypes 2013-10-31 13:18:48 +01:00
Sebastian Huber
9d9bfaff8d Use send/recv functions from FreeBSD
Use recvfrom(), recvmsg(), sendto() and sendmsg() from FreeBSD.
2013-10-31 13:18:48 +01:00
Sebastian Huber
ec702abace Use socket read() and write() from FreeBSD 2013-10-31 13:18:48 +01:00
Sebastian Huber
8989c110f5 Use getsockname() from FreeBSD 2013-10-31 13:18:48 +01:00
Sebastian Huber
0beab1e86a Use getpeername() from FreeBSD 2013-10-31 13:18:48 +01:00
Sebastian Huber
ac78dd2440 Use getsockopt() and setsockopt() from FreeBSD 2013-10-31 13:18:47 +01:00
Sebastian Huber
7c2b59c831 Use accept() from FreeBSD 2013-10-31 13:18:47 +01:00
Sebastian Huber
7c3625139f Use listen() from FreeBSD 2013-10-31 13:18:47 +01:00
Sebastian Huber
6676de488a Use connect() from FreeBSD 2013-10-31 13:18:47 +01:00
Sebastian Huber
e5393a3267 Use socket ioctl() from FreeBSD 2013-10-31 13:18:47 +01:00
Sebastian Huber
468b08e553 Use bind() from FreeBSD 2013-10-31 13:18:47 +01:00
Sebastian Huber
6ffb9b9e27 Use shutdown() from FreeBSD 2013-10-31 13:18:47 +01:00
Sebastian Huber
bada2f77d0 Add socket fstat() support 2013-10-31 13:18:47 +01:00
Sebastian Huber
609df33954 Use send() and recv() from FreeBSD 2013-10-31 13:18:47 +01:00
Sebastian Huber
caf8eded60 Import socket() implementation from FreeBSD
Add new test syscalls01.
2013-10-31 13:18:47 +01:00