CVS commit: src/sys/arch/arm/arm

2021-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Feb 17 06:54:23 UTC 2021 Modified Files: src/sys/arch/arm/arm: idle_machdep.c Log Message: Trailing whitespace. *snigger* To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/arm/idle_machdep.c

CVS commit: src/sys/arch/arm/arm

2021-02-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Feb 17 06:54:23 UTC 2021 Modified Files: src/sys/arch/arm/arm: idle_machdep.c Log Message: Trailing whitespace. *snigger* To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/arm/idle_machdep.c

CVS commit: src/sys/arch/x86/x86

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 17 06:33:48 UTC 2021 Modified Files: src/sys/arch/x86/x86: tsc.c Log Message: x86/tsc: fix double space in warning about TSC going backwards To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/sys/arch/x86/x86

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 17 06:33:48 UTC 2021 Modified Files: src/sys/arch/x86/x86: tsc.c Log Message: x86/tsc: fix double space in warning about TSC going backwards To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/sys/dev/usb

2021-02-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Feb 17 06:30:57 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Expose more descriptor items as device properties. To generate a diff of this commit: cvs rdiff -u -r1.248 -r1.249

CVS commit: src/sys/dev/usb

2021-02-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Feb 17 06:30:57 UTC 2021 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Expose more descriptor items as device properties. To generate a diff of this commit: cvs rdiff -u -r1.248 -r1.249

CVS commit: src/sys/kern

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 17 06:25:11 UTC 2021 Modified Files: src/sys/kern: makesyscalls.sh systrace_args.c Log Message: makesyscalls.sh: fix typo in comment To generate a diff of this commit: cvs rdiff -u -r1.182 -r1.183

CVS commit: src/sys/kern

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 17 06:25:11 UTC 2021 Modified Files: src/sys/kern: makesyscalls.sh systrace_args.c Log Message: makesyscalls.sh: fix typo in comment To generate a diff of this commit: cvs rdiff -u -r1.182 -r1.183

CVS commit: src/external/mit/xorg/bin/xterm

2021-02-16 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Feb 17 03:06:07 UTC 2021 Modified Files: src/external/mit/xorg/bin/xterm: Makefile Log Message: remove -DOPT_* from here (now in xtermcfg.h). restore comment lost in rev 1.18. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/external/mit/xorg/bin/xterm

2021-02-16 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Feb 17 03:06:07 UTC 2021 Modified Files: src/external/mit/xorg/bin/xterm: Makefile Log Message: remove -DOPT_* from here (now in xtermcfg.h). restore comment lost in rev 1.18. To generate a diff of this commit: cvs rdiff -u

CVS commit: xsrc/external/mit/xterm/include

2021-02-16 Thread matthew green
Module Name:xsrc Committed By: mrg Date: Wed Feb 17 03:03:28 UTC 2021 Modified Files: xsrc/external/mit/xterm/include: xtermcfg.h Log Message: define OPT_SIXEL_GRAPHICS here like everything else, rather than than Makefile. (OPT_GRAPHICS is already defined here.) To

CVS commit: xsrc/external/mit/xterm/include

2021-02-16 Thread matthew green
Module Name:xsrc Committed By: mrg Date: Wed Feb 17 03:03:28 UTC 2021 Modified Files: xsrc/external/mit/xterm/include: xtermcfg.h Log Message: define OPT_SIXEL_GRAPHICS here like everything else, rather than than Makefile. (OPT_GRAPHICS is already defined here.) To

Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys)

2021-02-16 Thread Valery Ushakov
On Tue, Feb 16, 2021 at 18:51:43 -0500, Christos Zoulas wrote: > On Feb 17, 2:20am, u...@stderr.spb.ru (Valery Ushakov) wrote: > -- Subject: Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys) > > | Well, it was you who did the definion of ALIGNED_POINTER centralized > | and overridable :) > |

Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys)

2021-02-16 Thread Valery Ushakov
On Wed, Feb 17, 2021 at 00:51:03 +0100, Roland Illig wrote: > 17.02.2021 00:25:10 Valery Ushakov : > > On Tue, Feb 16, 2021 at 23:54:46 +0100, Roland Illig wrote: > >> Yes, it does. That's what the "#undef __NO_STRICT_ALIGNMENT" in the > >> test is for. > >> > >> I intentionally placed it

Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys)

