CVS commit: src/sys/compat/sys

2016-04-07 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Apr  7 17:48:40 UTC 2016

Modified Files:
src/sys/compat/sys: socket.h

Log Message:
include opt_compat_netbsd.h to get COMPAT_SOCKCRED70 defined.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/sys/socket.h

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



CVS commit: src/sys/compat/sys

2010-11-07 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Nov  7 19:45:06 UTC 2010

Modified Files:
src/sys/compat/sys: sockio.h

Log Message:
If someone wants to define COMPAT_OIFDATA / COMPAT_OIFREQ outside
of config, let them.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/compat/sys/sockio.h

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



CVS commit: src/sys/compat/sys

2010-11-14 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Sun Nov 14 15:36:47 UTC 2010

Modified Files:
src/sys/compat/sys: sockio.h

Log Message:
Include sys/ioccom.h directly because it's used.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/compat/sys/sockio.h

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



CVS commit: src/sys/compat/sys

2011-05-24 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue May 24 18:29:23 UTC 2011

Modified Files:
src/sys/compat/sys: ipc.h

Log Message:
Give the body the same static inline treatment as the definition


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/sys/ipc.h

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



CVS commit: src/sys/compat/sys

2011-12-20 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Tue Dec 20 16:38:06 UTC 2011

Modified Files:
src/sys/compat/sys: rnd.h

Log Message:
allow kernels w/o COMPAT_50 to build


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/sys/rnd.h

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



CVS commit: src/sys/compat/sys

2012-03-18 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sun Mar 18 21:48:47 UTC 2012

Modified Files:
src/sys/compat/sys: ucontext.h

Log Message:
Add missing semi-colon.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/sys/ucontext.h

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



CVS commit: src/sys/compat/sys

2012-10-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Oct 10 22:51:12 UTC 2012

Added Files:
src/sys/compat/sys: syslog.h

Log Message:
compat hook.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/compat/sys/syslog.h

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



CVS commit: src/sys/compat/sys

2012-10-19 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Fri Oct 19 17:16:55 UTC 2012

Modified Files:
src/sys/compat/sys: ttycom.h

Log Message:
Fix NetBSD version number in a comment


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/sys/ttycom.h

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



CVS commit: src/sys/compat/sys

2015-04-13 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Tue Apr 14 06:11:15 UTC 2015

Modified Files:
src/sys/compat/sys: rnd.h

Log Message:
Include rndio.h for missing defines.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/sys/rnd.h

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



CVS commit: src/sys/compat/sys

2015-04-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr 14 12:19:57 UTC 2015

Modified Files:
src/sys/compat/sys: rnd.h

Log Message:
No need for  here either.  Missed this one yesterday too.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/sys/rnd.h

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



CVS commit: src/sys/compat/sys

2017-07-28 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jul 29 06:12:50 UTC 2017

Modified Files:
src/sys/compat/sys: socket.h

Log Message:
Only compat_43 needs compat_osock. Note that the use of vec_compat_ifioctl
is racy.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/compat/sys/socket.h

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



CVS commit: src/sys/compat/sys

2018-03-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Mar 15 03:22:23 UTC 2018

Modified Files:
src/sys/compat/sys: uvm.h

Log Message:
tidy up


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/sys/uvm.h

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



CVS commit: src/sys/compat/sys

2018-04-15 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Apr 15 22:13:36 UTC 2018

Modified Files:
src/sys/compat/sys: sockio.h

Log Message:
Remove unnecessary __BEGIN_DECLS ... __END_DECLS at Christos's suggestion.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/compat/sys/sockio.h

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



CVS commit: src/sys/compat/sys

2014-01-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan 28 01:29:35 UTC 2014

Modified Files:
src/sys/compat/sys: dirent.h

Log Message:
add a struct for the 4.3BSD struct direct


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/sys/dirent.h

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



CVS commit: src/sys/compat/sys

2020-06-27 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jun 27 07:00:43 UTC 2020

Modified Files:
src/sys/compat/sys: mount.h

Log Message:
Yet another idiotic compat syscall that was developed with literally zero
test made. Simply invoking this syscall with _valid parameters_ triggers a
fatal fault, because the kernel tries to write to userland addresses.

With specially-crafted parameters it is easy to completely escalate
privileges into the kernel.

Also the size of the allocation is just obviously wrong, but it looks like
the callers are even more wrong, so not gonna fix it for now.

Reported-by: syzbot+b05096f3114b2820d...@syzkaller.appspotmail.com


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/compat/sys/mount.h

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



CVS commit: src/sys/compat/sys

2020-06-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jun 27 15:49:30 UTC 2020

Modified Files:
src/sys/compat/sys: mount.h

