CVS commit: src/sys/compat/common

2021-08-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Aug 15 07:57:46 UTC 2021 Modified Files: src/sys/compat/common: vfs_syscalls_30.c vfs_syscalls_43.c vfs_syscalls_50.c Log Message: - memset struct stat to avoid kernel memory disclosure of padded fields

CVS commit: src/sys/compat/common

2021-05-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue May 25 16:50:49 UTC 2021 Modified Files: src/sys/compat/common: Makefile Log Message: PR port-xen/53130 was fixed and closed some time ago, so now we can belatedly re-enable inclusion of the compat_60 x86 microcode code in

CVS commit: src/sys/compat/netbsd32

2021-04-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 25 22:27:08 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32.mk Log Message: All mips64 has compat_netbsd32 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/compat/netbsd32/netbsd32.mk

CVS commit: src/sys/compat/netbsd32

2021-04-16 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sat Apr 17 03:57:42 UTC 2021 Modified Files: src/sys/compat/netbsd32: files.netbsd32 Log Message: Compile in compat32 syscall names all the time, as we do for native syscall names. Needed for dtrace. To generate a diff of this

CVS commit: src/sys/compat/netbsd32

2021-04-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Apr 14 16:26:23 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c netbsd32_ioctl.h Log Message: Add DIOCGDISKINFO compat. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119

CVS commit: src/sys/compat/netbsd32

2021-04-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 14 02:48:00 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_systrace_args.c Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/compat/netbsd32/netbsd32_systrace_args.c

CVS commit: src/sys/compat/netbsd32

2021-04-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Apr 13 23:57:23 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_systrace_args.c Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/compat/netbsd32/netbsd32_systrace_args.c

CVS commit: src/sys/compat/netbsd32

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 05:28:16 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_execve.c Log Message: GCC 10 does not like casting from one identical anonymous enum to another enum. supply some quietening cast. To generate a diff

CVS commit: src/sys/compat/netbsd32

2021-02-18 Thread Simon Burge
Module Name:src Committed By: simonb Date: Thu Feb 18 12:54:03 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_compat_50.c netbsd32_time.c Log Message: In the compat setitimer(2) calls, don't validate which timer is being used since dosetitimer() does this

CVS commit: src/sys/compat/netbsd32

2021-02-16 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Feb 16 14:47:20 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_fs.c Log Message: In netbsd32___mount50() zero out the native fs_args union before use so we don't pass stack garbage to the lower layers in the

CVS commit: src/sys/compat/netbsd32

2021-01-19 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Jan 19 08:10:17 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_compat_20.c Log Message: Fix syntax error To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/compat/netbsd32/netbsd32_compat_20.c

CVS commit: src/sys/compat/netbsd32

2021-01-18 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jan 19 03:41:22 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32.h netbsd32_conv.h netbsd32_fs.c netbsd32_netbsd.c netbsd32_socket.c Log Message: The read/write/send/recv system calls return ssize_t

CVS commit: src/sys/compat/netbsd32

2021-01-18 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jan 19 03:20:13 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_compat_09.c netbsd32_compat_10_sysv.c netbsd32_compat_12.c netbsd32_compat_13.c netbsd32_compat_14_sysv.c netbsd32_compat_20.c

CVS commit: src/sys/compat/netbsd32

2021-01-18 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jan 19 02:40:07 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_exec.h Log Message: Whitespace nits. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/compat/netbsd32/netbsd32_exec.h Please

CVS commit: src/sys/compat/netbsd32

2021-01-18 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jan 19 01:47:58 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_vm.c Log Message: Also print mmap return value and error code #ifdef DEBUG_MMAP. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/compat/netbsd32

2021-01-18 Thread Simon Burge
Module Name:src Committed By: simonb Date: Mon Jan 18 23:14:22 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32.h netbsd32_conv.h netbsd32_exec.h netbsd32_socket.c Log Message: s/u_intN_t/uintN_t/ To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat/netbsd32