2021-02-16 Thread Christos Zoulas
On Feb 17, 2:20am, u...@stderr.spb.ru (Valery Ushakov) wrote: -- Subject: Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys) | Well, it was you who did the definion of ALIGNED_POINTER centralized | and overridable :) | | revision 1.400 | date: 2012-01-25 00:03:36 +0400; author: christos;

Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys)

2021-02-16 Thread Roland Illig
17.02.2021 00:25:10 Valery Ushakov : > On Tue, Feb 16, 2021 at 23:54:46 +0100, Roland Illig wrote: >> Yes, it does.  That's what the "#undef __NO_STRICT_ALIGNMENT" in the >> test is for. >> >> I intentionally placed it between (which defines that >> macro on x86 and some other platforms) and

Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys)

2021-02-16 Thread Roland Illig
On 16.02.2021 23:32, Jason Thorpe wrote: On Feb 16, 2021, at 1:56 PM, Roland Illig wrote: A downside of this test is that the macro from gets only evaluated at compile time of the test. The test therefore cannot cover future updates to without being reinstalled itself. But at least for

Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys)

2021-02-16 Thread Valery Ushakov
On Tue, Feb 16, 2021 at 17:53:09 -0500, Christos Zoulas wrote: > In this case "type" is a struct and we have __alignof() to handle > it, but does this give the right answer? > > Also ALIGNED_POINTER is not conditional to __NO_STRICT_ALIGNMENT and > can be overriden (the opposite goes for

Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys)

2021-02-16 Thread Valery Ushakov
On Tue, Feb 16, 2021 at 23:54:46 +0100, Roland Illig wrote: > On 16.02.2021 23:40, Valery Ushakov wrote: > > On Tue, Feb 16, 2021 at 22:56:19 +0100, Roland Illig wrote: > > > > > On 16.02.2021 19:46, Roy Marples wrote: > > > > I suggest we change POINTER_ALIGNED_P to accept the alignment value

Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys)

2021-02-16 Thread Roland Illig
On 16.02.2021 23:40, Valery Ushakov wrote: On Tue, Feb 16, 2021 at 22:56:19 +0100, Roland Illig wrote: On 16.02.2021 19:46, Roy Marples wrote: I suggest we change POINTER_ALIGNED_P to accept the alignment value we want rather than the bitwise test we supply, like so: #define

Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys)

2021-02-16 Thread Christos Zoulas
In this case "type" is a struct and we have __alignof() to handle it, but does this give the right answer? Also ALIGNED_POINTER is not conditional to __NO_STRICT_ALIGNMENT and can be overriden (the opposite goes for POINTER_ALIGNED_P) I am all for having one macro, but how can we satisfy all

Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys)

2021-02-16 Thread Valery Ushakov
On Tue, Feb 16, 2021 at 22:56:19 +0100, Roland Illig wrote: > On 16.02.2021 19:46, Roy Marples wrote: > > I suggest we change POINTER_ALIGNED_P to accept the alignment value we > > want rather than the bitwise test we supply, like so: > > > > #define POINTER_ALIGNED_P(p, a) (((uintptr_t)(p) &

Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys)

2021-02-16 Thread Jason Thorpe
> On Feb 16, 2021, at 1:56 PM, Roland Illig wrote: > > A downside of this test is that the macro from gets only > evaluated at compile time of the test. The test therefore cannot cover > future updates to without being reinstalled itself. But > at least for the release builds, it ensures a

CVS commit: src/sys/arch/arm/pic

2021-02-16 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue Feb 16 22:12:50 UTC 2021 Modified Files: src/sys/arch/arm/pic: pic.c pic_splfuncs.c Log Message: pic: avoid pic_do_pending_ints if pic_mark_pending_* has never been called To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/arm/pic

2021-02-16 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue Feb 16 22:12:50 UTC 2021 Modified Files: src/sys/arch/arm/pic: pic.c pic_splfuncs.c Log Message: pic: avoid pic_do_pending_ints if pic_mark_pending_* has never been called To generate a diff of this commit: cvs rdiff -u

Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys)

2021-02-16 Thread Roland Illig
On 16.02.2021 19:46, Roy Marples wrote: I suggest we change POINTER_ALIGNED_P to accept the alignment value we want rather than the bitwise test we supply, like so: #define    POINTER_ALIGNED_P(p, a)    (((uintptr_t)(p) & ((a) - 1)) That's a good definition, clear, simple, obvious,

