[patch] Fix inaccurate comment in usr.bin/w/w.c

2018-06-13 Thread Nan Xiao
Hi tech@, The following patch fix some inaccurate comment in w.c. E.g., there is no "-n" option, and "-a" instead. Sorry id I am wrong, thanks! Index: w.c === RCS file: /cvs/src/usr.bin/w/w.c,v retrieving revision 1.65 diff -u -p

Cantrill

2018-06-13 Thread Theo de Raadt
Bryan Cantill was given my phone number by someone. He continued accusing me at https://lobste.rs/s/zwkuza/intel_cpus_might_leak_information_about He did not phone. I'm waiting for a call, or an apology. It says a lot when someone working for a gigantic company has to posture like that. I

Re: Inflamation by Bryan Cantrill Content-Transfer-Encoding: 8bit

2018-06-13 Thread Theo de Raadt
Devin Ceartas wrote: > Thanks. > > On 13 Jun 2018, at 23:48, Theo de Raadt wrote: > > > In some forums, Bryan Cantrill is crafting a fiction. > > > > He is saying the FPU problem (and other problems) were received > > as a leak. > > > > He is not being truthful, inventing a storyline, and has

Re: Inflamation by Bryan Cantrill Content-Transfer-Encoding: 8bit

2018-06-13 Thread Devin Ceartas
Thanks. On 13 Jun 2018, at 23:48, Theo de Raadt wrote: > In some forums, Bryan Cantrill is crafting a fiction. > > He is saying the FPU problem (and other problems) were received > as a leak. > > He is not being truthful, inventing a storyline, and has not asked me > for the facts. > > This was

Inflamation by Bryan Cantrill Content-Transfer-Encoding: 8bit

2018-06-13 Thread Theo de Raadt
In some forums, Bryan Cantrill is crafting a fiction. He is saying the FPU problem (and other problems) were received as a leak. He is not being truthful, inventing a storyline, and has not asked me for the facts. This was discovered by guessing Intel made a mistake. We are doing the best for

fix file(1) memory leak

2018-06-13 Thread Bryan Steele
magic_test returns a xstrdup'd string, which was then being xstrdup'd again without freeing the original copy (leaking memory). casts added to avoid clang warning warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]

Re: Change CMakeLists.txt in LibreSSL to use target_include_directores

2018-06-13 Thread Brent Cook
You're correct, ​include/compat is intended to ​be private. We will need to make some tweaks here. On Mon, Jun 4, 2018 at 5:36 PM, Cameron Palmer wrote: > Question about the PUBLIC status of the ../include/compat headers in > CMakeLists.txt. > > I wrote the target_include_directories calls to

Documentation for makeoptions DEBUG="-g" may need improvement

2018-06-13 Thread IL Ka
Hello, config(8) says: "To debug kernels and their crash dumps with gdb, add “makeoptions DEBUG="-g"” to the kernel configuration file. Refer to options(4) for further details." 1) kernel Makefile has DEBUG?= -g so you do not need to add anything to have it: you just need not to overwrite it

tcp syn cache address family

2018-06-13 Thread Alexander Bluhm
Hi, In syn_cache_get() the INP_IPV6 flag was checked in the AF_INET case, but not for AF_INET6. In fact the check should be done in syn_cache_lookup() so that the received syn cache entry has the correct address family. ok? bluhm Index: netinet/tcp_input.c

Make witness(4) ready for UP systems

2018-06-13 Thread Christian Ludwig
It makes sense to have witness(4) on uniprocessor systems, too. Lock-order violations are not an MP-only thing. Since UP kernels do not have the kernel lock, wrap the code in appropriate ifdefs. --- sys/kern/subr_witness.c | 28 ++-- 1 file changed, 22 insertions(+), 6

Re: witness report: vmmaplk, inode

2018-06-13 Thread richard . n . procter
On Wed, 13 Jun 2018, richard.n.proc...@gmail.com wrote: > I found this witness log on my computestick but not here. > > OpenBSD 6.3-current (GENERIC.MP) #10: Mon Jun 11 14:02:36 NZST 2018 > procter@dill.internal:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > (CVS checkout on this date,

route: replace hardcoded constants with defines

2018-06-13 Thread Klemens Nanni
These seem more descriptive to me. No binary change. Feedback? OK? Index: route.c === RCS file: /cvs/src/sbin/route/route.c,v retrieving revision 1.214 diff -u -p -r1.214 route.c --- route.c 1 May 2018 18:14:10 -

Re: missed keybinding in cwm.1

2018-06-13 Thread Okan Demirmen
HI - Thanks for the patch, but that's intentional; group0 will eventually become a real group and that's why only CM-a is documented (see r1.54). On Wed, Jun 13, 2018 at 2:16 PM, Mikhail wrote: > Missed keybinding in the man page: > > diff --git a/app/cwm/cwm.1 b/app/cwm/cwm.1 > index

missed keybinding in cwm.1