2021-01-17 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sun Jan 17 10:50:01 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c netbsd32_ioctl.h Log Message: Handle the SIOCGNBRINFO_IN6 ioctl for compat32. ndp -a works with compat32 now. To generate a diff of this

CVS commit: src/sys/compat/netbsd32

2021-01-14 Thread Simon Burge
Module Name:src Committed By: simonb Date: Fri Jan 15 03:51:41 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_netbsd.c Log Message: Remove unused LIMITCHECK() macro (now contained in netbsd32_rlimit.c). To generate a diff of this commit: cvs rdiff -u -r1.230

CVS commit: src/sys/compat/netbsd32

2021-01-14 Thread Simon Burge
Module Name:src Committed By: simonb Date: Thu Jan 14 23:30:50 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c Log Message: Remove some blank lines to group the VND and FSS ioctls together. To generate a diff of this commit: cvs rdiff -u -r1.116

CVS commit: src/sys/compat/netbsd32

2021-01-14 Thread Simon Burge
Module Name:src Committed By: simonb Date: Thu Jan 14 08:22:51 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c netbsd32_ioctl.h Log Message: Handle the KFILTER_BYFILTER and KFILTER_BYNAME ioctls for compat32. Passes "atf kernel/kqueue/t_ioctl". To

CVS commit: src/sys/compat/netbsd32

2021-01-14 Thread Simon Burge
Module Name:src Committed By: simonb Date: Thu Jan 14 08:00:45 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32.h netbsd32_ioctl.c netbsd32_ioctl.h Log Message: Handle FSSIOCSET and FSSIOCGET; vndconfig(8) works with compat32 now. XXX: FSSIOCSET50 and

CVS commit: src/sys/compat/netbsd32

2021-01-13 Thread Simon Burge
Module Name:src Committed By: simonb Date: Thu Jan 14 02:51:52 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_lwp.c Log Message: Handle rev 1.62 of kern/sys_lwp.c make _lwp_park return the remaining time to sleep in the "ts" argument if it is a relative

CVS commit: src/sys/compat/netbsd32

2021-01-13 Thread Simon Burge
Module Name:src Committed By: simonb Date: Thu Jan 14 02:43:04 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.h Log Message: Use netbsd32_* types instead of relying on __packed in the vnd ioctl structures. __packed didn't work on archs where 64-bit

CVS commit: src/sys/compat/common

2020-12-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Dec 19 22:10:56 UTC 2020 Modified Files: src/sys/compat/common: bio_30.c Log Message: malloc(9) -> kmem(9) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/compat/common/bio_30.c Please note that diffs

CVS commit: src/sys/compat/linux/common

2020-12-03 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Dec 4 00:26:16 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_misc_notalpha.c Log Message: Rewrite linux_sys_alarm() to use dogetitimer() / dosetitimer(), rather than fiddling with process timers directly. To

CVS commit: src/sys/compat/netbsd32

2020-11-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 8 07:30:09 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_core.c Log Message: Fix typo; s/__LP64/_LP64/ To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/compat/netbsd32/netbsd32_core.c

CVS commit: src/sys/compat/linux/common

2020-11-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Nov 3 22:08:44 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_socket.c Log Message: PR/55780: Bernd Sieker: setsockopt in Linux emulation misses some options To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat/linux/common

2020-10-24 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Sat Oct 24 09:01:56 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_socket.c Log Message: Fix compat with Linux programs that use longer namelen for sockets Linux is less strict than NetBSD and permits namelen to be

CVS commit: src/sys/compat/netbsd32

2020-10-15 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Oct 15 23:06:06 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_wait.c Log Message: wait4(2): make error paths match with that of native wait4(2): https://nxr.netbsd.org/xref/src/sys/kern/kern_exit.c#720 To

CVS commit: src/sys/compat/netbsd32

2020-10-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Oct 10 00:03:53 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c netbsd32_systrace_args.c Log

CVS commit: src/sys/compat/netbsd32

2020-10-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Oct 10 00:00:54 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_netbsd.c syscalls.master Log Message: Teach about getrandom(2) to COMPAT_NETBSD32. To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230

CVS commit: src/sys/compat/common