CVS commit: src/usr.bin/make

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 19:46:15 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: clean up VarAdd, Var_Delete, Var_ReexportVars No functional change. To generate a diff of this commit: cvs rdiff -u -r1.830 -r1.831

CVS commit: src/usr.bin/make

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 19:46:15 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: clean up VarAdd, Var_Delete, Var_ReexportVars No functional change. To generate a diff of this commit: cvs rdiff -u -r1.830 -r1.831

CVS commit: src/usr.bin/make/unit-tests

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 19:43:09 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varcmd.mk Log Message: make: document the bad state in which the test varcmd.mk is To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/usr.bin/make/unit-tests

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 19:43:09 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: varcmd.mk Log Message: make: document the bad state in which the test varcmd.mk is To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/usr.bin/make/unit-tests

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 19:01:18 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-export.mk Log Message: make: test exporting a variable that itself depends on a subprocess When the point that "isn't going to end well" is

CVS commit: src/usr.bin/make/unit-tests

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 19:01:18 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-export.mk Log Message: make: test exporting a variable that itself depends on a subprocess When the point that "isn't going to end well" is

Re: CVS commit: src/sys

2021-02-16 Thread Christos Zoulas
Yes, I agree. I am going to change that. christos > On Feb 16, 2021, at 1:46 PM, Roy Marples wrote: > > Hi Christos > > On 14/02/2021 20:58, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Sun Feb 14 20:58:35 UTC 2021 >> Modified Files: >>

Re: CVS commit: src/sys

2021-02-16 Thread Roy Marples
Hi Christos On 14/02/2021 20:58, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Sun Feb 14 20:58:35 UTC 2021 Modified Files: src/sys/net: if_arp.h if_bridge.c src/sys/netinet: icmp_private.h if_arp.c igmp_var.h in_l2tp.c ip_flow.c

CVS commit: src/usr.bin/make/unit-tests

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 18:12:46 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-export.mk Log Message: make: clarify what .export ${:U} means To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/usr.bin/make/unit-tests

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 18:12:46 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-export.mk Log Message: make: clarify what .export ${:U} means To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/usr.bin/make/unit-tests

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 18:02:19 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-undef.exp directive-undef.mk Log Message: make: demonstrate inconsistency in .undef of an exported variable To generate a diff of this commit:

CVS commit: src/usr.bin/make/unit-tests

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 18:02:19 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: directive-undef.exp directive-undef.mk Log Message: make: demonstrate inconsistency in .undef of an exported variable To generate a diff of this commit:

CVS commit: src/usr.bin/make

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 17:41:23 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: clean up and update comments in var.c During the refactorings of the last months, several comments have become outdated, some are now

CVS commit: src/usr.bin/make

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 17:41:23 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: clean up and update comments in var.c During the refactorings of the last months, several comments have become outdated, some are now

