CVS commit: src/sys/net
Module Name:src Committed By: nonaka Date: Tue Jun 5 01:25:59 UTC 2018 Modified Files: src/sys/net: if_llatbl.c Log Message: It is necessary to set wall time instead of monotonic time to rmx_expire. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/net/if_llatbl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/net/if_llatbl.c diff -u src/sys/net/if_llatbl.c:1.26 src/sys/net/if_llatbl.c:1.27 --- src/sys/net/if_llatbl.c:1.26 Tue Mar 6 07:27:55 2018 +++ src/sys/net/if_llatbl.c Tue Jun 5 01:25:59 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: if_llatbl.c,v 1.26 2018/03/06 07:27:55 ozaki-r Exp $ */ +/* $NetBSD: if_llatbl.c,v 1.27 2018/06/05 01:25:59 nonaka Exp $ */ /* * Copyright (c) 2004 Luigi Rizzo, Alessandro Cerri. All rights reserved. * Copyright (c) 2004-2008 Qing Li. All rights reserved. @@ -112,8 +112,8 @@ lltable_dump_entry(struct lltable *llt, /* Need to copy by myself */ rtm->rtm_index = ifp->if_index; rtm->rtm_rmx.rmx_mtu = 0; - rtm->rtm_rmx.rmx_expire = - (lle->la_flags & LLE_STATIC) ? 0 : lle->la_expire; + rtm->rtm_rmx.rmx_expire = (lle->la_flags & LLE_STATIC) ? 0 : + time_mono_to_wall(lle->la_expire); rtm->rtm_flags = RTF_UP; rtm->rtm_flags |= RTF_HOST; /* For ndp */ /* For backward compatibility */
CVS commit: src/sys/arch/i386/conf
Module Name:src Committed By: christos Date: Tue Jun 5 00:58:42 UTC 2018 Modified Files: src/sys/arch/i386/conf: Makefile.i386 Log Message: No need for NORELRO here. To generate a diff of this commit: cvs rdiff -u -r1.192 -r1.193 src/sys/arch/i386/conf/Makefile.i386 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/i386/conf/Makefile.i386 diff -u src/sys/arch/i386/conf/Makefile.i386:1.192 src/sys/arch/i386/conf/Makefile.i386:1.193 --- src/sys/arch/i386/conf/Makefile.i386:1.192 Mon Jun 4 16:28:44 2018 +++ src/sys/arch/i386/conf/Makefile.i386 Mon Jun 4 20:58:42 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.i386,v 1.192 2018/06/04 20:28:44 christos Exp $ +# $NetBSD: Makefile.i386,v 1.193 2018/06/05 00:58:42 christos Exp $ # Makefile for NetBSD # @@ -18,7 +18,6 @@ # makeoptions DEBUGLIST="uvm* trap if_*" NOSANITIZER= # defined -NORELRO= # defined MACHINE_ARCH= i386 USETOOLS?= no NEED_OWN_INSTALL_TARGET?=no
CVS commit: src/sys/compat/common
Module Name:src Committed By: christos Date: Tue Jun 5 00:58:17 UTC 2018 Modified Files: src/sys/compat/common: Makefile Log Message: use the standard rules, instead of rolling our own. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/compat/common/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/common/Makefile diff -u src/sys/compat/common/Makefile:1.63 src/sys/compat/common/Makefile:1.64 --- src/sys/compat/common/Makefile:1.63 Tue Dec 19 23:46:19 2017 +++ src/sys/compat/common/Makefile Mon Jun 4 20:58:17 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.63 2017/12/20 04:46:19 maya Exp $ +# $NetBSD: Makefile,v 1.64 2018/06/05 00:58:17 christos Exp $ LIB= compat NOPIC= # defined @@ -23,15 +23,9 @@ libinstall:: .undef DESTDIR .include -lib${LIB}.o:: ${OBJS:O} - @echo building standard ${LIB} library - @rm -f lib${LIB}.o - @${LD} -r -o lib${LIB}.o ${LDFLAGS} `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}` - -lib${LIB}.po:: ${POBJS:O} - @echo building profiled ${LIB} library - @rm -f lib${LIB}.po - @${LD} -r -o lib${LIB}.po ${LDFLAGS} `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}` +lib${LIB}.o:: ${OBJS:O} __buildstdlib + +lib${LIB}.po:: ${POBJS:O} __buildproflib showsources: ${SRCS} @echo ${.ALLSRC}
CVS commit: src/sys/lib
Module Name:src Committed By: christos Date: Tue Jun 5 00:57:47 UTC 2018 Modified Files: src/sys/lib/libkern: Makefile src/sys/lib/libsa: Makefile src/sys/lib/libz: Makefile Log Message: Use the standard build rules. To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/sys/lib/libkern/Makefile cvs rdiff -u -r1.87 -r1.88 src/sys/lib/libsa/Makefile cvs rdiff -u -r1.22 -r1.23 src/sys/lib/libz/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/lib/libkern/Makefile diff -u src/sys/lib/libkern/Makefile:1.100 src/sys/lib/libkern/Makefile:1.101 --- src/sys/lib/libkern/Makefile:1.100 Tue Mar 22 04:25:23 2016 +++ src/sys/lib/libkern/Makefile Mon Jun 4 20:57:47 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.100 2016/03/22 08:25:23 mrg Exp $ +# $NetBSD: Makefile,v 1.101 2018/06/05 00:57:47 christos Exp $ LIB= kern NOPIC= # defined @@ -17,15 +17,9 @@ libinstall:: .undef DESTDIR .include -lib${LIB}.o:: ${OBJS:O} - @echo building standard ${LIB} library - @rm -f lib${LIB}.o - @${LD} -r -o lib${LIB}.o `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}` - -lib${LIB}.po:: ${POBJS:O} - @echo building profiled ${LIB} library - @rm -f lib${LIB}.po - @${LD} -r -o lib${LIB}.po `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}` +lib${LIB}.o:: ${OBJS:O} __buildstdlib + +lib${LIB}.po:: ${POBJS:O} __buildproflib showsources: ${SRCS:O} @echo ${.ALLSRC} Index: src/sys/lib/libsa/Makefile diff -u src/sys/lib/libsa/Makefile:1.87 src/sys/lib/libsa/Makefile:1.88 --- src/sys/lib/libsa/Makefile:1.87 Tue Mar 22 04:25:23 2016 +++ src/sys/lib/libsa/Makefile Mon Jun 4 20:57:47 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.87 2016/03/22 08:25:23 mrg Exp $ +# $NetBSD: Makefile,v 1.88 2018/06/05 00:57:47 christos Exp $ LIB= sa LIBISPRIVATE?= yes @@ -79,10 +79,7 @@ SRCS+= ufs.c .include -lib${LIB}.o:: ${OBJS:O} - @echo building standard ${LIB} library - @rm -f lib${LIB}.o - @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort` +lib${LIB}.o:: ${OBJS:O} __buildstdlib CPPFLAGS+= -Wno-pointer-sign Index: src/sys/lib/libz/Makefile diff -u src/sys/lib/libz/Makefile:1.22 src/sys/lib/libz/Makefile:1.23 --- src/sys/lib/libz/Makefile:1.22 Tue Mar 22 04:25:23 2016 +++ src/sys/lib/libz/Makefile Mon Jun 4 20:57:47 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2016/03/22 08:25:23 mrg Exp $ +# $NetBSD: Makefile,v 1.23 2018/06/05 00:57:47 christos Exp $ LIB= z LIBISPRIVATE= yes @@ -24,10 +24,7 @@ CLEANFILES+= lib${LIB}.o .undef DESTDIR .include -lib${LIB}.o:: ${OBJS:O} - @echo building standard ${LIB} library - @rm -f lib${LIB}.o - @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort` +lib${LIB}.o:: ${OBJS:O} __buildstdlib .if defined(HAVE_GCC) && ${MACHINE_ARCH} == "vax" COPTS.inftrees.c+= -O0
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Tue Jun 5 00:56:51 UTC 2018 Modified Files: src/share/mk: bsd.lib.mk Log Message: Add rules for building relocatable objects to avoid having random Makefiles use ${LD} ${LDFLAGS} -r which does not work if we specify MKRELRO since LDFLAGS is supposed to be passed to LINK.c not LD directly (although some of the flags work). To generate a diff of this commit: cvs rdiff -u -r1.372 -r1.373 src/share/mk/bsd.lib.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.lib.mk diff -u src/share/mk/bsd.lib.mk:1.372 src/share/mk/bsd.lib.mk:1.373 --- src/share/mk/bsd.lib.mk:1.372 Sun May 28 23:52:43 2017 +++ src/share/mk/bsd.lib.mk Mon Jun 4 20:56:51 2018 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.lib.mk,v 1.372 2017/05/29 03:52:43 christos Exp $ +# $NetBSD: bsd.lib.mk,v 1.373 2018/06/05 00:56:51 christos Exp $ # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 .include @@ -541,7 +541,7 @@ _INSTRANLIB=${empty(PRESERVE):?-a "${RAN .if !target(__archivebuild) __archivebuild: .USE ${_MKTARGET_BUILD} - rm -f ${.TARGET} + @rm -f ${.TARGET} ${AR} ${_ARFL} ${.TARGET} `NM=${NM} ${LORDER} ${.ALLSRC:M*o} | ${TSORT}` .endif @@ -556,6 +556,21 @@ __archivesymlinkpic: .USE ${_MKTARGET_INSTALL} ${INSTALL_SYMLINK} ${.ALLSRC} ${.TARGET} +.if !target(__buildstdlib) +__buildstdlib: .USE + @echo building standard ${.TARGET:T:S/.o//:S/lib//} library + @rm -f ${.TARGET} + @${LINK.c} -nostdlib ${LDFLAGS} -r -o ${.TARGET} `NM=${NM} ${LORDER} ${.ALLSRC:M*o} | ${TSORT}` +.endif + +.if !target(__buildproflib) +__buildproflib: .USE + @echo building profiled ${.TARGET:T:S/.o//:S/lib//} library + ${_MKTARGET_BUILD} + @rm -f ${.TARGET} + @${LINK.c} -nostdlib ${LDFLAGS} -r -o ${.TARGET} `NM=${NM} ${LORDER} ${.ALLSRC:M*po} | ${TSORT}` +.endif + DPSRCS+= ${_YLSRCS} CLEANFILES+= ${_YLSRCS}
CVS commit: src/external/cddl/osnet/dist/uts/common/sys
Module Name:src Committed By: christos Date: Mon Jun 4 21:36:03 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/sys: dtrace.h Log Message: add because the header needs proc_t kthread_t etc. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 \ src/external/cddl/osnet/dist/uts/common/sys/dtrace.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/cddl/osnet/dist/uts/common/sys/dtrace.h diff -u src/external/cddl/osnet/dist/uts/common/sys/dtrace.h:1.16 src/external/cddl/osnet/dist/uts/common/sys/dtrace.h:1.17 --- src/external/cddl/osnet/dist/uts/common/sys/dtrace.h:1.16 Mon May 28 17:05:07 2018 +++ src/external/cddl/osnet/dist/uts/common/sys/dtrace.h Mon Jun 4 17:36:03 2018 @@ -59,6 +59,7 @@ extern "C" { #include #include #include +#include #include typedef int model_t; #endif
CVS commit: src/external/cddl/osnet/dev/dtrace/i386
Module Name:src Committed By: christos Date: Mon Jun 4 21:35:29 UTC 2018 Modified Files: src/external/cddl/osnet/dev/dtrace/i386: dtrace_subr.c Log Message: better to put this () in the dtrace header where the definitions are needed. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 \ src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c diff -u src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c:1.10 src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c:1.11 --- src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c:1.10 Mon Jun 4 16:12:45 2018 +++ src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c Mon Jun 4 17:35:29 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: dtrace_subr.c,v 1.10 2018/06/04 20:12:45 kre Exp $ */ +/* $NetBSD: dtrace_subr.c,v 1.11 2018/06/04 21:35:29 christos Exp $ */ /* * CDDL HEADER START @@ -33,7 +33,6 @@ * Copyright (c) 2011, Joyent, Inc. All rights reserved. */ -#include #include #include #include
CVS commit: src/sys/arch/i386/conf
Module Name:src Committed By: christos Date: Mon Jun 4 20:28:44 UTC 2018 Modified Files: src/sys/arch/i386/conf: Makefile.i386 Log Message: Disable RELRO/SANITIZER To generate a diff of this commit: cvs rdiff -u -r1.191 -r1.192 src/sys/arch/i386/conf/Makefile.i386 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/i386/conf/Makefile.i386 diff -u src/sys/arch/i386/conf/Makefile.i386:1.191 src/sys/arch/i386/conf/Makefile.i386:1.192 --- src/sys/arch/i386/conf/Makefile.i386:1.191 Wed Apr 18 06:40:22 2018 +++ src/sys/arch/i386/conf/Makefile.i386 Mon Jun 4 16:28:44 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.i386,v 1.191 2018/04/18 10:40:22 martin Exp $ +# $NetBSD: Makefile.i386,v 1.192 2018/06/04 20:28:44 christos Exp $ # Makefile for NetBSD # @@ -17,6 +17,8 @@ # # makeoptions DEBUGLIST="uvm* trap if_*" +NOSANITIZER= # defined +NORELRO= # defined MACHINE_ARCH= i386 USETOOLS?= no NEED_OWN_INSTALL_TARGET?=no
CVS commit: src/external/cddl/osnet/dev/dtrace/i386
Module Name:src Committed By: kre Date: Mon Jun 4 20:12:46 UTC 2018 Modified Files: src/external/cddl/osnet/dev/dtrace/i386: dtrace_subr.c Log Message: The (dtrace version of) is needed for kthread_t (same as the amd64 version). This should fix (one of) the current i386 build breakages. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 \ src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c diff -u src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c:1.9 src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c:1.10 --- src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c:1.9 Mon May 28 21:05:03 2018 +++ src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c Mon Jun 4 20:12:45 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: dtrace_subr.c,v 1.9 2018/05/28 21:05:03 chs Exp $ */ +/* $NetBSD: dtrace_subr.c,v 1.10 2018/06/04 20:12:45 kre Exp $ */ /* * CDDL HEADER START @@ -33,6 +33,7 @@ * Copyright (c) 2011, Joyent, Inc. All rights reserved. */ +#include #include #include #include
CVS commit: src/sys/arch/usermode/dev
Module Name:src Committed By: reinoud Date: Mon Jun 4 20:06:52 UTC 2018 Modified Files: src/sys/arch/usermode/dev: ld_thunkbus.c Log Message: Its a hack, but make sure the pages are paged in To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/usermode/dev/ld_thunkbus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/usermode/dev/ld_thunkbus.c diff -u src/sys/arch/usermode/dev/ld_thunkbus.c:1.32 src/sys/arch/usermode/dev/ld_thunkbus.c:1.33 --- src/sys/arch/usermode/dev/ld_thunkbus.c:1.32 Sat Jan 13 10:27:58 2018 +++ src/sys/arch/usermode/dev/ld_thunkbus.c Mon Jun 4 20:06:52 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: ld_thunkbus.c,v 1.32 2018/01/13 10:27:58 reinoud Exp $ */ +/* $NetBSD: ld_thunkbus.c,v 1.33 2018/06/04 20:06:52 reinoud Exp $ */ /*- * Copyright (c) 2011 Jared D. McNeill @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ld_thunkbus.c,v 1.32 2018/01/13 10:27:58 reinoud Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ld_thunkbus.c,v 1.33 2018/06/04 20:06:52 reinoud Exp $"); #include #include @@ -271,6 +271,9 @@ ld_thunkbus_complete(void *arg) //bp->b_flags & B_READ ? "read" : "write", //(unsigned int)bp->b_bcount, (long long)offset, bp->b_data, bp->b_flags); + /* this is silly, but better make sure */ + thunk_assert_presence((vaddr_t) bp->b_data, (size_t) bp->b_bcount); + /* read/write the request */ if (bp->b_flags & B_READ) { ret = thunk_pread(sc->sc_fd, bp->b_data, bp->b_bcount, offset); @@ -285,6 +288,7 @@ ld_thunkbus_complete(void *arg) if ((ret >= 0) && (ret == bp->b_bcount)) { bp->b_resid = 0; } else { + // printf("ret = %d, errno %d?\n",(int) ret, thunk_geterrno()); bp->b_error = thunk_geterrno(); bp->b_resid = bp->b_bcount; }
CVS commit: src/sys/arch/usermode
Module Name:src Committed By: reinoud Date: Mon Jun 4 19:53:01 UTC 2018 Modified Files: src/sys/arch/usermode/include: thunk.h src/sys/arch/usermode/usermode: thunk.c Log Message: Enhance the NetBSD/usermode thunk interface To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/arch/usermode/include/thunk.h cvs rdiff -u -r1.89 -r1.90 src/sys/arch/usermode/usermode/thunk.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/usermode/include/thunk.h diff -u src/sys/arch/usermode/include/thunk.h:1.64 src/sys/arch/usermode/include/thunk.h:1.65 --- src/sys/arch/usermode/include/thunk.h:1.64 Fri Jun 1 08:04:57 2018 +++ src/sys/arch/usermode/include/thunk.h Mon Jun 4 19:53:01 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: thunk.h,v 1.64 2018/06/01 08:04:57 reinoud Exp $ */ +/* $NetBSD: thunk.h,v 1.65 2018/06/04 19:53:01 reinoud Exp $ */ /*- * Copyright (c) 2011 Jared D. McNeill @@ -92,6 +92,7 @@ timer_t thunk_timer_attach(void); int thunk_timer_start(timer_t, int); int thunk_timer_getoverrun(timer_t); +void thunk_kill(pid_t pid, int sig); void thunk_exit(int); void thunk_abort(void); @@ -136,6 +137,8 @@ int thunk_sigfillset(sigset_t *sa_mask); void thunk_sigaddset(sigset_t *sa_mask, int sig); int thunk_sigprocmask(int how, const sigset_t * set, sigset_t *oset); int thunk_atexit(void (*function)(void)); +pid_t thunk_fork(void); +int thunk_ioctl(int fd, unsigned long request, void *opaque); int thunk_aio_read(struct aiocb *); int thunk_aio_write(struct aiocb *); @@ -166,6 +169,8 @@ int thunk_open_tap(const char *); int thunk_pollin_tap(int, int); int thunk_pollout_tap(int, int); +int thunk_assert_presence(vaddr_t from, size_t size); + typedef struct { unsigned int sample_rate; unsigned int precision; Index: src/sys/arch/usermode/usermode/thunk.c diff -u src/sys/arch/usermode/usermode/thunk.c:1.89 src/sys/arch/usermode/usermode/thunk.c:1.90 --- src/sys/arch/usermode/usermode/thunk.c:1.89 Fri Jun 1 08:04:57 2018 +++ src/sys/arch/usermode/usermode/thunk.c Mon Jun 4 19:53:01 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: thunk.c,v 1.89 2018/06/01 08:04:57 reinoud Exp $ */ +/* $NetBSD: thunk.c,v 1.90 2018/06/04 19:53:01 reinoud Exp $ */ /*- * Copyright (c) 2011 Jared D. McNeill @@ -28,7 +28,7 @@ #include #ifdef __NetBSD__ -__RCSID("$NetBSD: thunk.c,v 1.89 2018/06/01 08:04:57 reinoud Exp $"); +__RCSID("$NetBSD: thunk.c,v 1.90 2018/06/04 19:53:01 reinoud Exp $"); #endif #define _KMEMUSER @@ -36,6 +36,7 @@ __RCSID("$NetBSD: thunk.c,v 1.89 2018/06 #define _I386_MACHTYPES_H_ #include "../include/types.h" + #include #include #include @@ -344,6 +345,12 @@ thunk_usleep(useconds_t microseconds) } void +thunk_kill(pid_t pid, int sig) +{ + kill(pid, sig); +} + +void thunk_exit(int status) { return exit(status); @@ -646,6 +653,18 @@ thunk_atexit(void (*function)(void)) return atexit(function); } +pid_t +thunk_fork(void) +{ + return fork(); +} + +int +thunk_ioctl(int fd, unsigned long request, void *opaque) +{ + return ioctl(fd, request, opaque); +} + int thunk_aio_read(struct aiocb *aiocbp) { @@ -862,6 +881,21 @@ thunk_pollout_tap(int fd, int timeout) return poll(fds, __arraycount(fds), timeout); } + +/* simply make sure its present... yeah its silly */ +int +thunk_assert_presence(vaddr_t from, size_t size) +{ + vaddr_t va; + int t = 0; + + for (va = from; va < from + (vaddr_t) size; va += PAGE_SIZE) { + t += *(int *) va; + } + return t; +} + + int thunk_audio_open(const char *path) {
CVS commit: src/doc
Module Name:src Committed By: roy Date: Mon Jun 4 16:46:46 UTC 2018 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Note import of dhcpcd-7.0.5b To generate a diff of this commit: cvs rdiff -u -r1.1526 -r1.1527 src/doc/3RDPARTY cvs rdiff -u -r1.2392 -r1.2393 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/3RDPARTY diff -u src/doc/3RDPARTY:1.1526 src/doc/3RDPARTY:1.1527 --- src/doc/3RDPARTY:1.1526 Mon Jun 4 09:57:19 2018 +++ src/doc/3RDPARTY Mon Jun 4 16:46:46 2018 @@ -1,4 +1,4 @@ -# $NetBSD: 3RDPARTY,v 1.1526 2018/06/04 09:57:19 roy Exp $ +# $NetBSD: 3RDPARTY,v 1.1527 2018/06/04 16:46:46 roy Exp $ # # This file contains a list of the software that has been integrated into # NetBSD where we are not the primary maintainer. @@ -334,8 +334,8 @@ Notes: Use the dhcp2netbsd script. Package: dhcpcd -Version: 7.0.5a -Current Vers: 7.0.5a +Version: 7.0.5b +Current Vers: 7.0.5b Maintainer: roy Archive Site: ftp://roy.marples.name/pub/dhcpcd/ Home Page: http://roy.marples.name/projects/dhcpcd/ Index: src/doc/CHANGES diff -u src/doc/CHANGES:1.2392 src/doc/CHANGES:1.2393 --- src/doc/CHANGES:1.2392 Mon Jun 4 09:57:19 2018 +++ src/doc/CHANGES Mon Jun 4 16:46:46 2018 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2392 $> +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2393 $> # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -158,4 +158,4 @@ Changes from NetBSD 8.0 to NetBSD 9.0: gpio(4): Overhauled interrupt support. Added GPIO interrupt capability for Broadcom BCM283x SoCs (e.g. Raspberry Pi). [thorpej 20180519] - dhcpcd: Import 7.0.5a. [roy 20180604] + dhcpcd: Import 7.0.5b. [roy 20180604]
CVS commit: src/external/bsd/dhcpcd/dist/src
Module Name:src Committed By: roy Date: Mon Jun 4 16:45:52 UTC 2018 Modified Files: src/external/bsd/dhcpcd/dist/src: dhcp.c Log Message: Sync To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/bsd/dhcpcd/dist/src/dhcp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/dhcpcd/dist/src/dhcp.c diff -u src/external/bsd/dhcpcd/dist/src/dhcp.c:1.10 src/external/bsd/dhcpcd/dist/src/dhcp.c:1.11 --- src/external/bsd/dhcpcd/dist/src/dhcp.c:1.10 Sat Jun 2 09:44:27 2018 +++ src/external/bsd/dhcpcd/dist/src/dhcp.c Mon Jun 4 16:45:52 2018 @@ -2101,8 +2101,10 @@ dhcp_arp_probed(struct arp_state *astate if (ifp->ctx->options & DHCPCD_FORKED) return; +#ifdef IPV4LL /* Stop IPv4LL now we have a working DHCP address */ ipv4ll_drop(ifp); +#endif if (ifo->options & DHCPCD_INFORM) dhcp_inform(ifp);
CVS import: src/external/bsd/dhcpcd/dist
Module Name:src Committed By: roy Date: Mon Jun 4 16:44:46 UTC 2018 Update of /cvsroot/src/external/bsd/dhcpcd/dist In directory ivanova.netbsd.org:/tmp/cvs-serv9239 Log Message: Import dhcpcd-7.0.5b to fix a builds without IPv4LL (SMALLPROG builds) Status: Vendor Tag: roy Release Tags: dhcpcd-7-0-5b U src/external/bsd/dhcpcd/dist/.arcconfig U src/external/bsd/dhcpcd/dist/.gitignore U src/external/bsd/dhcpcd/dist/BUILDING.md U src/external/bsd/dhcpcd/dist/LICENSE U src/external/bsd/dhcpcd/dist/Makefile U src/external/bsd/dhcpcd/dist/Makefile.inc U src/external/bsd/dhcpcd/dist/README.md U src/external/bsd/dhcpcd/dist/config-null.mk U src/external/bsd/dhcpcd/dist/configure U src/external/bsd/dhcpcd/dist/iconfig.mk U src/external/bsd/dhcpcd/dist/compat/_strtoi.h U src/external/bsd/dhcpcd/dist/compat/arc4random.c U src/external/bsd/dhcpcd/dist/compat/arc4random.h U src/external/bsd/dhcpcd/dist/compat/bitops.h U src/external/bsd/dhcpcd/dist/compat/queue.h U src/external/bsd/dhcpcd/dist/compat/arc4random_uniform.c U src/external/bsd/dhcpcd/dist/compat/arc4random_uniform.h U src/external/bsd/dhcpcd/dist/compat/reallocarray.c U src/external/bsd/dhcpcd/dist/compat/dprintf.c U src/external/bsd/dhcpcd/dist/compat/dprintf.h U src/external/bsd/dhcpcd/dist/compat/endian.h U src/external/bsd/dhcpcd/dist/compat/pidfile.c U src/external/bsd/dhcpcd/dist/compat/pidfile.h U src/external/bsd/dhcpcd/dist/compat/reallocarray.h U src/external/bsd/dhcpcd/dist/compat/strlcpy.c U src/external/bsd/dhcpcd/dist/compat/strlcpy.h U src/external/bsd/dhcpcd/dist/compat/strtoi.c U src/external/bsd/dhcpcd/dist/compat/strtoi.h U src/external/bsd/dhcpcd/dist/compat/strtou.c U src/external/bsd/dhcpcd/dist/compat/crypt/hmac.c U src/external/bsd/dhcpcd/dist/compat/crypt/hmac.h U src/external/bsd/dhcpcd/dist/compat/crypt/md5.c U src/external/bsd/dhcpcd/dist/compat/crypt/md5.h U src/external/bsd/dhcpcd/dist/compat/crypt/sha256.c U src/external/bsd/dhcpcd/dist/compat/crypt/sha256.h C src/external/bsd/dhcpcd/dist/src/dhcp.c U src/external/bsd/dhcpcd/dist/src/GNUmakefile U src/external/bsd/dhcpcd/dist/src/Makefile U src/external/bsd/dhcpcd/dist/src/arp.c U src/external/bsd/dhcpcd/dist/src/arp.h U src/external/bsd/dhcpcd/dist/src/auth.c U src/external/bsd/dhcpcd/dist/src/auth.h U src/external/bsd/dhcpcd/dist/src/bpf.c U src/external/bsd/dhcpcd/dist/src/bpf.h U src/external/bsd/dhcpcd/dist/src/common.c U src/external/bsd/dhcpcd/dist/src/common.h U src/external/bsd/dhcpcd/dist/src/control.c U src/external/bsd/dhcpcd/dist/src/control.h U src/external/bsd/dhcpcd/dist/src/defs.h U src/external/bsd/dhcpcd/dist/src/dev.c U src/external/bsd/dhcpcd/dist/src/dev.h U src/external/bsd/dhcpcd/dist/src/dhcp-common.c U src/external/bsd/dhcpcd/dist/src/dhcp-common.h U src/external/bsd/dhcpcd/dist/src/dhcp.h U src/external/bsd/dhcpcd/dist/src/dhcp6.c U src/external/bsd/dhcpcd/dist/src/dhcp6.h U src/external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in U src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in U src/external/bsd/dhcpcd/dist/src/dhcpcd-definitions-small.conf U src/external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf U src/external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in U src/external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in U src/external/bsd/dhcpcd/dist/src/dhcpcd.c U src/external/bsd/dhcpcd/dist/src/dhcpcd.conf U src/external/bsd/dhcpcd/dist/src/genembedc U src/external/bsd/dhcpcd/dist/src/dhcpcd.h U src/external/bsd/dhcpcd/dist/src/duid.c U src/external/bsd/dhcpcd/dist/src/duid.h U src/external/bsd/dhcpcd/dist/src/eloop.c U src/external/bsd/dhcpcd/dist/src/eloop.h U src/external/bsd/dhcpcd/dist/src/if-linux-wext.c U src/external/bsd/dhcpcd/dist/src/genembedh U src/external/bsd/dhcpcd/dist/src/if-bsd.c U src/external/bsd/dhcpcd/dist/src/if-linux.c U src/external/bsd/dhcpcd/dist/src/if-options.c U src/external/bsd/dhcpcd/dist/src/if-options.h U src/external/bsd/dhcpcd/dist/src/if-sun.c U src/external/bsd/dhcpcd/dist/src/if.c U src/external/bsd/dhcpcd/dist/src/if.h U src/external/bsd/dhcpcd/dist/src/ipv4.c U src/external/bsd/dhcpcd/dist/src/ipv4.h U src/external/bsd/dhcpcd/dist/src/ipv4ll.c U src/external/bsd/dhcpcd/dist/src/ipv4ll.h U src/external/bsd/dhcpcd/dist/src/ipv6.c U src/external/bsd/dhcpcd/dist/src/ipv6.h U src/external/bsd/dhcpcd/dist/src/ipv6nd.c U src/external/bsd/dhcpcd/dist/src/ipv6nd.h U src/external/bsd/dhcpcd/dist/src/logerr.c U src/external/bsd/dhcpcd/dist/src/logerr.h U src/external/bsd/dhcpcd/dist/src/route.c U src/external/bsd/dhcpcd/dist/src/route.h U src/external/bsd/dhcpcd/dist/src/sa.c U src/external/bsd/dhcpcd/dist/src/sa.h U src/external/bsd/dhcpcd/dist/src/script.c U src/external/bsd/dhcpcd/dist/src/script.h U src/external/bsd/dhcpcd/dist/src/dev/Makefile U src/external/bsd/dhcpcd/dist/src/dev/udev.c U src/external/bsd/dhcpcd/dist/hooks/15-timezone U src/external/bsd/dhcpcd/dist/hooks/01-test U src/external/bsd/dhcpcd/dist/hooks/02-dump U src/external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.8.in U
CVS commit: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common
Module Name:src Committed By: martin Date: Mon Jun 4 13:12:54 UTC 2018 Modified Files: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common: sanitizer_linux.cc Log Message: Quick hack to fix 32bit big endian platforms: the return value from __syscall() needs to be shifted into the lower 32bits to form a proper pointer. Temporarily steal __SYSCALL_TO_UINTPTR_T from the syscall/__syscall test program, Kamil is working on a proper solution. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 \ src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc diff -u src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc:1.17 src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc:1.18 --- src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc:1.17 Wed May 23 11:14:49 2018 +++ src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc Mon Jun 4 13:12:54 2018 @@ -113,8 +113,16 @@ namespace __sanitizer { uptr internal_mmap(void *addr, uptr length, int prot, int flags, int fd, OFF_T offset) { #if SANITIZER_NETBSD - return internal_syscall64(SYSCALL(mmap), addr, length, prot, flags, fd, - (long)0, offset); + +#if !defined(_LP64) && BYTE_ORDER == _BIG_ENDIAN +#define __SYSCALL_TO_UINTPTR_T(V) ((uintptr_t)((V)>>32)) +#else +#define __SYSCALL_TO_UINTPTR_T(V) ((uintptr_t)(V)) +#endif + + return __SYSCALL_TO_UINTPTR_T( + internal_syscall64(SYSCALL(mmap), addr, length, prot, flags, fd, + (long)0, offset)); #elif SANITIZER_FREEBSD || SANITIZER_LINUX_USES_64BIT_SYSCALLS return internal_syscall(SYSCALL(mmap), (uptr)addr, length, prot, flags, fd, offset, 0);
CVS commit: src/doc
Module Name:src Committed By: roy Date: Mon Jun 4 09:57:19 UTC 2018 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Note import of dhcpcd-7.0.5a To generate a diff of this commit: cvs rdiff -u -r1.1525 -r1.1526 src/doc/3RDPARTY cvs rdiff -u -r1.2391 -r1.2392 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/3RDPARTY diff -u src/doc/3RDPARTY:1.1525 src/doc/3RDPARTY:1.1526 --- src/doc/3RDPARTY:1.1525 Sat Jun 2 09:45:56 2018 +++ src/doc/3RDPARTY Mon Jun 4 09:57:19 2018 @@ -1,4 +1,4 @@ -# $NetBSD: 3RDPARTY,v 1.1525 2018/06/02 09:45:56 roy Exp $ +# $NetBSD: 3RDPARTY,v 1.1526 2018/06/04 09:57:19 roy Exp $ # # This file contains a list of the software that has been integrated into # NetBSD where we are not the primary maintainer. @@ -334,8 +334,8 @@ Notes: Use the dhcp2netbsd script. Package: dhcpcd -Version: 7.0.5 -Current Vers: 7.0.5 +Version: 7.0.5a +Current Vers: 7.0.5a Maintainer: roy Archive Site: ftp://roy.marples.name/pub/dhcpcd/ Home Page: http://roy.marples.name/projects/dhcpcd/ Index: src/doc/CHANGES diff -u src/doc/CHANGES:1.2391 src/doc/CHANGES:1.2392 --- src/doc/CHANGES:1.2391 Sat Jun 2 09:45:56 2018 +++ src/doc/CHANGES Mon Jun 4 09:57:19 2018 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2391 $> +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2392 $> # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -158,4 +158,4 @@ Changes from NetBSD 8.0 to NetBSD 9.0: gpio(4): Overhauled interrupt support. Added GPIO interrupt capability for Broadcom BCM283x SoCs (e.g. Raspberry Pi). [thorpej 20180519] - dhcpcd: Import 7.0.5. [roy 20180602] + dhcpcd: Import 7.0.5a. [roy 20180604]
CVS commit: src/external/bsd/dhcpcd/dist/src
Module Name:src Committed By: roy Date: Mon Jun 4 09:56:16 UTC 2018 Modified Files: src/external/bsd/dhcpcd/dist/src: dhcpcd.c Log Message: Sync To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/bsd/dhcpcd/dist/src/dhcpcd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/dhcpcd/dist/src/dhcpcd.c diff -u src/external/bsd/dhcpcd/dist/src/dhcpcd.c:1.11 src/external/bsd/dhcpcd/dist/src/dhcpcd.c:1.12 --- src/external/bsd/dhcpcd/dist/src/dhcpcd.c:1.11 Sat Jun 2 09:44:27 2018 +++ src/external/bsd/dhcpcd/dist/src/dhcpcd.c Mon Jun 4 09:56:16 2018 @@ -363,14 +363,25 @@ static void dhcpcd_drop(struct interface *ifp, int stop) { +#ifdef DHCP6 dhcp6_drop(ifp, stop ? NULL : "EXPIRE6"); +#endif +#ifdef INET6 ipv6nd_drop(ifp); ipv6_drop(ifp); +#endif +#ifdef IPV4LL ipv4ll_drop(ifp); +#endif +#ifdef DHCP dhcp_drop(ifp, stop ? "STOP" : "EXPIRE"); +#endif #ifdef ARP arp_drop(ifp); #endif +#if !defined(DHCP6) && !defined(DHCP) + UNUSED(stop); +#endif } static void @@ -773,8 +784,10 @@ static void warn_iaid_conflict(struct interface *ifp, uint16_t ia_type, uint8_t *iaid) { struct interface *ifn; +#ifdef INET6 size_t i; struct if_ia *ia; +#endif TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { if (ifn == ifp || !ifn->active) @@ -783,12 +796,14 @@ warn_iaid_conflict(struct interface *ifp memcmp(ifn->options->iaid, iaid, sizeof(ifn->options->iaid)) == 0) break; +#ifdef INET6 for (i = 0; i < ifn->options->ia_len; i++) { ia = >options->ia[i]; if (ia->ia_type == ia_type && memcmp(ia->iaid, iaid, sizeof(ia->iaid)) == 0) break; } +#endif } /* This is only a problem if the interfaces are on the same network. */ @@ -802,7 +817,6 @@ dhcpcd_startinterface(void *arg) { struct interface *ifp = arg; struct if_options *ifo = ifp->options; - size_t i; char buf[DUID_LEN * 3]; int carrier; struct timespec tv; @@ -842,13 +856,17 @@ dhcpcd_startinterface(void *arg) } if (ifo->options & (DHCPCD_DUID | DHCPCD_IPV6)) { +#ifdef INET6 + size_t i; struct if_ia *ia; +#endif /* Report IAIDs */ loginfox("%s: IAID %s", ifp->name, hwaddr_ntoa(ifo->iaid, sizeof(ifo->iaid), buf, sizeof(buf))); warn_iaid_conflict(ifp, 0, ifo->iaid); +#ifdef INET6 for (i = 0; i < ifo->ia_len; i++) { ia = >ia[i]; if (memcmp(ifo->iaid, ia->iaid, sizeof(ifo->iaid))) { @@ -859,6 +877,7 @@ dhcpcd_startinterface(void *arg) warn_iaid_conflict(ifp, ia->ia_type, ia->iaid); } } +#endif } if (ifo->options & DHCPCD_IPV6 && ipv6_start(ifp) == -1) {
CVS import: src/external/bsd/dhcpcd/dist
Module Name:src Committed By: roy Date: Mon Jun 4 09:55:15 UTC 2018 Update of /cvsroot/src/external/bsd/dhcpcd/dist In directory ivanova.netbsd.org:/tmp/cvs-serv358 Log Message: Import dhcpcd-7.0.5a. Only change is to fix builds without INET6. Status: Vendor Tag: roy Release Tags: dhcpcd-7-0-5a U src/external/bsd/dhcpcd/dist/.arcconfig U src/external/bsd/dhcpcd/dist/.gitignore U src/external/bsd/dhcpcd/dist/BUILDING.md U src/external/bsd/dhcpcd/dist/LICENSE U src/external/bsd/dhcpcd/dist/Makefile U src/external/bsd/dhcpcd/dist/Makefile.inc U src/external/bsd/dhcpcd/dist/README.md U src/external/bsd/dhcpcd/dist/config-null.mk U src/external/bsd/dhcpcd/dist/configure U src/external/bsd/dhcpcd/dist/iconfig.mk U src/external/bsd/dhcpcd/dist/compat/_strtoi.h U src/external/bsd/dhcpcd/dist/compat/arc4random.c U src/external/bsd/dhcpcd/dist/compat/arc4random.h U src/external/bsd/dhcpcd/dist/compat/bitops.h U src/external/bsd/dhcpcd/dist/compat/queue.h U src/external/bsd/dhcpcd/dist/compat/arc4random_uniform.c U src/external/bsd/dhcpcd/dist/compat/arc4random_uniform.h U src/external/bsd/dhcpcd/dist/compat/reallocarray.c U src/external/bsd/dhcpcd/dist/compat/dprintf.c U src/external/bsd/dhcpcd/dist/compat/dprintf.h U src/external/bsd/dhcpcd/dist/compat/endian.h U src/external/bsd/dhcpcd/dist/compat/pidfile.c U src/external/bsd/dhcpcd/dist/compat/pidfile.h U src/external/bsd/dhcpcd/dist/compat/reallocarray.h U src/external/bsd/dhcpcd/dist/compat/strlcpy.c U src/external/bsd/dhcpcd/dist/compat/strlcpy.h U src/external/bsd/dhcpcd/dist/compat/strtoi.c U src/external/bsd/dhcpcd/dist/compat/strtoi.h U src/external/bsd/dhcpcd/dist/compat/strtou.c U src/external/bsd/dhcpcd/dist/compat/crypt/hmac.c U src/external/bsd/dhcpcd/dist/compat/crypt/hmac.h U src/external/bsd/dhcpcd/dist/compat/crypt/md5.c U src/external/bsd/dhcpcd/dist/compat/crypt/md5.h U src/external/bsd/dhcpcd/dist/compat/crypt/sha256.c U src/external/bsd/dhcpcd/dist/compat/crypt/sha256.h U src/external/bsd/dhcpcd/dist/src/dhcp.c U src/external/bsd/dhcpcd/dist/src/GNUmakefile U src/external/bsd/dhcpcd/dist/src/Makefile U src/external/bsd/dhcpcd/dist/src/arp.c U src/external/bsd/dhcpcd/dist/src/arp.h U src/external/bsd/dhcpcd/dist/src/auth.c U src/external/bsd/dhcpcd/dist/src/auth.h U src/external/bsd/dhcpcd/dist/src/bpf.c U src/external/bsd/dhcpcd/dist/src/bpf.h U src/external/bsd/dhcpcd/dist/src/common.c U src/external/bsd/dhcpcd/dist/src/common.h U src/external/bsd/dhcpcd/dist/src/control.c U src/external/bsd/dhcpcd/dist/src/control.h U src/external/bsd/dhcpcd/dist/src/defs.h U src/external/bsd/dhcpcd/dist/src/dev.c U src/external/bsd/dhcpcd/dist/src/dev.h U src/external/bsd/dhcpcd/dist/src/dhcp-common.c U src/external/bsd/dhcpcd/dist/src/dhcp-common.h U src/external/bsd/dhcpcd/dist/src/dhcp.h U src/external/bsd/dhcpcd/dist/src/dhcp6.c U src/external/bsd/dhcpcd/dist/src/dhcp6.h U src/external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in U src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in U src/external/bsd/dhcpcd/dist/src/dhcpcd-definitions-small.conf U src/external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf U src/external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in U src/external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in C src/external/bsd/dhcpcd/dist/src/dhcpcd.c U src/external/bsd/dhcpcd/dist/src/dhcpcd.conf U src/external/bsd/dhcpcd/dist/src/genembedc U src/external/bsd/dhcpcd/dist/src/dhcpcd.h U src/external/bsd/dhcpcd/dist/src/duid.c U src/external/bsd/dhcpcd/dist/src/duid.h U src/external/bsd/dhcpcd/dist/src/eloop.c U src/external/bsd/dhcpcd/dist/src/eloop.h U src/external/bsd/dhcpcd/dist/src/if-linux-wext.c U src/external/bsd/dhcpcd/dist/src/genembedh U src/external/bsd/dhcpcd/dist/src/if-bsd.c U src/external/bsd/dhcpcd/dist/src/if-linux.c U src/external/bsd/dhcpcd/dist/src/if-options.c U src/external/bsd/dhcpcd/dist/src/if-options.h U src/external/bsd/dhcpcd/dist/src/if-sun.c U src/external/bsd/dhcpcd/dist/src/if.c U src/external/bsd/dhcpcd/dist/src/if.h U src/external/bsd/dhcpcd/dist/src/ipv4.c U src/external/bsd/dhcpcd/dist/src/ipv4.h U src/external/bsd/dhcpcd/dist/src/ipv4ll.c U src/external/bsd/dhcpcd/dist/src/ipv4ll.h U src/external/bsd/dhcpcd/dist/src/ipv6.c U src/external/bsd/dhcpcd/dist/src/ipv6.h U src/external/bsd/dhcpcd/dist/src/ipv6nd.c U src/external/bsd/dhcpcd/dist/src/ipv6nd.h U src/external/bsd/dhcpcd/dist/src/logerr.c U src/external/bsd/dhcpcd/dist/src/logerr.h U src/external/bsd/dhcpcd/dist/src/route.c U src/external/bsd/dhcpcd/dist/src/route.h U src/external/bsd/dhcpcd/dist/src/sa.c U src/external/bsd/dhcpcd/dist/src/sa.h U src/external/bsd/dhcpcd/dist/src/script.c U src/external/bsd/dhcpcd/dist/src/script.h U src/external/bsd/dhcpcd/dist/src/dev/Makefile U src/external/bsd/dhcpcd/dist/src/dev/udev.c U src/external/bsd/dhcpcd/dist/hooks/15-timezone U src/external/bsd/dhcpcd/dist/hooks/01-test U src/external/bsd/dhcpcd/dist/hooks/02-dump U src/external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.8.in U
CVS commit: src/tests/lib/libm
Module Name:src Committed By: maya Date: Mon Jun 4 09:13:47 UTC 2018 Modified Files: src/tests/lib/libm: Makefile Log Message: Blindly add __TEST_FENV in the hope of fixing the vax build. (So we can include fenv.h, and then not use it - we ifdef vax out for OS-portability reasons.) To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/tests/lib/libm/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libm/Makefile diff -u src/tests/lib/libm/Makefile:1.42 src/tests/lib/libm/Makefile:1.43 --- src/tests/lib/libm/Makefile:1.42 Tue Dec 20 06:13:19 2016 +++ src/tests/lib/libm/Makefile Mon Jun 4 09:13:47 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2016/12/20 06:13:19 maya Exp $ +# $NetBSD: Makefile,v 1.43 2018/06/04 09:13:47 maya Exp $ .include @@ -11,6 +11,7 @@ COPTS+= -mfloat-ieee -mieee-with-inexact CPPFLAGS.t_fenv.c+= -D__TEST_FENV CPPFLAGS.t_fe_round.c+= -D__TEST_FENV CPPFLAGS.t_ilogb.c+= -D__TEST_FENV +CPPFLAGS.t_scalbn.c+= -D__TEST_FENV CPPFLAGS.t_fmod.c+= -I${.CURDIR}/../libc/gen TESTS_C+= t_acos