Re: acpiec: handle burst mode failure

2016-07-08 Thread Philip Guenther
On Fri, Jul 8, 2016 at 4:51 PM, joshua stein wrote: > If the EC fails to go into burst mode for whatever reason, the Burst > Acknowledge byte will not be there to read, which means the status > won't have EC_STAT_OBF, which means acpiec_wait will spin forever, > hanging the machine. > > This at le

Re: fdt/ofw phandle lookup functions

2016-07-08 Thread Jonathan Gray
On Fri, Jul 08, 2016 at 10:11:49PM +0200, Patrick Wildt wrote: > On Fri, Jul 08, 2016 at 09:56:46PM +0200, Mark Kettenis wrote: > > FDTs use phandles as a way to have pointers to nodes in the tree. For > > example, nodes may have an "interrupt-parent" property that contains a > > phandle that poin

Re: Add libtls functionality for OCSP, and OCSP stapling support

2016-07-08 Thread Bob Beck
One thing I am considering here (and for y'all to know, this is a major API addition and won't go in until after the soon upcoming openbsd release cycle happens). is that the way we have done this in the past with libtls is to just - do the thing in the handshake and keep the data hidden in the (pr

acpiec: handle burst mode failure

2016-07-08 Thread joshua stein
If the EC fails to go into burst mode for whatever reason, the Burst Acknowledge byte will not be there to read, which means the status won't have EC_STAT_OBF, which means acpiec_wait will spin forever, hanging the machine. This at least gets us moving again, ignoring the failure to enter burst mo

Re: path mtu discovery dynamic route

2016-07-08 Thread Alexander Bluhm
On Tue, Jun 28, 2016 at 08:30:16AM +0200, Martin Pieuchot wrote: > With this diff if your next hop becomes invalid after being cached you'll > also need two ICMP6_PACKET_TOO_BIG to restore the MTU, is this wanted? No, a single ICMP6_PACKET_TOO_BIG packet is enough. I have written a test that chec

Re: Add libtls functionality for OCSP, and OCSP stapling support

2016-07-08 Thread Marko Kreen
On Wed, Jul 06, 2016 at 08:30:23PM +0900, kinichiro inoguchi wrote: > Hi, I have 2 questions about this implementation. > > 1) Can the OCSP client put multiple certificates to check in the request ? >like this. > > $ openssl ocsp

Re: fdt/ofw phandle lookup functions

2016-07-08 Thread Patrick Wildt
On Fri, Jul 08, 2016 at 09:56:46PM +0200, Mark Kettenis wrote: > FDTs use phandles as a way to have pointers to nodes in the tree. For > example, nodes may have an "interrupt-parent" property that contains a > phandle that points to the node that defines the interrupt controller > for the interrup

fdt/ofw phandle lookup functions

2016-07-08 Thread Mark Kettenis
FDTs use phandles as a way to have pointers to nodes in the tree. For example, nodes may have an "interrupt-parent" property that contains a phandle that points to the node that defines the interrupt controller for the interrupts of the device that corresponds to the node. This phandle is a simpl

Re: ypbind: convert from select to poll

2016-07-08 Thread Todd C. Miller
On Mon, 04 Jul 2016 12:43:12 +0200, Jeremie Courreges-Anglas wrote: > This was initially prompted by a diff to replace calloc with > reallocarray. As noted by guenther, there is a problem with the > comparisons between width, rpcsock and pingsock; this, plus the fd_set > allocation inconvenience

Re: Scheduler with a single runqueue

2016-07-08 Thread Matej Nanut
On 6 July 2016 at 21:14, Martin Pieuchot wrote: > By using a single runqueue I prioritise latency over throughput. That > means your performance might degrade, but at least I can watch my HD > video while doing a "make -j4". I've been running your patch since you've posted it and haven't had any

Re: less(1): pass errret to setupterm(3)

2016-07-08 Thread Todd C. Miller
Thanks, committed. - todd

Re: less(1): pass errret to setupterm(3)

2016-07-08 Thread Anton Lindqvist
On Sat, Jun 11, 2016 at 03:03:14PM +0200, Anton Lindqvist wrote: > The setupterm(3) manual states: > > > If errret is not null, then setupterm returns OK or ERR and stores a > > status value in the integer pointed to by errret. > > ... > > If errret is null, setupterm prints an error message upo

Re: Scheduler with a single runqueue

2016-07-08 Thread Ray Lai
On Wed, 6 Jul 2016 21:14:05 +0200 Martin Pieuchot wrote: > By using a single runqueue I prioritise latency over throughput. That > means your performance might degrade, but at least I can watch my HD > video while doing a "make -j4". When I run borgbackup, audio (and my mouse) still stutters. Is