mono: partial progress and possible issue with TLS/pthread_getspecific(3)

2018-02-24 Thread Thomas Frohwein
In December, I found the mono port in a state where it only built with the (deprecated) mcs compiler, and it would catch a SIGABRT predominantly when exiting applications (including any call to the newer csc/roslyn compiler). I've since made what seems like partial progress with mono's

shutdown: simplify countdown loop()

2018-02-24 Thread Scott Cheloha
Hey, If we treat tlist[] like an array instead of a list, we can eliminate a lot of special cases and duplicate calls in shutdown(8)'s countdown loop(). We add a spare index at the beginning of tlist[] to accomodate offsets greater than 10 hours and insert our offset into tlist[] in an initial

iwn(4): fix scan loop

2018-02-24 Thread Stefan Sperling
I made a mistake in my last commit to iwn and broke the scan loop. The problem happens if we don't find an AP to connect to after one scan iteration. The stack then performs a SCAN -> SCAN transition to kick off another scan, but iwn(4) code in -current always treats this transition as a no-op.