Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Cy Schubert
In message <20160625223338.ga22...@stack.nl>, Jilles Tjoelker writes: > On Sat, Jun 25, 2016 at 08:29:56PM +0300, Konstantin Belousov wrote: > > I already asked re for approval of the reversal and got it. But I am still > > hesitating doing the revert vs. returning EDEADLK for error-checking > > m

svn commit: r302206 - in head: usr.bin/lastcomm/tests usr.sbin/sa/tests

2016-06-25 Thread Alan Somers
Author: asomers Date: Sun Jun 26 00:53:31 2016 New Revision: 302206 URL: https://svnweb.freebsd.org/changeset/base/302206 Log: Skip lastcomm and sa tests on unsupported architectures usr.bin/lastcom/tests/Makefile usr.sbin/sa/tests/Makefile Set allow_architectures appropriately.

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Jilles Tjoelker
On Sat, Jun 25, 2016 at 08:29:56PM +0300, Konstantin Belousov wrote: > I already asked re for approval of the reversal and got it. But I am still > hesitating doing the revert vs. returning EDEADLK for error-checking > mutexes. > My initial mistake was reading the statement about PTHREAD_MUTEX_ER

svn commit: r302204 - head/sys/conf

2016-06-25 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jun 25 22:24:16 2016 New Revision: 302204 URL: https://svnweb.freebsd.org/changeset/base/302204 Log: Unbreak building of LINT kernels after r302163. Approved by: re (gjb) Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES ==

svn commit: r302202 - head/sys/net80211

2016-06-25 Thread Adrian Chadd
Author: adrian Date: Sat Jun 25 20:31:20 2016 New Revision: 302202 URL: https://svnweb.freebsd.org/changeset/base/302202 Log: [net80211] re-revert the ibss "is this local to the bss" patch. avos@ pointed out to me that this broke IBSS merging because the rest of the input path no longer w

svn commit: r302201 - head/lib/libthr/thread