2018-06-13 Thread Mikhail
Missed keybinding in the man page: diff --git a/app/cwm/cwm.1 b/app/cwm/cwm.1 index 3b4e76e83..3f8f5d241 100644 --- a/app/cwm/cwm.1 +++ b/app/cwm/cwm.1 @@ -103,6 +103,8 @@ Reverse cycle through currently visible windows. Delete current window. .It Ic CM-[n] Toggle visibility of group n, where

Re: httpd response mimetype bug

2018-06-13 Thread Reyk Floeter
On Sat, Jan 13, 2018 at 05:23:35PM +0100, Sebastian Benoit wrote: > Hiltjo Posthuma(hil...@codemadness.org) on 2018.01.13 13:08:38 +0100: > > On Sat, Jan 13, 2018 at 09:39:44AM +0100, Anton Lindqvist wrote: > > > On Tue, Jan 09, 2018 at 05:38:57PM +0100, Hidv?gi G?bor wrote: > > > > >Synopsis:

Re: netintro.4 fix

2018-06-13 Thread Jason McIntyre
On Wed, Jun 13, 2018 at 05:19:29PM +0200, Florian Obser wrote: > On Wed, Jun 13, 2018 at 06:03:00PM +0300, Mikhail wrote: > > Nuke non-existing chapter link in netintro.4. > > My system has quite a few DIAGNOSTIC sections in section 4: > > $ fgrep DIAGNOSTICS /usr/share/man/man4/* | wc -l >

Re: httpd 3/3: request rewrite

2018-06-13 Thread Reyk Floeter
On Wed, May 30, 2018 at 12:36:05AM +0200, Reyk Floeter wrote: > as mentioned in the big diff before, this implements rewrites. This > diff applies on top of the previous ones. > > Implement the "request rewrite" option for internal rewrites. > > For example: > >

Re: netintro.4 fix

2018-06-13 Thread Florian Obser
On Wed, Jun 13, 2018 at 06:03:00PM +0300, Mikhail wrote: > Nuke non-existing chapter link in netintro.4. My system has quite a few DIAGNOSTIC sections in section 4: $ fgrep DIAGNOSTICS /usr/share/man/man4/* | wc -l 72 > > Index: netintro.4 >

netintro.4 fix

2018-06-13 Thread Mikhail
Nuke non-existing chapter link in netintro.4. Index: netintro.4 === RCS file: /home/misha/work/cvs/src/share/man/man4/netintro.4,v retrieving revision 1.52 diff -u -p -r1.52 netintro.4 --- netintro.4 28 Apr 2018 16:16:43 -

Re: make octeon kernels compile with DEBUG.

2018-06-13 Thread Visa Hankala
On Wed, Jun 13, 2018 at 08:34:46AM +0200, Janne Johansson wrote: > The unconditional #define DEBUG in octeon/machdep.c is somewhat weird. > > Should we just keep the whole block and remove the #ifdefs, move it to > #if 1 for later easy removal? Dunno, but it won't compile with DEBUG > unless

nsd 4.1.22

2018-06-13 Thread Florian Obser
OK? diff --git config.h.in config.h.in index 795944fb1af..d3470836f26 100644 --- config.h.in +++ config.h.in @@ -25,6 +25,9 @@ /* Define to the default facility for syslog. */ #undef FACILITY +/* Define to 1 if you have the `accept4' function. */ +#undef HAVE_ACCEPT4 + /* Define to 1 if

Re: [patch] crontab(5) add -n option to suppress mail when the run was successful

2018-06-13 Thread Jason McIntyre
On Tue, Jun 12, 2018 at 09:13:05PM +0200, Job Snijders wrote: > On Tue, Jun 12, 2018 at 09:54:47AM -0600, Theo de Raadt wrote: > > I would prefer if the -q and -n descriptions were in a table. I dislike > > the ancient style of describing such things inline (harder to spot). > > And it really

Re: reduce usage of mbuf cluster

2018-06-13 Thread Alexander Bluhm
On Wed, Jun 13, 2018 at 01:20:29PM +0900, YASUOKA Masahiko wrote: > > The MCLGET() cannot be called anymore. Can we remove it and add a > > compile time assert instead? > > > > CTASSERT(sizeof(struct ip) + sizeof(struct tcphdr) <= MHLEN); > > CTASSERT(sizeof(struct ip6_hdr) +

make octeon kernels compile with DEBUG.

2018-06-13 Thread Janne Johansson
Have nothing else than octeons to test with, but I guess it affects/fixes other mips64s too. For mips64_machdep.c, the vaddr_t va wasn't printable with %p, and since vaddr_t seems to be a unsigned long on mips64, I just %lx'd it. Casting it to (void *) also worked. The unconditional #define

CVE-2018-12015: Directory Traversal in Archive::Tar

2018-06-13 Thread Silamael
Hi, The version of Archive::Tar part of the base system's Perl contains CVE-2018-12015: Original bug report: https://rt.cpan.org/Public/Bug/Display.html?id=125523 Original commit with the fix: https://github.com/jib/archive-tar-new/commit/ae65651eab053fc6dc4590dbb863a268215c1fc5 The