Re: sleep(1): support longer naps

2018-01-30 Thread Jason McIntyre
On Wed, Jan 31, 2018 at 05:52:35AM +0100, Theo Buehler wrote: > On Thu, Jan 25, 2018 at 09:35:33PM -0600, Scott Cheloha wrote: > > Hi, > > > > This increases the range for sleep(1) from 100 million seconds up to > > 9223372036854775807. > > > > POSIX.1-2001 added a stipulation (which POSIX.1-2008

Re: sleep(1): support longer naps

2018-01-30 Thread Theo Buehler
On Thu, Jan 25, 2018 at 09:35:33PM -0600, Scott Cheloha wrote: > Hi, > > This increases the range for sleep(1) from 100 million seconds up to > 9223372036854775807. > > POSIX.1-2001 added a stipulation (which POSIX.1-2008 retains) that sleep(1) > support inputs of at least 2147483647 seconds. Th

Re: arm64: recognize netboot

2018-01-30 Thread Mark Kettenis
> Date: Mon, 29 Jan 2018 20:23:09 +0100 > From: Christian Weisgerber > > This allows an arm64 kernel to recognize that it has been netbooted > and to add the boot interface to the "netboot" group. efiboot grabs > the MAC address from the PXE environment, passes it to the kernel, > where it is ma

Re: tcpdump(8) USB support

2018-01-30 Thread Martin Pieuchot
On 30/01/18(Tue) 16:37, David Gwynne wrote: > > [...] > > bpfsdetach takes the reference to a bpf interface that bpfsattach > > returns. the manpage likely isnt clear. the diff below fixes it. > > > > ive also added a bpf_tap_hdr function that lets you pass a header > > along with a flat buffer.

Re: init(8): check GETTY_SPACING against monotonic clock

2018-01-30 Thread Todd C. Miller
On Mon, 29 Jan 2018 19:32:05 -0600, Scott Cheloha wrote: > This ensures that the GETTY_SPACING check remains useful if > the system clock is set backwards. > > The time comparison is meaningless unless the timespec is set, > so there's no reason to go to the kernel to get the time unless > we have

pflow PF_OUT use WIRE ips

2018-01-30 Thread Kapetanakis Giannis
Hi, A problem with our flows and nat-to on the $ext_if is that it exports the original (private) IP address and not the new-public IP after the translation. We already have the information about the private IP from the flow on the $int_if. Similar problem with rdr-to and PF_OUT. This diff cha

Re: bridge(4): protected interface (port)

2018-01-30 Thread Tom Smyth
Hello Remi, Regarding your query, >Wouldn't this duplicate BUM traffic? In this situation I would try a setup with >trunk(4) for the uplinks. At least the failover mode should work if your >switches have a limited feature set. Yes the scenario where you put 2 uplinks into a bridge would potentiall

Re: efiboot: fix TFTP reading of 0-size files

2018-01-30 Thread Patrick Wildt
On Fri, Jan 26, 2018 at 12:25:56AM +0100, Christian Weisgerber wrote: > Fix TFTP reading of zero-size files in efiboot: > > The AllocatePages EFI call returns an error when the allocation > size is 0. Skip allocating memory and actually transferring the > file when it is empty. > > Properly retu

Re: patterns.c question or possible bug

2018-01-30 Thread edgar
On Jan 30, 2018 12:05 AM, Ori Bernstein wrote: > > On Mon, 29 Jan 2018 23:23:18 -0600, Edgar Pettijohn > wrote: > > > I'm trying to use patterns.c for some pattern matching. The manual > > mentions captures using "()" around what you want to capture.  I don't > > see how to get at the data th

Re: typo hcreate.3

2018-01-30 Thread Jason McIntyre
On Mon, Jan 29, 2018 at 05:47:14PM -0600, Edgar Pettijohn wrote: > Index: hcreate.3 > == > RCS file: /cvs/src/lib/libc/stdlib/hcreate.3,v > retrieving revision 1.7 > diff -u -p -u -r1.7 hcreate.3 > --- hcreate.3 12 Mar 2016 21:31:22 -000

Re: patterns.c question or possible bug

2018-01-30 Thread Hiltjo Posthuma
On Tue, Jan 30, 2018 at 07:48:17AM +0100, Otto Moerbeek wrote: > On Mon, Jan 29, 2018 at 11:23:18PM -0600, Edgar Pettijohn wrote: > > > I'm trying to use patterns.c for some pattern matching. The manual mentions > > captures using "()" around what you want to capture. I don't see how to get > > a