CVS commit: src/sys/ufs/ffs
Module Name:src Committed By: christos Date: Sun Oct 30 15:01:46 UTC 2016 Modified Files: src/sys/ufs/ffs: ffs_alloc.c Log Message: Tidy up panic messages, no functional change. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154 src/sys/ufs/ffs/ffs_alloc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/etc/rc.d
Module Name:src Committed By: riastradh Date: Sun Oct 30 15:47:06 UTC 2016 Modified Files: src/etc/rc.d: postfix Log Message: Handle variable expansion and comma/space separators in postconf. >From Timo Buhrmester: https://mail-index.netbsd.org/tech-userlevel/2016/08/20/msg010301.html To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/etc/rc.d/postfix Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: kamil Date: Sun Oct 30 16:17:17 UTC 2016 Modified Files: src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi src/tests/lib/libpthread: Makefile h_common.h t_mutex.c Added Files: src/tests/lib/libpthread: t_timedmutex.c Log Message: Add new test t_timedmutex This test is a clone on t_mutex with additional two tests for timed-mutex specific block. All simple-mutex (not with the timed property according to the C11 wording) specific tests are covered by pthread_mutex_timedlock(3) with parameter ts_lengthy of sufficiently large tv_sec value (right now UINT16_MAX). If, a test will hang, it won't wait UINT16_MAX seconds, but will be terminated within the default timeout for ATF tests (right now 300 [sec] in my NetBSD/amd64 setup). This test was inspired by a classic selflock test failure of pthread_mutex_timedlock(3) of the following form: #include #include #include #include #include int main(int argc, char **argv) { pthread_mutex_t mtx; struct timespec ts; ts.tv_sec = 0; ts.tv_nsec = 1000; printf("ts{.tv_sec = %d, .tv_nsec=%ld}\n", ts.tv_sec, ts.tv_nsec); fflush(stdout); printf("mtx_init\n"); assert(pthread_mutex_init(&mtx, NULL) == 0); printf("mtx_lock\n"); assert(pthread_mutex_lock(&mtx) == 0); printf("mtx_timedlock\n"); assert(pthread_mutex_timedlock(&mtx, &ts) == ETIMEDOUT); printf("mtx_unlock\n"); assert(pthread_mutex_unlock(&mtx) == 0); printf("mtx_destroy\n"); assert(pthread_mutex_destroy(&mtx) == 0); return 0; } Current NetBSD implementation wrongly hangs on this test. The issue was detected during development of the C11 portable threads. My local tests in chroot presents that the are further issues: t_timedmutex (21/25): 10 test cases mutex1: [0.001142s] Failed: /usr/src/tests/lib/libpthread/t_timedmutex.c:75: *param != 20 mutex2: [0.261499s] Passed. mutex3: [0.261496s] Passed. mutex4: [0.001204s] Failed: /usr/src/tests/lib/libpthread/t_timedmutex.c:265: pthread_mutex_timedlock(&mutex, &ts_lengthy): Connection timed out mutex5: [0.001235s] Failed: /usr/src/tests/lib/libpthread/t_timedmutex.c:337: pthread_mutex_timedlock(&mutex5, &ts_lengthy): Connection timed out mutex6: [21.218497s] Failed: /usr/src/tests/lib/libpthread/t_timedmutex.c:512: start != 1 mutexattr1: [0.001328s] Passed. mutexattr2: [0.001175s] Passed. timedmutex1: [301.119397s] Failed: Test case timed out after 300 seconds timedmutex2: [301.123081s] Failed: Test case timed out after 300 seconds [623.990659s] I'm also receiveing the same failure in the mutex6 test in t_mutex, so there might be a false positives due to local chroot(8) issues. Commit approved by . To generate a diff of this commit: cvs rdiff -u -r1.167 -r1.168 src/distrib/sets/lists/debug/mi cvs rdiff -u -r1.688 -r1.689 src/distrib/sets/lists/tests/mi cvs rdiff -u -r1.11 -r1.12 src/tests/lib/libpthread/Makefile cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libpthread/h_common.h cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libpthread/t_mutex.c cvs rdiff -u -r0 -r1.1 src/tests/lib/libpthread/t_timedmutex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/cmp
Module Name:src Committed By: christos Date: Sun Oct 30 19:13:37 UTC 2016 Modified Files: src/usr.bin/cmp: cmp.1 cmp.c Log Message: add a flag to avoid mmap... To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/cmp/cmp.1 cvs rdiff -u -r1.18 -r1.19 src/usr.bin/cmp/cmp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/cmp
Module Name:src Committed By: christos Date: Sun Oct 30 19:33:49 UTC 2016 Modified Files: src/usr.bin/cmp: cmp.1 cmp.c Log Message: fix usage (thanks wiz) To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/cmp/cmp.1 cvs rdiff -u -r1.19 -r1.20 src/usr.bin/cmp/cmp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libpthread
Module Name:src Committed By: kamil Date: Sun Oct 30 23:26:33 UTC 2016 Modified Files: src/lib/libpthread: pthread.h pthread_mutex.3 Log Message: POSIX harder the pthread_mutex_timedlock(3) prototype Add missing __restrict keyword to the first pointer parameter. It was already used for the second argument, should not be a functional change and generated code should be the same. This new form is now aligned with POSIX. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/lib/libpthread/pthread.h cvs rdiff -u -r1.8 -r1.9 src/lib/libpthread/pthread_mutex.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/ic
Module Name:src Committed By: mlelstv Date: Sun Oct 30 23:35:10 UTC 2016 Modified Files: src/sys/dev/ic: aic7xxx_cam.h Log Message: CAM status values are used as xs_status and must be mapped to XS values. Add the missing mapping for CAM_CMD_TIMEOUT. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ic/aic7xxx_cam.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/ic
Module Name:src Committed By: mlelstv Date: Sun Oct 30 23:56:06 UTC 2016 Modified Files: src/sys/dev/ic: aic7xxx_osm.c Log Message: Error recovery stops normal queue processing but didn't resume it when the recovery succeeded. Add the missing calls to scsipi_channel_thaw similar to kern/41867. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/dev/ic/aic7xxx_osm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libexecinfo
Module Name:src Committed By: pgoyette Date: Mon Oct 31 01:31:25 UTC 2016 Modified Files: src/lib/libexecinfo: backtrace.3 Log Message: Typo To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/libexecinfo/backtrace.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: knakahara Date: Mon Oct 31 02:44:54 UTC 2016 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Fix locking against myself at wm_turn{on,off} when NET_MPSAFE is defined. Pointed out by ozaki-r@n.o, thanks. To generate a diff of this commit: cvs rdiff -u -r1.435 -r1.436 src/sys/dev/pci/if_wm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet6
Module Name:src Committed By: ozaki-r Date: Mon Oct 31 02:50:31 UTC 2016 Modified Files: src/sys/netinet6: in6_src.c Log Message: Remove unnecessary NULL checks To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/sys/netinet6/in6_src.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
Module Name:src Committed By: dholland Date: Mon Oct 31 03:18:41 UTC 2016 Modified Files: src/sys/dev/usb: usbdevs Log Message: Add extra ucom/u3g id for Huawei E353; from Ben Gergely in PR 49302. To generate a diff of this commit: cvs rdiff -u -r1.720 -r1.721 src/sys/dev/usb/usbdevs Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
Module Name:src Committed By: dholland Date: Mon Oct 31 03:19:23 UTC 2016 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: Regen. To generate a diff of this commit: cvs rdiff -u -r1.712 -r1.713 src/sys/dev/usb/usbdevs.h cvs rdiff -u -r1.713 -r1.714 src/sys/dev/usb/usbdevs_data.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
Module Name:src Committed By: nonaka Date: Mon Oct 31 04:15:23 UTC 2016 Modified Files: src/sys/dev/usb: usbdevs Log Message: Remove duplicated HUAWEI E353 entry. To generate a diff of this commit: cvs rdiff -u -r1.721 -r1.722 src/sys/dev/usb/usbdevs Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet6
Module Name:src Committed By: ozaki-r Date: Mon Oct 31 04:16:25 UTC 2016 Modified Files: src/sys/netinet6: icmp6.c in6_pcb.c in6_src.c ip6_var.h nd6_nbr.c raw_ip6.c udp6_output.c Log Message: Fix race condition of in6_selectsrc in6_selectsrc returned a pointer to in6_addr that wan't guaranteed to be safe by pserialize (or psref), which was racy. Let callers pass a pointer to in6_addr and in6_selectsrc copy a result to it inside pserialize critical sections. To generate a diff of this commit: cvs rdiff -u -r1.199 -r1.200 src/sys/netinet6/icmp6.c cvs rdiff -u -r1.150 -r1.151 src/sys/netinet6/in6_pcb.c cvs rdiff -u -r1.71 -r1.72 src/sys/netinet6/in6_src.c cvs rdiff -u -r1.68 -r1.69 src/sys/netinet6/ip6_var.h cvs rdiff -u -r1.128 -r1.129 src/sys/netinet6/nd6_nbr.c cvs rdiff -u -r1.151 -r1.152 src/sys/netinet6/raw_ip6.c cvs rdiff -u -r1.53 -r1.54 src/sys/netinet6/udp6_output.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
Module Name:src Committed By: nonaka Date: Mon Oct 31 04:16:29 UTC 2016 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.713 -r1.714 src/sys/dev/usb/usbdevs.h cvs rdiff -u -r1.714 -r1.715 src/sys/dev/usb/usbdevs_data.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet6
Module Name:src Committed By: ozaki-r Date: Mon Oct 31 04:57:11 UTC 2016 Modified Files: src/sys/netinet6: in6_src.c Log Message: Pull best address selection code out of in6_selectsrc No functional change. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/netinet6/in6_src.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libc/gen
Module Name:src Committed By: dholland Date: Mon Oct 31 05:08:53 UTC 2016 Modified Files: src/tests/lib/libc/gen: t_fnmatch.c Log Message: Add another case related to the ones from PR 49278: [A-\\]. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/gen/t_fnmatch.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: msaitoh Date: Mon Oct 31 05:10:45 UTC 2016 Modified Files: src/sys/dev/pci: pci_subr.c pcireg.h Log Message: Decode Resizable BAR. To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153 src/sys/dev/pci/pci_subr.c cvs rdiff -u -r1.116 -r1.117 src/sys/dev/pci/pcireg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.