Re: partial xlocale(3) port from FreeBSD

2013-10-19 Thread Philip Guenther
On Tue, Oct 15, 2013 at 6:40 AM, Martin Pelikan wrote: > Second part (include/ headers) follows. Is this specified anywhere so that we can evaluate our compliance? Philip Guenther

Re: partial xlocale(3) port from FreeBSD

2013-10-19 Thread Philip Guenther
On Tue, 15 Oct 2013, Martin Pelikan wrote: > my laptop now has libcxx working (most of the tests pass, but I haven't > checked what is missing from the C++ runtime). The steps required are: > > - port xlocale(3) from FreeBSD -- this is what this patch does Interesting: this goes beyond POSIX.200

Re: partial xlocale(3) port from FreeBSD

2013-10-19 Thread Philip Guenther
On Tue, 15 Oct 2013, Martin Pelikan wrote: > Apologies, I left one bit out. Here it is. ... > --- locale.h 3 Jul 2011 18:51:01 - 1.8 > +++ locale.h 15 Oct 2013 19:21:31 - > @@ -54,6 +54,12 @@ struct lconv { > charn_sep_by_space; > charp_sign_posn; > char

Re: in[6]_proto_cksum_out: ICMP checksum fix

2013-10-19 Thread Lawrence Teo
On Sat, Oct 19, 2013 at 04:43:07PM +0200, Alexander Bluhm wrote: > On Fri, Oct 18, 2013 at 03:27:09PM -0400, Lawrence Teo wrote: > > Back in August I sent a diff to fix ICMP checksum calculation in > > in_proto_cksum_out() and in_delayed_cksum() in cases where the ICMP > > checksum field is not in

Re: long long time_t for /bin/date

2013-10-19 Thread Philip Guenther
On Sat, Oct 19, 2013 at 7:34 PM, J Drivdal wrote: > /bin/date -r stops at 2038 with i386. > File: src/bin/date/date.c Thanks. Committed Philip Guenther

long long time_t for /bin/date

2013-10-19 Thread J Drivdal
/bin/date -r stops at 2038 with i386. File: src/bin/date/date.c --- date.c Sun Oct 20 09:05:44 2013 +++ date.c Sun Oct 20 09:09:10 2013 @@ -80,7 +80,7 @@ main(int argc, char *argv[]) break; case 'r': /* user specified seconds */

Re: Log when ntpd invoked with -s

2013-10-19 Thread Theo de Raadt
>Some of us were discussing on IRC that ntpd (and other privsep daemons) >do not maintain their arguments in setproctitle, making invocations of >e.g. ntpd -s harder to verify. > >This makes ntpd log that it was started with -s. It looks like it already does that: log_info("set local cl

Log when ntpd invoked with -s

2013-10-19 Thread Alex Holst
Some of us were discussing on IRC that ntpd (and other privsep daemons) do not maintain their arguments in setproctitle, making invocations of e.g. ntpd -s harder to verify. This makes ntpd log that it was started with -s. Index: ntpd.c ==

Re: in[6]_proto_cksum_out: ICMP checksum fix

2013-10-19 Thread Alexander Bluhm
On Fri, Oct 18, 2013 at 03:27:09PM -0400, Lawrence Teo wrote: > Back in August I sent a diff to fix ICMP checksum calculation in > in_proto_cksum_out() and in_delayed_cksum() in cases where the ICMP > checksum field is not in the first mbuf of an mbuf chain (original post > at http://marc.info/?l=o

Re: defer routing table updates on link state changes (again)

2013-10-19 Thread Claudio Jeker
On Sat, Oct 19, 2013 at 01:26:39PM +0200, Mike Belopuhov wrote: > hi, > > since mpi's if_index diff is now in, this should probably > go in as well. it has received some testing in the meantime. > > original description: > > in order to make our life a bit easier and prevent rogue > accesses to

unlimited HFSC v2: [part 2]: the actual work

2013-10-19 Thread Martin Pelikan
Hi. As promised. Feel free to comm{en,i}t. :-) Note that I've changed 'ifq->ifq_hfsc' to '&ifq->ifq_hfsc_data;' a lot of times; this is because some of the code is in the hot path and the reference is computed at compile time and not loaded from that useless pointer field (which will be gone afte

Re: Update the sdmmmc stack to take care of the SMC_CAPS_SINGLE_ONLY capability

2013-10-19 Thread Raphael Graf
On Fri, October 18, 2013 9:54 am, Sylvestre Gallon wrote: > Hi tech@ > > Here is a diff to allow the sdmmc SMC_CAPS_SINGLE_ONLY caps to do > something. The bits I take are from NetBSD and it works well with > ommmc(4) on my Beagle Bone Black. > > This capability force the sdmmc stack to only issue

defer routing table updates on link state changes (again)

2013-10-19 Thread Mike Belopuhov
hi, since mpi's if_index diff is now in, this should probably go in as well. it has received some testing in the meantime. original description: in order to make our life a bit easier and prevent rogue accesses to the routing table from the hardware interrupt context violating all kinds of spl