CVS commit: src/usr.bin/make

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 16:33:40 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: use bit-shift expressions for VarFlags constants These are easier to read than hex constants. There was no need to skip bits 2 and 3 (there

CVS commit: src/usr.bin/make

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 16:33:40 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: use bit-shift expressions for VarFlags constants These are easier to read than hex constants. There was no need to skip bits 2 and 3 (there

CVS commit: src/usr.bin/make

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 16:28:41 UTC 2021 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: directive-export-impl.exp directive-export-impl.mk Log Message: make: rename constants for VarFlags The old

CVS commit: src/usr.bin/make

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 16:28:41 UTC 2021 Modified Files: src/usr.bin/make: var.c src/usr.bin/make/unit-tests: directive-export-impl.exp directive-export-impl.mk Log Message: make: rename constants for VarFlags The old

CVS commit: src/usr.bin/make

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 16:14:27 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: sync comment about duplicated code with reality There are only very few places in var.c that contain really duplicate code anymore. There

CVS commit: src/usr.bin/make

2021-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 16 16:14:27 UTC 2021 Modified Files: src/usr.bin/make: var.c Log Message: make: sync comment about duplicated code with reality There are only very few places in var.c that contain really duplicate code anymore. There

CVS commit: src/bin/sh

2021-02-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Feb 16 15:30:26 UTC 2021 Modified Files: src/bin/sh: input.c Log Message: PR bin/55979 Correctly handle (ie: ignore completely) \0 chars (nuls) in the shell command input stream (script, dot file, or stdin). Previously nul

CVS commit: src/bin/sh

2021-02-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Feb 16 15:30:26 UTC 2021 Modified Files: src/bin/sh: input.c Log Message: PR bin/55979 Correctly handle (ie: ignore completely) \0 chars (nuls) in the shell command input stream (script, dot file, or stdin). Previously nul

CVS commit: src/bin/sh

2021-02-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Feb 16 15:30:12 UTC 2021 Modified Files: src/bin/sh: exec.c Log Message: PR bin/55979 This fixes the MSAN detected reference to an unitialised variable (an unitialised field in a struct) which happens when a command is not

CVS commit: src/bin/sh

2021-02-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Feb 16 15:30:12 UTC 2021 Modified Files: src/bin/sh: exec.c Log Message: PR bin/55979 This fixes the MSAN detected reference to an unitialised variable (an unitialised field in a struct) which happens when a command is not

CVS commit: src/sys/arch/evbmips/mipssim

2021-02-16 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Feb 16 15:06:30 UTC 2021 Modified Files: src/sys/arch/evbmips/mipssim: mipssimreg.h Log Message: Whitespace nit. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/mipssim/mipssimreg.h Please

CVS commit: src/sys/arch/evbmips/mipssim

2021-02-16 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Feb 16 15:06:30 UTC 2021 Modified Files: src/sys/arch/evbmips/mipssim: mipssimreg.h Log Message: Whitespace nit. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/mipssim/mipssimreg.h Please

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-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/lib/libc

2021-02-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Feb 16 14:44:26 UTC 2021 Modified Files: src/lib/libc/stdio: printf.3 wprintf.3 src/lib/libc/stdlib: rand48.3 Log Message: Correct floating-point terminology. Might want to harmonize the printf(3) and wprintf(3)

CVS commit: src/lib/libc

2021-02-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Feb 16 14:44:26 UTC 2021 Modified Files: src/lib/libc/stdio: printf.3 wprintf.3 src/lib/libc/stdlib: rand48.3 Log Message: Correct floating-point terminology. Might want to harmonize the printf(3) and wprintf(3)

CVS commit: src/sys/arch/evbmips/conf

2021-02-16 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Tue Feb 16 10:58:33 UTC 2021 Modified Files: src/sys/arch/evbmips/conf: MIPSSIM files.mipssim Log Message: I forgot to add the needed conf files for the mipssim virtio addition To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/evbmips/conf

2021-02-16 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Tue Feb 16 10:58:33 UTC 2021 Modified Files: src/sys/arch/evbmips/conf: MIPSSIM files.mipssim Log Message: I forgot to add the needed conf files for the mipssim virtio addition To generate a diff of this commit: cvs rdiff -u

Re: CVS commit: src/sys/netinet

2021-02-16 Thread Martin Husemann
On Tue, Feb 16, 2021 at 09:29:15AM +, Roy Marples wrote: > In my testing on aarch64 and octeon (both of which I think are strict > alignment) neither need pullups nor copyups as the mbuf already has enough > and arphrd is aligned correctly already. Ah, we asserted too much alignment - indeed,

CVS commit: src/sys/netinet

2021-02-16 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Feb 16 10:22:52 UTC 2021 Modified Files: src/sys/netinet: if_arp.c Log Message: One more time: backout arp header alignment, now that the alignment asserted has been aligned to reality. Also remove unused ARP_HDR_ALIGNED_P

CVS commit: src/sys/netinet

2021-02-16 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Feb 16 10:22:52 UTC 2021 Modified Files: src/sys/netinet: if_arp.c Log Message: One more time: backout arp header alignment, now that the alignment asserted has been aligned to reality. Also remove unused ARP_HDR_ALIGNED_P

CVS commit: src/sys/net

2021-02-16 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Feb 16 10:20:56 UTC 2021 Modified Files: src/sys/net: if_arp.h Log Message: ARP headers only need 2 byte alignment - pointed out by roy. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/net/if_arp.h

CVS commit: src/sys/net

2021-02-16 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Feb 16 10:20:56 UTC 2021 Modified Files: src/sys/net: if_arp.h Log Message: ARP headers only need 2 byte alignment - pointed out by roy. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/net/if_arp.h

CVS commit: src/etc/rc.d

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 10:02:42 UTC 2021 Modified Files: src/etc/rc.d: mountall mountd Log Message: Enable "/etc/zfs/exports" from "zfs share" in rc.d/mountd and rc.d/mountall. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/etc/rc.d

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 10:02:42 UTC 2021 Modified Files: src/etc/rc.d: mountall mountd Log Message: Enable "/etc/zfs/exports" from "zfs share" in rc.d/mountd and rc.d/mountall. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/usr.sbin/mountd

2021-02-16 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Feb 16 10:01:55 UTC 2021 Modified Files: src/usr.sbin/mountd: mountd.8 Log Message: Reword slightly. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/mountd/mountd.8 Please note that diffs are not

CVS commit: src/usr.sbin/mountd

2021-02-16 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Feb 16 10:01:55 UTC 2021 Modified Files: src/usr.sbin/mountd: mountd.8 Log Message: Reword slightly. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/mountd/mountd.8 Please note that diffs are not

CVS commit: src/usr.sbin/mountd

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 10:00:27 UTC 2021 Modified Files: src/usr.sbin/mountd: mountd.8 mountd.c Log Message: Add support for multiple exports files. This will be useful for example for ZFS, where we have an automatically generated

CVS commit: src/usr.sbin/mountd

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 10:00:27 UTC 2021 Modified Files: src/usr.sbin/mountd: mountd.8 mountd.c Log Message: Add support for multiple exports files. This will be useful for example for ZFS, where we have an automatically generated

CVS commit: src/usr.sbin/mountd

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 09:58:35 UTC 2021 Modified Files: src/usr.sbin/mountd: mountd.c Log Message: Split get_exportlist() into get_exportlist() and get_exportlist_one() in preparation to support multiple input files. No functional change

CVS commit: src/usr.sbin/mountd

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 09:58:35 UTC 2021 Modified Files: src/usr.sbin/mountd: mountd.c Log Message: Split get_exportlist() into get_exportlist() and get_exportlist_one() in preparation to support multiple input files. No functional change

CVS commit: src/sys

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 09:56:32 UTC 2021 Modified Files: src/sys/kern: vfs_mount.c src/sys/uvm: uvm_swap.c Log Message: Reorganize uvm_swap_shutdown() a bit, make sure the vnode gets locked and referenced across the call to

CVS commit: src/sys

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 09:56:32 UTC 2021 Modified Files: src/sys/kern: vfs_mount.c src/sys/uvm: uvm_swap.c Log Message: Reorganize uvm_swap_shutdown() a bit, make sure the vnode gets locked and referenced across the call to

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs/sys

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 09:54:17 UTC 2021 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs/sys: zfs_context.h Log Message: Use the right uid / gid for nobody:nobody like FreeBSD does. Prevents null pointer dereferences when

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs/sys

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Feb 16 09:54:17 UTC 2021 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs/sys: zfs_context.h Log Message: Use the right uid / gid for nobody:nobody like FreeBSD does. Prevents null pointer dereferences when

CVS commit: src

2021-02-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Feb 16 09:46:24 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/bin/sh: Makefile Added Files: src/tests/bin/sh: t_input.sh Log Message: PR bin/55979 Add a sh ATF test to demonstrate a bug in

CVS commit: src

2021-02-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Feb 16 09:46:24 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/bin/sh: Makefile Added Files: src/tests/bin/sh: t_input.sh Log Message: PR bin/55979 Add a sh ATF test to demonstrate a bug in

Re: CVS commit: src/sys/netinet

2021-02-16 Thread Roy Marples
On 16/02/2021 09:20, Martin Husemann wrote: On Tue, Feb 16, 2021 at 08:26:40AM +, Roy Marples wrote: Is that because ARP_HDR_ALIGNMENT is forcing 4 byte alignment? The KASSERT a few lines below triggerd, we need to be consistent. For the purposes of using just the header we define I'm

Re: CVS commit: src/sys/netinet

2021-02-16 Thread Martin Husemann
On Tue, Feb 16, 2021 at 08:26:40AM +, Roy Marples wrote: > Is that because ARP_HDR_ALIGNMENT is forcing 4 byte alignment? The KASSERT a few lines below triggerd, we need to be consistent. > For the purposes of using just the header we define I'm pretty sure we can > use 2 byte alignment and

Re: CVS commit: src/sys/netinet

2021-02-16 Thread Roy Marples
On 16/02/2021 05:44, Martin Husemann wrote: Module Name:src Committed By: martin Date: Tue Feb 16 05:44:14 UTC 2021 Modified Files: src/sys/netinet: if_arp.c Log Message: Undo previous backout: alignment is needed here. The reason for the previous backout was a