Re: unveil: incorrect type flags on unvname_new()

2018-07-16 Thread Bob Beck
ok beck@ On Mon, Jul 16, 2018 at 15:53 Sebastien Marie wrote: > Hi, > > While reviewing unveil(2) code, I found an incorrect type on > unvname_new() function: flags argument should be uint64_t. > > It is called by unveil_add_name() which uses uint64_t for flags, and > store the value in struct u

Octeon - kernel panic at login

2018-07-16 Thread Jungle Boogie
Hi All, I logged into my erl octeon device to upgrade it. When I logged in via serial, I received a panic. login: root panic: init died (signal 0, exit 10) Stopped at 0x8135036c: jr ra 0x81350370: nop TIDPIDUID PRFLAGS PFLAGS CPU COMMAND *3

Re: bgpd switch mrt format to extended timestamp

2018-07-16 Thread Sebastian Benoit
ok benno@ Claudio Jeker(cje...@diehard.n-r-g.com) on 2018.07.16 22:33:17 +0200: > For "dump (all|updates) (in|out)" it totally makes sense to use the > extended timestamp format that includes microseconds as well. This > way it is better visible when updates got processed. > Table dumps are not a

bgpd switch mrt format to extended timestamp

2018-07-16 Thread Claudio Jeker
For "dump (all|updates) (in|out)" it totally makes sense to use the extended timestamp format that includes microseconds as well. This way it is better visible when updates got processed. Table dumps are not affected since there the timestamp is not that useful. bgpdump shows now the time with mi

Re: newaliases.8: update to current reality

2018-07-16 Thread Jason McIntyre
On Mon, Jul 16, 2018 at 11:03:45AM -0600, Todd C. Miller wrote: > On Mon, 16 Jul 2018 17:54:17 +0100, Jason McIntyre wrote: > > > > === > > > RCS file: /cvs/src/usr.sbin/smtpd/newaliases.8,v > > > retrieving revision 1.11 > > > diff -

Re: newaliases.8: update to current reality

2018-07-16 Thread Todd C. Miller
On Mon, 16 Jul 2018 17:54:17 +0100, Jason McIntyre wrote: > > === > > RCS file: /cvs/src/usr.sbin/smtpd/newaliases.8,v > > retrieving revision 1.11 > > diff -u -p -u -r1.11 newaliases.8 > > --- usr.sbin/smtpd/newaliases.8 22 Dec 2

Re: newaliases.8: update to current reality

2018-07-16 Thread Jason McIntyre
On Mon, Jul 16, 2018 at 10:36:35AM -0600, Todd C. Miller wrote: > Now that aliases in smtpd.conf default to plain text files and not > db files we don't want to tell people to run makemap instead of > newaliases. > > - todd > evening. comments inline: > Index: usr.sbin/smtpd/newaliases.8 > ==

newaliases.8: update to current reality

2018-07-16 Thread Todd C. Miller
Now that aliases in smtpd.conf default to plain text files and not db files we don't want to tell people to run makemap instead of newaliases. - todd Index: usr.sbin/smtpd/newaliases.8 === RCS file: /cvs/src/usr.sbin/smtpd/newaliase

Re: added flush and quiet options to script(1)

2018-07-16 Thread bijan
On 07/16/18 18:11, bijan wrote: On 07/13/18 22:35, bijan wrote: Hi tech. While trying to test liveshell[1], I noticed the script(1) from base is missing the -f option, flushing the output after each write, which is kinda critical for monitoring the output file by another process. the Linux scri

unveil: incorrect type flags on unvname_new()

2018-07-16 Thread Sebastien Marie
Hi, While reviewing unveil(2) code, I found an incorrect type on unvname_new() function: flags argument should be uint64_t. It is called by unveil_add_name() which uses uint64_t for flags, and store the value in struct unvname un_flags member which is uint64_t. Thanks. -- Sebastien Marie Inde

Re: add -f option to script(1)

2018-07-16 Thread bijan
On 07/13/18 22:35, bijan wrote: Hi tech. While trying to test liveshell[1], I noticed the script(1) from base is missing the -f option, flushing the output after each write, which is kinda critical for monitoring the output file by another process. the Linux script utility uses fflush(3) after e

Re: [patch] smtpd: missing space for "from local" with -T rules

2018-07-16 Thread Lauri Tirkkonen
On Wed, Jun 20 2018 12:19:43 +0300, Lauri Tirkkonen wrote: > "from local" rules are missing a space when printed out with -T rules. > > diff --git a/usr.sbin/smtpd/to.c b/usr.sbin/smtpd/to.c > index e1d399d74f2..27d5321408f 100644 > --- a/usr.sbin/smtpd/to.c > +++ b/usr.sbin/smtpd/to.c > @@ -461,7

xidle: launching program on timeout without active-area

2018-07-16 Thread Sebastien Marie
Hi, I am looking at a way to auto-logout some workstation on inactivity. xidle(1) seems great for such purpose. But I didn't found a way to just use timeout and not also an active area (a corner where the program is launched if pointer stays inside few seconds). The following diff tries to imple

Re: IP_SENDSRCADDR cmsg_len and dnsmasq

2018-07-16 Thread Vincent Gross
On Thu, 12 Jul 2018 19:54:26 +0200 Alexander Bluhm wrote: > > If it is a temporary problem, that will go away when the content > of the socket buffer is sent away, we should block or return > EWOULDBLOCK. For a permanent problem return EMSGSIZE. Non atomic > operations can be split in smaller

xhci typo in comment

2018-07-16 Thread Michael W. Bombardieri
Hello, When studying some usb code I noticed a couple of the comments didn't read well. Does this look better? - Michael Index: xhci.c === RCS file: /cvs/src/sys/dev/usb/xhci.c,v retrieving revision 1.86 diff -u -p -u -r1.86 xhci.c