Re: CVS commit: src/sys/compat/svr4

2018-05-31 Thread Maxime Villard

Le 31/05/2018 à 17:41, Maxime Villard a écrit :

Module Name:src
Committed By:   maxv
Date:   Thu May 31 15:41:11 UTC 2018

Modified Files:
src/sys/compat/svr4: svr4_stream.c

Log Message:
Add XXX for NULL deref. Not sure how to fix it, not sure we care either...


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/compat/svr4/svr4_stream.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


I've said it once, I've said it a hundred times: compat_svr4, and all the
related crap, should be removed from the kernel, plain and simple


Re: CVS commit: src

2018-05-31 Thread Robert Swindells


"Chuck Silvers"  wrote:
>Module Name:src
>Committed By:   chs
>Date:   Mon May 28 21:05:12 UTC 2018
>
>Modified Files:
[snip]

>src/usr.bin/kdump: Makefile.ioctl-c mkioctls

[snip]

Building with clang and MKDTRACE=no, MKCTF=no, I get:

In file included from kdump-ioctl.c:23:
In file included from /u1/src/sys/net/if.h:82:
/u1/src/sys/sys/mutex.h:155:23: error: redefinition of typedef 'kmutex_t' is a C
11 feature [-Werror,-Wtypedef-redefinition]
typedef struct kmutex kmutex_t;
  ^
kdump-ioctl.c:10:23: note: previous definition is here
typedef struct kmutex kmutex_t;
  ^