227 Commits

Author SHA1 Message Date
Sebastian Huber
4db7af6afb NETSTAT(1): Add const qualifier 2013-10-31 13:18:54 +01:00
Sebastian Huber
a400e1d849 NETSTAT(1): Wrap exit(), etc. 2013-10-31 13:18:54 +01:00
Sebastian Huber
f0d189ca93 Hide global TCP debug variables 2013-10-31 13:18:54 +01:00
Sebastian Huber
c99816e1d7 Implement sysctl_handle_opaque()
FIXME: The snapshots are not reliable.
2013-10-31 13:18:54 +01:00
Sebastian Huber
24042643b3 Revert superfluous changes 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
f3ffa87cc9 Avoid use of "maxfiles" and "maxfilesperproc" 2013-10-31 13:18:53 +01:00
Sebastian Huber
371881668c Avoid use of "hogticks" 2013-10-31 13:18:53 +01:00
Sebastian Huber
adaa24668e Inline copyinstr(), copyin() and copyout() 2013-10-31 13:18:53 +01:00
Sebastian Huber
724d62b427 Delete unused "sys/kern/kern_environment.c" 2013-10-31 13:18:53 +01:00
Sebastian Huber
54146cac48 Fix warning 2013-10-31 13:18:53 +01:00
Sebastian Huber
89761ed754 Do not use FreeBSD time control 2013-10-31 13:18:53 +01:00
Sebastian Huber
e65783f249 TIMEOUT(9): Support callout_drain() 2013-10-31 13:18:52 +01:00
Sebastian Huber
a9e26f5d5b TIMEOUT(9): Use timer server for callout_tick() 2013-10-31 13:18:52 +01:00
Sebastian Huber
0c9f27ba24 Use kqueue() and kevent() from FreeBSD 2013-10-31 13:18:52 +01:00
Sebastian Huber
bae343a308 Use compile-time constant for vm_guest 2013-10-31 13:18:52 +01:00
Sebastian Huber
ea87228a26 TASKQUEUE(9): Use FreeBSD implementation 2013-10-31 13:18:52 +01:00
Sebastian Huber
08264c8b21 Use poll() from FreeBSD 2013-10-31 13:18:52 +01:00
Sebastian Huber
3e2938873d ZONE(9): Add and use red-black tree chunk alloc 2013-10-31 13:18:52 +01:00
Sebastian Huber
11b7f58408 Fix errno conflict
Newlib defines errno as

	#define errno (*__errno())

In case this is expanded in a function parameter, e.g.

	void f(int errno) { ... }

then we have a function pointer parameter instead of the integer scalar.
2013-10-31 13:18:51 +01:00
Sebastian Huber
6ca6aa893b Delete kern_proc.c and kern_resource.c 2013-10-31 13:18:51 +01:00
Sebastian Huber
53441c049a Move pause() define to <sys/systm.h> 2013-10-31 13:18:51 +01:00
Sebastian Huber
b3193b8709 Move strdup() define to <sys/libkern.h> 2013-10-31 13:18:51 +01:00
Sebastian Huber
150d4d6524 Move content to new <machine/rtems-bsd-support.h> 2013-10-31 13:18:51 +01:00
Sebastian Huber
12b57addab Move malloc defines to <sys/malloc.h> 2013-10-31 13:18:50 +01:00
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
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
f9c2714590 SLEEP(8): New implementation 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
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
9a3fa151b2 Use unmodified FreeBSD versions for port_*.h 2013-10-31 13:18:49 +01:00