Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)

- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
This commit is contained in:
2014-07-28 17:05:06 +02:00
parent ff10274392
commit 84d9c625bf
4655 changed files with 379308 additions and 151050 deletions
+13 -7
View File
@@ -6,27 +6,33 @@
.if ${MKIMAGEONLY} == "yes"
.if ${MACHINE_ARCH} == "i386"
SUBDIR= at_wini floppy tty pci pckbd
SUBDIR= at_wini floppy pci pckbd
.endif
.if ${MACHINE_ARCH} == "earm"
SUBDIR= tty
SUBDIR=
.endif
# Drivers available on all platforms
SUBDIR+= tty
.else # ${MKIMAGEONLY} != "yes"
.if ${MACHINE_ARCH} == "i386"
SUBDIR= ahci amddev atl2 at_wini audio dec21140A dp8390 dpeth \
e1000 fbd filter floppy fxp hello lance log mmc orinoco pci pckbd \
printer random readclock rtl8139 rtl8169 ti1225 tty uds vbox acpi \
virtio_blk virtio_net vnd
e1000 fbd filter floppy fxp hello lance orinoco pci pckbd \
printer rtl8139 rtl8169 ti1225 vbox acpi \
virtio_blk virtio_net
.endif
.if ${MACHINE_ARCH} == "earm"
SUBDIR= bmp085 cat24c256 fb gpio i2c mmc lan8710a log readclock \
sht21 tda19988 tps65217 tps65950 tsl2550 tty random uds vnd
SUBDIR= bmp085 cat24c256 fb gpio i2c lan8710a \
sht21 tda19988 tps65217 tps65950 tsl2550
.endif
# Drivers available on all platforms
SUBDIR+= log mmc random tty uds vnd readclock
.endif # ${MKIMAGEONLY} != "yes"
# memory driver must be last for ramdisk image
+1
View File
@@ -14,6 +14,7 @@ Driver for the AMD Device Exclusion Vector (DEV)
#include <string.h>
#include <unistd.h>
#include <machine/vm.h>
#include <machine/vmparam.h>
#include <signal.h>
#include <minix/com.h>
#include <minix/const.h>
+1 -1
View File
@@ -494,7 +494,7 @@ static void do_vread_s(const message * mp, int from_int)
incomplete frames to us, so this hack is safe
*/
if(size<60){
bzero(&descr->buf1[size], 60-size);
memset(&descr->buf1[size], 0, 60-size);
size=60;
}
/* End ugly hack */
+1
View File
@@ -23,6 +23,7 @@
#include <minix/ds.h>
#include <minix/vm.h>
#include <machine/param.h>
#include <machine/vmparam.h>
#include <sys/mman.h>
#include "kernel/const.h"
#include "kernel/config.h"
+1
View File
@@ -17,6 +17,7 @@
#include <minix/sysutil.h>
#include <minix/timers.h>
#include <machine/pci.h>
#include <machine/vmparam.h>
#include <minix/ds.h>
#include <minix/endpoint.h>
#include "kernel/const.h"
+1
View File
@@ -9,6 +9,7 @@ Created: Jan 2000 by Philip Homburg <philip@cs.vu.nl>
#include <assert.h>
#include <machine/pci.h>
#include <machine/vm.h>
#include <machine/vmparam.h>
#include <minix/com.h>
#include <minix/ds.h>
#include <minix/syslib.h>
+2 -1
View File
@@ -31,7 +31,7 @@ ETC= system.conf master.passwd group
EXTRA= rc
PROTO_FILES= proto.common.etc proto.common.dynamic
PROG_DRIVERS=
PROG_COMMANDS= mount umount grep fsck.mfs sh service loadramdisk sysenv
PROG_COMMANDS= mount umount grep fsck_mfs sh service loadramdisk sysenv
PROG_SERVERS= input mfs procfs
PROG_BIN=
PROG_SBIN=
@@ -129,6 +129,7 @@ ${PROGROOT}/lib/${lib}/${lib}.so.0:
# Generate dependencies rules for binaries
dir.sh:= ash
dir.fsck_mfs:= fsck.mfs
.for srcdir in bin sbin commands drivers libexec servers usr.bin usr.sbin
.for prog in ${PROG_${srcdir:tu}}
${prog}: ${PROGROOT}/${srcdir}/${dir.${prog}:U${prog}}/${prog}
+1 -1
View File
@@ -7,7 +7,7 @@ d--755 0 0
#endif
sysenv ---755 0 0 sysenv
#if RAMDISK_SMALL == 1
fsck.mfs ---755 0 0 fsck.mfs
fsck_mfs ---755 0 0 fsck_mfs
#endif
mount ---755 0 0 mount
umount ---755 0 0 umount
+1 -1
View File
@@ -5,7 +5,7 @@ exec >/dev/log
exec 2>/dev/log
exec </dev/null
FSCK=/bin/fsck.mfs
FSCK=/bin/fsck_mfs
ACPI=/usr/sbin/acpi
if [ X`/bin/sysenv arch` = Xi386 ]
+1
View File
@@ -8,6 +8,7 @@ Created: Dec 2005 by Philip Homburg
#include <minix/driver.h>
#include <machine/pci.h>
#include <machine/vm.h>
#include <machine/vmparam.h>
#include <sys/mman.h>
#include "ti1225.h"
+2
View File
@@ -1,4 +1,6 @@
/* VirtualBox driver - by D.C. van Moolenbroek */
#include <machine/vmparam.h>
#include <minix/drivers.h>
#include <minix/vboxtype.h>
#include <minix/vboxif.h>