Re: doas authentication type

2015-08-25 Thread Renaud Allard
On 08/24/2015 03:47 PM, Renaud Allard wrote: On 08/24/2015 11:15 AM, Renaud Allard wrote: Hello, Is there a plan to make it possible to specify the authentication type in doas, like "sudo -a" does? This is useful in the case you are using a login.conf with something like: "auth-defaults:auth=yu

strtonum for grep

2015-08-25 Thread David Gwynne
if i pass "1filename" as an argument to -A, -B, or -C, it's not out of range, it's not a number. this converts the arg processing to use strtonum so the errors are better. however, maybe the errors are standardised and this breaks compat with posix or something? Index: grep.c ===

Re: httpd: patch to close TLS sockets that,fail before TLS handshake

2015-08-25 Thread Edgar Pettijohn
I was curious if this issue is fixed in -current or if there is going to be a patch available on the errata page? Thanks Edgar

syslogd string memory access

2015-08-25 Thread Alexander Bluhm
Hi, strlcpy() accesses the source string until it finds NUL, even if it is behind the size limit. As msg is not NUL-terminated in this case, it depends on memory content wether syslogd will crash. So using memcpy() and setting the NUL explicitly is the correct way. ok? bluhm Index: usr.sbin/s

Re: diff - more satosin/sintosa

2015-08-25 Thread David Hill
Updated diff to match changes since. Index: net/if_gif.c === RCS file: /cvs/src/sys/net/if_gif.c,v retrieving revision 1.77 diff -u -p -r1.77 if_gif.c --- net/if_gif.c17 Jul 2015 18:05:59 - 1.77 +++ net/if_gif.c

rt_ifa_del() tweak

2015-08-25 Thread Martin Pieuchot
I want to remove this chunked introduce in r7.19 in 1991 by sklower@ because it no longer makes any sense, it is a layer violation and does no play well with rt refcounting. When this chunk was introduced rtrequest1(RTM_DELETE...) was *not* doing a route lookup. So this check is now (and since a

Re: Call for Testing: rtalloc(9) change

2015-08-25 Thread Martin Pieuchot
On 12/08/15(Wed) 17:03, Martin Pieuchot wrote: > I'm currently working on the routing table interface to make is safe > to use by multiple CPUs at the same time. The diff below is a big > step in this direction and I'd really appreciate if people could test > it with their usual network setup and

Re: [DIFF] System accounting records

2015-08-25 Thread Craig Skinner
D'oh! Wrong diff in last email, sorry. This one instead: On 2015-08-25 Tue 09:35 AM |, Craig Skinner wrote: > ping: > > On 2015-08-03 Mon 11:38 AM |, Craig Skinner wrote: > > On 2015-07-31 Fri 09:06 AM |, Craig Skinner wrote: > > > Hello, > > > > > > The diffs below produce this output: > > > >

Re: [DIFF] System accounting records

2015-08-25 Thread Craig Skinner
ping: On 2015-08-03 Mon 11:38 AM |, Craig Skinner wrote: > On 2015-07-31 Fri 09:06 AM |, Craig Skinner wrote: > > Hello, > > > > The diffs below produce this output: > > > > daily(8) email segment (if verbose): > > > > System accounting records: > > COMMANDS TIME I/O CORE USER > >