The doubt about "link-layer header type" for loopback packet

2017-11-19 Thread Nan Xiao
Hi tech@, Now, when I use tcpdump file to capture loopback packets on OpenBSD, the "link-layer header type" in global header of pcap file is 0x0C, means "raw IP" packet. I download the file in Windows, and the Wireshark on Windows can't analyze it , and just shows " Raw packet data". After

armv7/sxie: gate def for emac

2017-11-19 Thread Artturi Alm
Hi, i'm about to need this, thanks :) -Artturi --- a/sys/dev/fdt/sxiccmu_clocks.h +++ b/sys/dev/fdt/sxiccmu_clocks.h @@ -18,6 +18,7 @@ #define A10_CLK_AHB_MMC1 35 #define A10_CLK_AHB_MMC2 36 #define A10_CLK_AHB_MMC3 37 +#define A10_CLK_AHB_EMAC 42 #define

Re: faster printf

2017-11-19 Thread Theo Buehler
Since I am not aware of any further objections and most responses seemed positive, I think it's time to move forward. For your convenience, I attached the diff again below. ok? Index: lib/libc/stdio/vfprintf.c === RCS file:

Re: Implement __cxa_thread_atexit

2017-11-19 Thread Joerg Sonnenberger
On Sun, Nov 19, 2017 at 11:05:31PM +0100, Joerg Sonnenberger wrote: > On Sun, Nov 19, 2017 at 10:04:45PM +0100, Mark Kettenis wrote: > > Here is an update diff that implements __cxa_thread_atexit which is > > emitted by clang (and modern gcc) to implement certain aspects of > > C++11 thread_local.

Re: Implement __cxa_thread_atexit

2017-11-19 Thread Joerg Sonnenberger
On Sun, Nov 19, 2017 at 10:04:45PM +0100, Mark Kettenis wrote: > Here is an update diff that implements __cxa_thread_atexit which is > emitted by clang (and modern gcc) to implement certain aspects of > C++11 thread_local. Note that without providing __cxa_thread_atexit, gcc will not detect it

Implement __cxa_thread_atexit

2017-11-19 Thread Mark Kettenis
Here is an update diff that implements __cxa_thread_atexit which is emitted by clang (and modern gcc) to implement certain aspects of C++11 thread_local. Compared to the previous function this now also prevents unloading of shared libraries that call __cxa_thread_atexit. As before uou'll need to