2020-10-09 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 9 10:41:53 UTC 2020 Modified Files: src/sys/compat/common: tty_43.c Log Message: tty_43: Check a bitset from userspace is valid before shifting it Passing a negative value to these legacy compat ioctls results in left

CVS commit: src/sys/compat/linux/arch/alpha

2020-10-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Oct 6 13:38:50 UTC 2020 Modified Files: src/sys/compat/linux/arch/alpha: linux_osf1.c Log Message: make MAXTSIZ optional To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sys/compat/netbsd32

2020-09-06 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Sep 7 03:12:51 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.h Log Message: remove __packed from struct netbsd32_lsdisable. the structure is already properly aligned (the embedded int64 already has align(4)

CVS commit: src/sys/compat/linux/arch/alpha

2020-09-03 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Sep 3 14:26:31 UTC 2020 Modified Files: src/sys/compat/linux/arch/alpha: linux_machdep.c Log Message: The conversion of FPU tracking to PCU rendered the fpcurlwp variable unmaintained, which broke FP status info in the

CVS commit: src/sys/compat/common

2020-08-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 8 19:04:58 UTC 2020 Modified Files: src/sys/compat/common: tty_43.c Log Message: Fix the OTIOCGETD emulation. Line discipline 0 is NTTYDISC. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/sys/compat/netbsd32

2020-07-20 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jul 21 05:33:51 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c netbsd32_ioctl.h Log Message: Add lockstat(1) ioctl handling. mrg@: "looks ok." To generate a diff of this commit: cvs rdiff -u -r1.113

CVS commit: src/sys/compat/netbsd32

2020-07-18 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Jul 18 12:46:19 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c netbsd32_ioctl.h Log Message: Add BIOCSETWF32 (bpf) To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113

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

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

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

CVS commit: src/sys/compat/common

2020-06-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jun 28 14:37:53 UTC 2020 Modified Files: src/sys/compat/common: vfs_syscalls_20.c Log Message: Fix struct entry size (thanks kre@) To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

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

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_

CVS commit: src/sys/compat/common

2020-06-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jun 24 17:47:52 UTC 2020 Modified Files: src/sys/compat/common: tty_60.c Log Message: reduce stack usage in compat_60_ptmget_ioctl() - allocate struct ptmget via kmem_alloc() To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/compat

2020-06-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jun 24 10:28:17 UTC 2020 Modified Files: src/sys/compat/common: vfs_syscalls_43.c src/sys/compat/sunos32: sunos32_misc.c Log Message: remove special handling for symbolic links for COMPAT_43 lstat, it's not

CVS commit: src/sys/compat/netinet6

2020-06-12 Thread Roy Marples
Module Name:src Committed By: roy Date: Fri Jun 12 15:25:27 UTC 2020 Added Files: src/sys/compat/netinet6: nd6.h Log Message: Add nd6.h compat header To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/compat/netinet6/nd6.h Please note that diffs are not

CVS commit: src/sys/compat/sunos

2020-06-10 Thread David A. Holland
Module Name:src Committed By: dholland Date: Thu Jun 11 03:47:05 UTC 2020 Modified Files: src/sys/compat/sunos: sunos_syscall.h sunos_syscallargs.h sunos_syscalls.c sunos_sysent.c Log Message: Regen after -r1.82 of compat_sunos syscalls.master last September.

CVS commit: src/sys/compat/linux/common

2020-05-14 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu May 14 08:26:29 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_sched.c Log Message: Fix previous; specify lwpid for curlpw in the case of pid == 0. For linux_sys_sched_setaffinity, pid == 0 means the current

CVS commit: src/sys/compat

2020-05-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 3 01:06:56 UTC 2020 Modified Files: src/sys/compat/linux/arch/alpha: files.linux_alpha src/sys/compat/linux/arch/amd64: linux_commons.c src/sys/compat/linux/arch/arm: linux_commons.c

CVS commit: src/sys/compat/linux/common

2020-04-28 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Apr 29 01:55:18 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_sched.c Log Message: Fix proc / lwp lookup processing in linux_sys_sched_getaffinity() and linux_sys_sched_setaffinity(). They were incorrect even

CVS commit: src/sys/compat/linux/common

2020-04-28 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Apr 29 01:55:52 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_signal.c Log Message: Fix proc lookup by distinguishing between the "tgid" and "tid" cases. To generate a diff of this commit: cvs rdiff -u -r1.81

CVS commit: src/sys/compat

2020-04-28 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Apr 29 01:44:03 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_futex.c src/sys/compat/linux32/common: linux32_misc.c Log Message: Oops, fix a silly mistake in the Linux futex syscall stubs -- we also

CVS commit: src/sys/compat/netbsd32

2020-04-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Apr 27 17:37:34 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_fs.c Log Message: data_len == 0 on mount means "the kernel knows". Fixes amd on compat32. To generate a diff of this commit: cvs rdiff -u -r1.88

CVS commit: src/sys/compat/linux32/arch/amd64

2020-04-26 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Apr 26 19:20:58 UTC 2020 Modified Files: src/sys/compat/linux32/arch/amd64: linux32_syscall.h linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c linux32_systrace_args.c Log Message: Regen for

CVS commit: src/sys/compat/linux/arch

2020-04-26 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Apr 26 19:20:19 UTC 2020 Modified Files: src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h linux_syscalls.c linux_sysent.c src/sys/compat/linux/arch/amd64: linux_syscall.h

CVS commit: src/sys/compat/netbsd32

2020-04-26 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Apr 26 19:18:52 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c netbsd32_systrace_args.c

CVS commit: src/sys/compat/netbsd32

2020-04-26 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Apr 26 19:18:36 UTC 2020 Modified Files: src/sys/compat/netbsd32: syscalls.master Log Message: Mirror the change made to native -- move futex calls to 166-168. To generate a diff of this commit: cvs rdiff -u -r1.136

CVS commit: src/sys/compat/ossaudio

2020-04-19 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sun Apr 19 21:37:00 UTC 2020 Modified Files: src/sys/compat/ossaudio: ossaudio.c Log Message: ossaudio: Avoid giving userland uninitialized memory. Noticed by maxv. The uninitalized field in this structure is `fillers`, an array

CVS commit: src/sys/compat/common

2020-03-26 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Mar 26 13:39:29 UTC 2020 Modified Files: src/sys/compat/common: compat_sysctl_09_43.c Log Message: When using SYSCTL_SETUP there is no guarantee of the order in which the set-up functions will be called, so it is perfectly

CVS commit: src/sys/compat

2020-03-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Mar 21 16:28:57 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_mod.c linux_sysctl.c linux_sysctl.h src/sys/compat/linux32/common: linux32_mod.c linux32_sysctl.c linux32_sysctl.h Log Message:

CVS commit: src/sys/compat/netbsd32

2020-03-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Mar 21 16:17:08 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_mod.c netbsd32_sysctl.c Added Files: src/sys/compat/netbsd32: netbsd32_sysctl.h Log Message: Restore code to sysctl_free() the compat32

CVS commit: src/sys/compat/netbsd32

2020-03-17 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Mar 17 17:16:26 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_sysctl.c Log Message: Remove a debug printf() that accidentally got committed. :( To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

CVS commit: src/sys/compat/netbsd32

2020-03-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 16 01:37:51 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c Log Message: Unfortunately all the clockctl ioctls contain pointers to structs instead of the structs themselves, so they need special

CVS commit: src/sys/compat/netbsd32

2020-03-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 16 00:05:29 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c Log Message: Don't open-code ioctls, pass back to the 64 bit ones (found by maxv@), To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat/netbsd32

2020-03-15 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Mar 15 14:15:12 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_mod.c netbsd32_sysctl.c Removed Files: src/sys/compat/netbsd32: netbsd32_sysctl.h Log Message: Use SYSCTL_SETUP mechanism to establish our

CVS commit: src/sys/compat/netbsd32

2020-03-15 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Mar 15 12:46:02 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_compat_50.c Log Message: Now that we have split the quota code out of the compat_netbsd32_50 module, it no longer depends on compat_50_quota.

CVS commit: src/sys/compat/netbsd32

2020-03-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Mar 14 04:39:15 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c Log Message: wrong size passed to copyout To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110

CVS commit: src/sys/compat/netbsd32

2020-03-12 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Mar 12 15:03:15 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c netbsd32_systrace_args.c

CVS commit: src/sys/compat/netbsd32

2020-03-08 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Mar 9 01:06:34 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_mod.c Log Message: If a syscall requires a module to be autoloaded, the initial invocation of that syscall will return ERESTART. For amd64's

CVS commit: src/sys/compat/common

2020-03-08 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Mar 9 00:42:36 UTC 2020 Modified Files: src/sys/compat/common: compat_50_quota.c Log Message: The compat_50_quota code needs quota support from ufs. Add dependency. To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/sys/compat/netbsd32

2020-03-07 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Mar 8 04:17:50 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_mod.c Log Message: fix indentation. NFCI To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/compat/netbsd32/netbsd32_mod.c

CVS commit: src/sys/compat/netbsd32

2020-03-06 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Mar 7 00:57:31 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c netbsd32_systrace_args.c

CVS commit: src/sys/compat/netbsd32

2020-03-06 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Mar 7 00:56:41 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_compat_43.c syscalls.master Log Message: Properly mark netbsd32_compat_43 syscalls that are directly implemented by calling their compat_43

CVS commit: src/sys/compat/netbsd32

2020-03-05 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Mar 6 04:54:08 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32.mk Log Message: According to mrg@ we need to include aarch64 in the list of those that need to support COMPAT_NETBSD32 To generate a diff of this

CVS commit: src/sys/compat/netbsd32

2020-02-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Feb 27 20:54:24 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_compat_50.c Log Message: Module compat_netbsd32_50 requires module compat_50_quota To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

CVS commit: src/sys/compat/common

2020-02-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Feb 27 18:19:16 UTC 2020 Modified Files: src/sys/compat/common: vfs_syscalls_43.c Log Message: Include all of the vfs syscalls in the syscall_package, not just oquota. Should fix PR kern/55025 XXX pullup-9 To generate a

CVS commit: src/sys/compat/common

2020-02-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Feb 27 17:42:33 UTC 2020 Modified Files: src/sys/compat/common: compat_sysctl_09_43.c Log Message: Ooppss - SYSCTL_SETUP() functions return void. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/compat/common

2020-02-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Feb 27 16:41:59 UTC 2020 Modified Files: src/sys/compat/common: compat_sysctl_09_43.c kern_time_50.c Log Message: Remove explicit calls to the sysctl setup routines, since this is now handled by the module infrastructure.

CVS commit: src/sys/compat/common

2020-02-23 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Feb 23 15:57:09 UTC 2020 Modified Files: src/sys/compat/common: kern_xxx_12.c Log Message: Don't bother with kernel_lock for kern_reboot(). To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/sys/compat/common

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 09:42:20 UTC 2020 Modified Files: src/sys/compat/common: uipc_syscalls_40.c Log Message: pass the address of the field, instead of relying on it being the first field of the structure, no functional change To generate

CVS commit: src/sys/compat/netbsd32

2020-02-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Feb 11 06:33:51 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c Log Message: Where did the +1 came from ? To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109

CVS commit: src/sys/compat/netbsd32

2020-02-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Feb 10 22:33:28 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_ioctl.c Log Message: Don't use strlcpy to copy untrusted input, it may not be NUL-terminated. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat

2020-01-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jan 31 09:01:23 UTC 2020 Modified Files: src/sys/compat/common: vfs_syscalls_30.c src/sys/compat/netbsd32: netbsd32_compat_30.c netbsd32_fs.c Log Message: Fix copyout overflows in fhstat, found by the LGTM bot. Not a

CVS commit: src/sys/compat/common

2020-01-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jan 30 14:07:40 UTC 2020 Modified Files: src/sys/compat/common: kern_info_43.c Log Message: - make sure size is not used uninitialized - limit size range - fix type botch for "size" from maxv@ To generate a diff of this

CVS commit: src/sys/compat/common

2020-01-28 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jan 29 05:48:22 UTC 2020 Modified Files: src/sys/compat/common: uipc_syscalls_50.c Log Message: Don't reference ifp->if_data directly; use if_export_if_data(). To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/compat/common

2020-01-28 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jan 29 05:47:12 UTC 2020 Modified Files: src/sys/compat/common: rtsock_14.c rtsock_50.c Log Message: Don't reference ifp->if_data directly; use if_export_if_data(). To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/sys/compat/common

2020-01-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jan 22 23:41:29 UTC 2020 Modified Files: src/sys/compat/common: compat_50_quota.c Log Message: Since this used to be part of the compat_50 module, make it depend on compat_50 rather than compat_60 module. To generate a

CVS commit: src/sys/compat/netbsd32

2020-01-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jan 18 14:07:31 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c netbsd32_systrace_args.c

CVS commit: src/sys/compat/netbsd32

2020-01-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 18 07:33:24 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c netbsd32_systrace_args.c

CVS commit: src/sys/compat/netbsd32

2020-01-06 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Jan 7 07:26:21 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_vm.c Log Message: don't check the value of retval in netbsd32_mmap() if sys_mmap() was not successful. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/compat/common

2020-01-03 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jan 4 02:40:22 UTC 2020 Modified Files: src/sys/compat/common: compat_90_mod.c Log Message: Resurrect boottime, but only in the compat_90 module (whether built-in or separately loaded). This will enable running of old

CVS commit: src/sys/compat/common

2020-01-01 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jan 1 19:35:21 UTC 2020 Removed Files: src/sys/compat/common: compat_mod.c Log Message: Emove vestigial remains of the monolithic compat module. To generate a diff of this commit: cvs rdiff -u -r1.30 -r0

CVS commit: src/sys/compat

2020-01-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jan 1 14:52:38 UTC 2020 Modified Files: src/sys/compat/common: kern_sig_43.c src/sys/compat/netbsd32: netbsd32_compat_20.c netbsd32_compat_50.c Log Message: Fix three stack info leaks, found by kMSan when just invoking

CVS commit: src/sys/compat/netbsd32

2020-01-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jan 1 09:17:45 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_compat_43.c Log Message: Fix sizeof mismatch in copyin. This leads to a user-triggerable stack overflow. On my test build at least, by luck, the

CVS commit: src/sys/compat/common

2019-12-28 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Dec 28 15:39:52 UTC 2019 Modified Files: src/sys/compat/common: compat_30_mod.c Log Message: For the built-in COMPAT_30 module code, make sure to initialize the uipc_syscalls_30 stuff, notably to include compat_30_socket().

CVS commit: src/sys/compat/common

2019-04-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Apr 29 08:31:29 UTC 2019 Modified Files: src/sys/compat/common: rtsock_50.c rtsock_70.c Log Message: Move the set-up of the net.oroute... sysctl tree to compat_50 since the new AF_ROUTE was introduced in NetBSD-6.0 To

CVS commit: src/sys/compat

2019-04-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Apr 23 07:45:07 UTC 2019 Modified Files: src/sys/compat/common: uipc_syscalls_40.c src/sys/compat/netbsd32: netbsd32_ioctl.c src/sys/compat/sunos: sunos_ioctl.c src/sys/compat/sunos32: sunos32_ioctl.c

CVS commit: src/sys/compat

2019-04-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Apr 18 17:45:12 UTC 2019 Modified Files: src/sys/compat/common: uipc_syscalls_40.c src/sys/compat/linux/common: linux_socket.c src/sys/compat/linux32/common: linux32_socket.c Log Message: Zero out the ifreq

CVS commit: src/sys/compat/common

2019-04-17 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 17 09:21:57 UTC 2019 Modified Files: src/sys/compat/common: compat_70_mod.c compat_80_mod.c Log Message: KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

  1   2   3   4   5   6   7   8   9   10   >