2016-06-25 Thread Konstantin Belousov
Author: kib Date: Sat Jun 25 20:20:24 2016 New Revision: 302201 URL: https://svnweb.freebsd.org/changeset/base/302201 Log: Revert r302194, there are issues with some applications after changing the return value, in particular console-kit-daemon. Reported by: Ivan Klymenko Sponsored by

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Daniel Eischen
On Sat, 25 Jun 2016, Konstantin Belousov wrote: On Sat, Jun 25, 2016 at 07:14:40PM +0200, Jilles Tjoelker wrote: On Sat, Jun 25, 2016 at 11:30:40AM +, Konstantin Belousov wrote: Author: kib Date: Sat Jun 25 11:30:40 2016 New Revision: 302194 URL: https://svnweb.freebsd.org/changeset/base/3

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Ivan Klymenko
On Sat, 25 Jun 2016 21:06:57 +0300 Konstantin Belousov wrote: > On Sat, Jun 25, 2016 at 09:05:43PM +0300, Konstantin Belousov wrote: > > On Sat, Jun 25, 2016 at 08:43:17PM +0300, Ivan Klymenko wrote: > > > ./thr_mutex_test > > > thr_mutex_test: mutex_trylock 2: No error: 0 > > > > Ok, there

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Konstantin Belousov
On Sat, Jun 25, 2016 at 09:05:43PM +0300, Konstantin Belousov wrote: > On Sat, Jun 25, 2016 at 08:43:17PM +0300, Ivan Klymenko wrote: > > ./thr_mutex_test > > thr_mutex_test: mutex_trylock 2: No error: 0 > > Ok, there is a bug in my test, it must use errc(3) and not err(3). Please > retest wth th

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Konstantin Belousov
On Sat, Jun 25, 2016 at 08:43:17PM +0300, Ivan Klymenko wrote: > ./thr_mutex_test > thr_mutex_test: mutex_trylock 2: No error: 0 Ok, there is a bug in my test, it must use errc(3) and not err(3). Please retest wth the updated code below. But I am sure that you would see EDEADLK (Resource deadloc

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Ivan Klymenko
On Sat, 25 Jun 2016 19:16:15 +0300 Konstantin Belousov wrote: > On Sat, Jun 25, 2016 at 07:03:46PM +0300, Ivan Klymenko wrote: > > On Sat, 25 Jun 2016 18:20:06 +0300 > > Konstantin Belousov wrote: > > > diff --git a/lib/libthr/thread/thr_mutex.c > > > b/lib/libthr/thread/thr_mutex.c index 2ad0

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Konstantin Belousov
On Sat, Jun 25, 2016 at 07:14:40PM +0200, Jilles Tjoelker wrote: > On Sat, Jun 25, 2016 at 11:30:40AM +, Konstantin Belousov wrote: > > Author: kib > > Date: Sat Jun 25 11:30:40 2016 > > New Revision: 302194 > > URL: https://svnweb.freebsd.org/changeset/base/302194 > > > Log: > > For pthread

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Jilles Tjoelker
On Sat, Jun 25, 2016 at 11:30:40AM +, Konstantin Belousov wrote: > Author: kib > Date: Sat Jun 25 11:30:40 2016 > New Revision: 302194 > URL: https://svnweb.freebsd.org/changeset/base/302194 > Log: > For pthread_mutex_trylock() call on owned error-check or non-portable > adaptive mutex, re

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Daniel Eischen
On Sat, 25 Jun 2016, Konstantin Belousov wrote: On Sat, Jun 25, 2016 at 07:03:46PM +0300, Ivan Klymenko wrote: On Sat, 25 Jun 2016 18:20:06 +0300 Konstantin Belousov wrote: diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c index 2ad05ca..1ae75fb 100644 --- a/lib/libth

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Konstantin Belousov
On Sat, Jun 25, 2016 at 07:03:46PM +0300, Ivan Klymenko wrote: > On Sat, 25 Jun 2016 18:20:06 +0300 > Konstantin Belousov wrote: > > diff --git a/lib/libthr/thread/thr_mutex.c > > b/lib/libthr/thread/thr_mutex.c index 2ad05ca..1ae75fb 100644 > > --- a/lib/libthr/thread/thr_mutex.c > > +++ b/lib/li

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Ivan Klymenko
On Sat, 25 Jun 2016 18:20:06 +0300 Konstantin Belousov wrote: > On Sat, Jun 25, 2016 at 05:55:03PM +0300, Ivan Klymenko wrote: > > On Sat, 25 Jun 2016 17:29:15 +0300 > > Konstantin Belousov wrote: > > > > > On Sat, Jun 25, 2016 at 05:18:00PM +0300, Ivan Klymenko wrote: > > > > On Sat, 25 Ju

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Konstantin Belousov
On Sat, Jun 25, 2016 at 05:55:03PM +0300, Ivan Klymenko wrote: > On Sat, 25 Jun 2016 17:29:15 +0300 > Konstantin Belousov wrote: > > > On Sat, Jun 25, 2016 at 05:18:00PM +0300, Ivan Klymenko wrote: > > > On Sat, 25 Jun 2016 17:05:29 +0300 > > > Konstantin Belousov wrote: > > > > > > > On Sat,

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Ivan Klymenko
On Sat, 25 Jun 2016 17:29:15 +0300 Konstantin Belousov wrote: > On Sat, Jun 25, 2016 at 05:18:00PM +0300, Ivan Klymenko wrote: > > On Sat, 25 Jun 2016 17:05:29 +0300 > > Konstantin Belousov wrote: > > > > > On Sat, Jun 25, 2016 at 05:04:06PM +0300, Ivan Klymenko wrote: > > > > On Sat, 25 Ju

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Konstantin Belousov
On Sat, Jun 25, 2016 at 05:18:00PM +0300, Ivan Klymenko wrote: > On Sat, 25 Jun 2016 17:05:29 +0300 > Konstantin Belousov wrote: > > > On Sat, Jun 25, 2016 at 05:04:06PM +0300, Ivan Klymenko wrote: > > > On Sat, 25 Jun 2016 16:55:09 +0300 > > > Konstantin Belousov wrote: > > > > > > > On Sat,

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Ivan Klymenko
On Sat, 25 Jun 2016 17:05:29 +0300 Konstantin Belousov wrote: > On Sat, Jun 25, 2016 at 05:04:06PM +0300, Ivan Klymenko wrote: > > On Sat, 25 Jun 2016 16:55:09 +0300 > > Konstantin Belousov wrote: > > > > > On Sat, Jun 25, 2016 at 04:44:03PM +0300, Ivan Klymenko wrote: > > > > On Sat, 25 Ju

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Konstantin Belousov
On Sat, Jun 25, 2016 at 05:04:06PM +0300, Ivan Klymenko wrote: > On Sat, 25 Jun 2016 16:55:09 +0300 > Konstantin Belousov wrote: > > > On Sat, Jun 25, 2016 at 04:44:03PM +0300, Ivan Klymenko wrote: > > > On Sat, 25 Jun 2016 11:30:40 + (UTC) > > > Konstantin Belousov wrote: > > > > > > > A

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Ivan Klymenko
On Sat, 25 Jun 2016 16:55:09 +0300 Konstantin Belousov wrote: > On Sat, Jun 25, 2016 at 04:44:03PM +0300, Ivan Klymenko wrote: > > On Sat, 25 Jun 2016 11:30:40 + (UTC) > > Konstantin Belousov wrote: > > > > > Author: kib > > > Date: Sat Jun 25 11:30:40 2016 > > > New Revision: 302194 > >

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Konstantin Belousov
On Sat, Jun 25, 2016 at 04:44:03PM +0300, Ivan Klymenko wrote: > On Sat, 25 Jun 2016 11:30:40 + (UTC) > Konstantin Belousov wrote: > > > Author: kib > > Date: Sat Jun 25 11:30:40 2016 > > New Revision: 302194 > > URL: https://svnweb.freebsd.org/changeset/base/302194 > > > > Log: > > For pt

Re: svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Ivan Klymenko
On Sat, 25 Jun 2016 11:30:40 + (UTC) Konstantin Belousov wrote: > Author: kib > Date: Sat Jun 25 11:30:40 2016 > New Revision: 302194 > URL: https://svnweb.freebsd.org/changeset/base/302194 > > Log: > For pthread_mutex_trylock() call on owned error-check or > non-portable adaptive mutex, r

svn commit: r302198 - head/etc

2016-06-25 Thread Baptiste Daroussin
Author: bapt Date: Sat Jun 25 12:54:27 2016 New Revision: 302198 URL: https://svnweb.freebsd.org/changeset/base/302198 Log: Remove reference to mroute6d in /etc/netstart. mroute6d has been removed in r298512. PR: 209405 Submitted by: trond.endres...@ximalas.info Approved

svn commit: r302197 - head/usr.bin/sockstat

2016-06-25 Thread Michael Tuexen
Author: tuexen Date: Sat Jun 25 12:46:18 2016 New Revision: 302197 URL: https://svnweb.freebsd.org/changeset/base/302197 Log: This patch fixes two bugs: * sctp46, tcp46, and udp46 sockets are displayed as such and not as sctp4 6, tcp4 6, udp4 6. This bug was introduced in http://svnweb

svn commit: r302196 - head/sys/fs/nfsclient

2016-06-25 Thread Konstantin Belousov
Author: kib Date: Sat Jun 25 11:34:06 2016 New Revision: 302196 URL: https://svnweb.freebsd.org/changeset/base/302196 Log: Since VOP_INACTIVE() is not guaranteed to be called, all cleanups executed by inactive methods, must be repeated on reclaim. In particular, unlink and free sillyrenamed

svn commit: r302195 - in head/sys: kern sys

2016-06-25 Thread Konstantin Belousov
Author: kib Date: Sat Jun 25 11:31:25 2016 New Revision: 302195 URL: https://svnweb.freebsd.org/changeset/base/302195 Log: Do not clear robust lists pointers on fork. The forked child thread lists must be functional. Reported by: Daniel Engberg , Guy Yur Tested by:Guy Yur

svn commit: r302194 - head/lib/libthr/thread

2016-06-25 Thread Konstantin Belousov
Author: kib Date: Sat Jun 25 11:30:40 2016 New Revision: 302194 URL: https://svnweb.freebsd.org/changeset/base/302194 Log: For pthread_mutex_trylock() call on owned error-check or non-portable adaptive mutex, return EDEADLK as required by POSIX. The pthread_mutex_lock() is already compliant

svn commit: r302193 - stable/10/lib/libc/stdlib

2016-06-25 Thread Ed Schouten
Author: ed Date: Sat Jun 25 10:08:04 2016 New Revision: 302193 URL: https://svnweb.freebsd.org/changeset/base/302193 Log: MFC r300775: Let l64a() properly null terminate its result. Though the buffer used by l64a() is initialized with null bytes, repetetive calls may end up hav

svn commit: r302192 - stable/10/sys/nlm

2016-06-25 Thread Konstantin Belousov
Author: kib Date: Sat Jun 25 09:32:35 2016 New Revision: 302192 URL: https://svnweb.freebsd.org/changeset/base/302192 Log: MFC r302013: After the vnode unlock, mount point might be destroyed immediately, dropping the reference on mnt_cred. Prevent this by referencing the temporal credentia