Log Message:
Ignore the supplied size, and always use the argument size that we know.
Found by maxv@


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/compat/sys/mount.h

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



CVS commit: src/sys/compat/sys

2020-07-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jul  3 14:08:53 UTC 2020

Modified Files:
src/sys/compat/sys: statvfs.h

Log Message:
don't overallocate (requested by maxv@)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/sys/statvfs.h

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



CVS commit: src/sys/compat/sys

2020-07-03 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Fri Jul  3 18:49:38 UTC 2020

Modified Files:
src/sys/compat/sys: mount.h

Log Message:
don't overallocate (follows similar change to compat/sys/statvfs.h)


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/sys/mount.h

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



CVS commit: src/sys/compat/sys

2020-07-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jul  3 19:00:01 UTC 2020

Modified Files:
src/sys/compat/sys: statvfs.h

Log Message:
sync with mount.h, always use the structure size.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/sys/statvfs.h

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



CVS commit: src/sys/compat/sys

2016-08-27 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Aug 27 18:54:24 UTC 2016

Modified Files:
src/sys/compat/sys: stat.h

Log Message:
update comment


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/sys/stat.h

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



CVS commit: src/sys/compat/sys

2018-06-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Jun 15 07:33:27 UTC 2018

Modified Files:
src/sys/compat/sys: time_types.h

Log Message:
include libkern.h or string.h & stddef.h, to get the offsetof()
and memset() definitions.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/sys/time_types.h

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



CVS commit: src/sys/compat/sys

2018-06-15 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Fri Jun 15 07:46:59 UTC 2018

Modified Files:
src/sys/compat/sys: time_types.h

Log Message:
If we are going to use offsetof() we'd need to include  to
get it defined.  Rather than deal with potential namespace issues
with that, just clear the entire struct, rather than attempting to
stop after the potential padding field.   If the compiler is good enough
it should make no difference (there are just 3 fields, 2 named ones
are assigned to, immediately after the memset() - the compiler can
detect that, and not bother assigning (via memset()) to the unmamed
3rd padding field).   If the compiler is not smart enough to deal
with this, then I doubt writing 8 more zero bytes will make enough
difference to matter.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/sys/time_types.h

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



CVS commit: src/sys/compat/sys

2018-06-15 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Fri Jun 15 08:17:38 UTC 2018

Modified Files:
src/sys/compat/sys: time_types.h

Log Message:
Revert previous, mrg's fix is better (even with possible namespace issues,
which I guess are not great in compat includes)  the perils of two
people doing fixes at around the same time.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/sys/time_types.h

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



CVS commit: src/sys/compat/sys

2019-01-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 27 02:58:48 UTC 2019

Modified Files:
src/sys/compat/sys: cpuio.h

Log Message:
remove extra ifdef.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/compat/sys/cpuio.h

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



CVS commit: src/sys/compat/sys

2019-01-27 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jan 28 01:01:59 UTC 2019

Modified Files:
src/sys/compat/sys: module.h

Log Message:
Use the correct macro name for dup-include checking


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/sys/module.h

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



CVS commit: src/sys/compat/sys

2019-02-21 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb 21 08:25:00 UTC 2019

Modified Files:
src/sys/compat/sys: ipc.h

Log Message:
include libkern.h or strings.h.  should fix i386 build issues.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/sys/ipc.h

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



CVS commit: src/sys/compat/sys

2019-04-09 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Apr 10 04:28:03 UTC 2019

Modified Files:
src/sys/compat/sys: sockio.h

Log Message:
 Fix ifdata"o2n"() macro. This is not a real bug because this macro is not used
from anywhere. Both of SIOCGIFDATA and SIOCZIFDATA use "n2o" because
ZIFDATA is almost the same as GIFDATA except zeroing after read.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/sys/sockio.h

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



CVS commit: src/sys/compat/sys

2019-04-09 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Apr 10 04:37:00 UTC 2019

Modified Files:
src/sys/compat/sys: sockio.h

Log Message:
 Whitespace change. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/compat/sys/sockio.h

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



CVS commit: src/sys/compat/sys

2019-04-10 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Apr 11 04:42:08 UTC 2019

Modified Files:
src/sys/compat/sys: socket.h sockio.h

Log Message:
 Remove unused macro definitions. OK'd by pgoyette.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/compat/sys/socket.h
cvs rdiff -u -r1.15 -r1.16 src/sys/compat/sys/sockio.h

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



CVS commit: src/sys/compat/sys

2019-04-10 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Apr 11 04:43:40 UTC 2019

Modified Files:
src/sys/compat/sys: sockio.h

Log Message:
 Restore sys/ioccom.h.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/compat/sys/sockio.h

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