Re: CVS commit: src/sbin/cgdconfig
On Sun, Nov 28, 2021 at 07:42:55AM -0800, Jason Thorpe wrote: > > > > On Nov 27, 2021, at 6:01 PM, Christos Zoulas wrote: > > > > Module Name:src > > Committed By: christos > > Date: Sun Nov 28 02:01:30 UTC 2021 > > > > Modified Files: > > src/sbin/cgdconfig: Makefile > > > > Log Message: > > -lpthread to LDADD (fixes lint build) > > This change is wrong. The -pthread option to the compiler does more than > just add -lpthread to the link phase. Yeah, but the other changes are pretty much useless. Joerg
CVS commit: src/sys/arch/amd64/conf
Module Name:src Committed By: jdolecek Date: Mon Nov 29 20:03:15 UTC 2021 Modified Files: src/sys/arch/amd64/conf: XEN3_DOMU Log Message: enable UFS_ACL option for XEN3_DOMU, it's useful for e.g. running Samba in DomU idea from Matthias Petermann via current-users@ To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/sys/arch/amd64/conf/XEN3_DOMU Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/amd64/conf
Module Name:src Committed By: jdolecek Date: Mon Nov 29 20:03:15 UTC 2021 Modified Files: src/sys/arch/amd64/conf: XEN3_DOMU Log Message: enable UFS_ACL option for XEN3_DOMU, it's useful for e.g. running Samba in DomU idea from Matthias Petermann via current-users@ To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/sys/arch/amd64/conf/XEN3_DOMU Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/amd64/conf/XEN3_DOMU diff -u src/sys/arch/amd64/conf/XEN3_DOMU:1.97 src/sys/arch/amd64/conf/XEN3_DOMU:1.98 --- src/sys/arch/amd64/conf/XEN3_DOMU:1.97 Wed Jan 20 13:22:08 2021 +++ src/sys/arch/amd64/conf/XEN3_DOMU Mon Nov 29 20:03:15 2021 @@ -1,4 +1,4 @@ -# $NetBSD: XEN3_DOMU,v 1.97 2021/01/20 13:22:08 nia Exp $ +# $NetBSD: XEN3_DOMU,v 1.98 2021/11/29 20:03:15 jdolecek Exp $ include "arch/amd64/conf/std.xen" @@ -11,7 +11,7 @@ options INCLUDE_CONFIG_FILE # embed con #options UVMHIST_PRINT #options SYSCALL_DEBUG -#ident "XEN3_DOMU-$Revision: 1.97 $" +#ident "XEN3_DOMU-$Revision: 1.98 $" maxusers 32 # estimated number of users @@ -80,6 +80,7 @@ options QUOTA2 # new, in-filesystem UF #options FFS_EI # FFS Endian Independent support options WAPBL # File system journaling support #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental +options UFS_ACL # UFS Access Control Lists options NFSSERVER # Network File System server #options FFS_NO_SNAPSHOT # No FFS snapshot support options UFS_EXTATTR # Extended attribute support for UFS1
CVS commit: src/tests/usr.bin/xlint/lint1
Module Name:src Committed By: rillig Date: Mon Nov 29 23:58:06 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_242.c msg_242.exp Log Message: tests/lint: demonstrate non-enum warning for enum type mismatch Seen in usr.bin/make/job.c:2122. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/msg_242.c cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_242.exp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/usr.bin/xlint/lint1
Module Name:src Committed By: rillig Date: Mon Nov 29 23:58:06 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_242.c msg_242.exp Log Message: tests/lint: demonstrate non-enum warning for enum type mismatch Seen in usr.bin/make/job.c:2122. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/msg_242.c cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_242.exp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/usr.bin/xlint/lint1/msg_242.c diff -u src/tests/usr.bin/xlint/lint1/msg_242.c:1.4 src/tests/usr.bin/xlint/lint1/msg_242.c:1.5 --- src/tests/usr.bin/xlint/lint1/msg_242.c:1.4 Sat Aug 14 12:46:24 2021 +++ src/tests/usr.bin/xlint/lint1/msg_242.c Mon Nov 29 23:58:06 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: msg_242.c,v 1.4 2021/08/14 12:46:24 rillig Exp $ */ +/* $NetBSD: msg_242.c,v 1.5 2021/11/29 23:58:06 rillig Exp $ */ # 3 "msg_242.c" // Test for message: combination of '%s' and '%s', op %s [242] @@ -32,3 +32,26 @@ example(enum E e, int i) sink_int(i2); sink_int(i3); } + + +/* + * In C, the only ways to create named compile-time integer constants are + * preprocessor macros or enum constants. All other expressions do not count + * as constant expressions, even if they are declared 'static const' or + * 'const'. + */ +unsigned +unnamed_enum(void) +{ + enum { + compile_time_constant = 2 + }; + + unsigned i = 3; + + /* expect+3: warning: dubious operation on enum, op * [241] */ + /* FIXME: Combining 'unsigned int' with 'unsigned int' is OK. */ + /* expect+1: warning: combination of 'unsigned int' and 'unsigned int', op = [242] */ + i = compile_time_constant * i; + return i; +} Index: src/tests/usr.bin/xlint/lint1/msg_242.exp diff -u src/tests/usr.bin/xlint/lint1/msg_242.exp:1.3 src/tests/usr.bin/xlint/lint1/msg_242.exp:1.4 --- src/tests/usr.bin/xlint/lint1/msg_242.exp:1.3 Sat Aug 14 12:46:24 2021 +++ src/tests/usr.bin/xlint/lint1/msg_242.exp Mon Nov 29 23:58:06 2021 @@ -2,3 +2,5 @@ msg_242.c(20): warning: initialization o msg_242.c(22): warning: initialization of 'int' with 'enum E' [277] msg_242.c(26): warning: combination of 'enum E' and 'int', op = [242] msg_242.c(28): warning: combination of 'int' and 'enum E', op = [242] +msg_242.c(55): warning: dubious operation on enum, op * [241] +msg_242.c(55): warning: combination of 'unsigned int' and 'unsigned int', op = [242]
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Nov 30 01:17:02 UTC 2021 Modified Files: src/sys/net: if_ethersubr.c src/sys/net/agr: ieee8023ad_lacp.c ieee8023ad_lacp_debug.c ieee8023ad_lacp_select.c ieee8023ad_lacp_sm_mux.c ieee8023ad_lacp_sm_ptx.c ieee8023ad_lacp_sm_rx.c ieee8023ad_lacp_sm_tx.c ieee8023ad_lacp_timer.c ieee8023ad_marker.c if_agrether.c src/sys/net/lagg: if_lagg_lacp.c if_lagg_lacp.h Added Files: src/sys/net: ether_slowprotocols.h Removed Files: src/sys/net/agr: ieee8023_slowprotocols.h Log Message: Move net/agr/ieee8023_slowprotocols.h to net/ether_slowprotocols.h Definitions related to slowprotocols are duplicated between agr/ieee8023ad_slowprotocols.h and lagg/if_lagg_lacp.h Therefore, the contents are moved to added file. Note: currently, there are just LACP and Marker protocol, however slowprotocols is independent of them. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/net/ether_slowprotocols.h cvs rdiff -u -r1.305 -r1.306 src/sys/net/if_ethersubr.c cvs rdiff -u -r1.2 -r0 src/sys/net/agr/ieee8023_slowprotocols.h cvs rdiff -u -r1.12 -r1.13 src/sys/net/agr/ieee8023ad_lacp.c cvs rdiff -u -r1.6 -r1.7 src/sys/net/agr/ieee8023ad_lacp_debug.c cvs rdiff -u -r1.5 -r1.6 src/sys/net/agr/ieee8023ad_lacp_select.c \ src/sys/net/agr/ieee8023ad_lacp_timer.c \ src/sys/net/agr/ieee8023ad_marker.c cvs rdiff -u -r1.4 -r1.5 src/sys/net/agr/ieee8023ad_lacp_sm_mux.c \ src/sys/net/agr/ieee8023ad_lacp_sm_rx.c \ src/sys/net/agr/ieee8023ad_lacp_sm_tx.c cvs rdiff -u -r1.3 -r1.4 src/sys/net/agr/ieee8023ad_lacp_sm_ptx.c cvs rdiff -u -r1.11 -r1.12 src/sys/net/agr/if_agrether.c cvs rdiff -u -r1.8 -r1.9 src/sys/net/lagg/if_lagg_lacp.c cvs rdiff -u -r1.2 -r1.3 src/sys/net/lagg/if_lagg_lacp.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Nov 30 01:17:02 UTC 2021 Modified Files: src/sys/net: if_ethersubr.c src/sys/net/agr: ieee8023ad_lacp.c ieee8023ad_lacp_debug.c ieee8023ad_lacp_select.c ieee8023ad_lacp_sm_mux.c ieee8023ad_lacp_sm_ptx.c ieee8023ad_lacp_sm_rx.c ieee8023ad_lacp_sm_tx.c ieee8023ad_lacp_timer.c ieee8023ad_marker.c if_agrether.c src/sys/net/lagg: if_lagg_lacp.c if_lagg_lacp.h Added Files: src/sys/net: ether_slowprotocols.h Removed Files: src/sys/net/agr: ieee8023_slowprotocols.h Log Message: Move net/agr/ieee8023_slowprotocols.h to net/ether_slowprotocols.h Definitions related to slowprotocols are duplicated between agr/ieee8023ad_slowprotocols.h and lagg/if_lagg_lacp.h Therefore, the contents are moved to added file. Note: currently, there are just LACP and Marker protocol, however slowprotocols is independent of them. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/net/ether_slowprotocols.h cvs rdiff -u -r1.305 -r1.306 src/sys/net/if_ethersubr.c cvs rdiff -u -r1.2 -r0 src/sys/net/agr/ieee8023_slowprotocols.h cvs rdiff -u -r1.12 -r1.13 src/sys/net/agr/ieee8023ad_lacp.c cvs rdiff -u -r1.6 -r1.7 src/sys/net/agr/ieee8023ad_lacp_debug.c cvs rdiff -u -r1.5 -r1.6 src/sys/net/agr/ieee8023ad_lacp_select.c \ src/sys/net/agr/ieee8023ad_lacp_timer.c \ src/sys/net/agr/ieee8023ad_marker.c cvs rdiff -u -r1.4 -r1.5 src/sys/net/agr/ieee8023ad_lacp_sm_mux.c \ src/sys/net/agr/ieee8023ad_lacp_sm_rx.c \ src/sys/net/agr/ieee8023ad_lacp_sm_tx.c cvs rdiff -u -r1.3 -r1.4 src/sys/net/agr/ieee8023ad_lacp_sm_ptx.c cvs rdiff -u -r1.11 -r1.12 src/sys/net/agr/if_agrether.c cvs rdiff -u -r1.8 -r1.9 src/sys/net/lagg/if_lagg_lacp.c cvs rdiff -u -r1.2 -r1.3 src/sys/net/lagg/if_lagg_lacp.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/net/if_ethersubr.c diff -u src/sys/net/if_ethersubr.c:1.305 src/sys/net/if_ethersubr.c:1.306 --- src/sys/net/if_ethersubr.c:1.305 Thu Nov 25 00:49:34 2021 +++ src/sys/net/if_ethersubr.c Tue Nov 30 01:17:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ethersubr.c,v 1.305 2021/11/25 00:49:34 msaitoh Exp $ */ +/* $NetBSD: if_ethersubr.c,v 1.306 2021/11/30 01:17:02 yamaguchi Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -61,7 +61,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.305 2021/11/25 00:49:34 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.306 2021/11/30 01:17:02 yamaguchi Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -120,7 +120,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_ethersubr #endif #if NAGR > 0 -#include /* XXX */ +#include #include #include #endif Index: src/sys/net/agr/ieee8023ad_lacp.c diff -u src/sys/net/agr/ieee8023ad_lacp.c:1.12 src/sys/net/agr/ieee8023ad_lacp.c:1.13 --- src/sys/net/agr/ieee8023ad_lacp.c:1.12 Thu Sep 30 03:15:25 2021 +++ src/sys/net/agr/ieee8023ad_lacp.c Tue Nov 30 01:17:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ieee8023ad_lacp.c,v 1.12 2021/09/30 03:15:25 yamaguchi Exp $ */ +/* $NetBSD: ieee8023ad_lacp.c,v 1.13 2021/11/30 01:17:02 yamaguchi Exp $ */ /*- * Copyright (c)2005 YAMAMOTO Takashi, @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ieee8023ad_lacp.c,v 1.12 2021/09/30 03:15:25 yamaguchi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ieee8023ad_lacp.c,v 1.13 2021/11/30 01:17:02 yamaguchi Exp $"); #include #include @@ -40,10 +40,10 @@ __KERNEL_RCSID(0, "$NetBSD: ieee8023ad_l #include #include #include +#include #include #include -#include #include #include #include Index: src/sys/net/agr/ieee8023ad_lacp_debug.c diff -u src/sys/net/agr/ieee8023ad_lacp_debug.c:1.6 src/sys/net/agr/ieee8023ad_lacp_debug.c:1.7 --- src/sys/net/agr/ieee8023ad_lacp_debug.c:1.6 Sun Jul 17 20:54:52 2011 +++ src/sys/net/agr/ieee8023ad_lacp_debug.c Tue Nov 30 01:17:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ieee8023ad_lacp_debug.c,v 1.6 2011/07/17 20:54:52 joerg Exp $ */ +/* $NetBSD: ieee8023ad_lacp_debug.c,v 1.7 2021/11/30 01:17:02 yamaguchi Exp $ */ /*- * Copyright (c)2005 YAMAMOTO Takashi, @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ieee8023ad_lacp_debug.c,v 1.6 2011/07/17 20:54:52 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ieee8023ad_lacp_debug.c,v 1.7 2021/11/30 01:17:02 yamaguchi Exp $"); #include #include @@ -35,8 +35,8 @@ __KERNEL_RCSID(0, "$NetBSD: ieee8023ad_l #include #include +#include -#include #include #include #include Index: src/sys/net/agr/ieee8023ad_lacp_select.c diff -u src/sys/net/agr/ieee8023ad_lacp_select.c:1.5 src/sys/net/agr/ieee8023ad_lacp_select.c:1.6 --- src/sys/net/agr/ieee8023ad_lacp_select.c:1.5 Thu Feb 22 06:20:16 2007 +++ src/sys/net/agr/ieee8023ad_lacp_select.c Tue Nov 30 01:17:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ieee8023ad_lacp_select.c,v 1.5 20
CVS commit: src/sys/compat/linux/arch/aarch64
Module Name:src Committed By: ryo Date: Tue Nov 30 01:52:06 UTC 2021 Modified Files: src/sys/compat/linux/arch/aarch64: linux_machdep.h Log Message: - uname should return "aarch64" or "aarch64_be" instead of "evbarm". - define LINUX_LARGEFILE64 to use rlimit instead of orlimit. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/aarch64/linux_machdep.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/linux/arch/aarch64
Module Name:src Committed By: ryo Date: Tue Nov 30 01:52:06 UTC 2021 Modified Files: src/sys/compat/linux/arch/aarch64: linux_machdep.h Log Message: - uname should return "aarch64" or "aarch64_be" instead of "evbarm". - define LINUX_LARGEFILE64 to use rlimit instead of orlimit. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux/arch/aarch64/linux_machdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/linux/arch/aarch64/linux_machdep.h diff -u src/sys/compat/linux/arch/aarch64/linux_machdep.h:1.2 src/sys/compat/linux/arch/aarch64/linux_machdep.h:1.3 --- src/sys/compat/linux/arch/aarch64/linux_machdep.h:1.2 Thu Nov 25 03:08:04 2021 +++ src/sys/compat/linux/arch/aarch64/linux_machdep.h Tue Nov 30 01:52:06 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_machdep.h,v 1.2 2021/11/25 03:08:04 ryo Exp $ */ +/* $NetBSD: linux_machdep.h,v 1.3 2021/11/30 01:52:06 ryo Exp $ */ /*- * Copyright (c) 2021 The NetBSD Foundation, Inc. @@ -124,4 +124,11 @@ void linux_syscall_intern(struct proc *) __END_DECLS #endif /* !_KERNEL */ +#if BYTE_ORDER != BIG_ENDIAN +#define LINUX_UNAME_ARCH "aarch64" +#else +#define LINUX_UNAME_ARCH "aarch64_be" +#endif +#define LINUX_LARGEFILE64 + #endif /* !_AARCH64_LINUX_MACHDEP_H */
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: msaitoh Date: Tue Nov 30 05:02:29 UTC 2021 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: Access byte2... To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/i2c/spdmem_i2c.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/i2c/spdmem_i2c.c diff -u src/sys/dev/i2c/spdmem_i2c.c:1.22 src/sys/dev/i2c/spdmem_i2c.c:1.23 --- src/sys/dev/i2c/spdmem_i2c.c:1.22 Sun Jun 13 09:48:04 2021 +++ src/sys/dev/i2c/spdmem_i2c.c Tue Nov 30 05:02:29 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: spdmem_i2c.c,v 1.22 2021/06/13 09:48:04 mlelstv Exp $ */ +/* $NetBSD: spdmem_i2c.c,v 1.23 2021/11/30 05:02:29 msaitoh Exp $ */ /* * Copyright (c) 2007 Nicolas Joly @@ -40,7 +40,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: spdmem_i2c.c,v 1.22 2021/06/13 09:48:04 mlelstv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: spdmem_i2c.c,v 1.23 2021/11/30 05:02:29 msaitoh Exp $"); #include #include @@ -117,6 +117,7 @@ spdmem_reset_page(struct spdmem_i2c_soft */ rv = iic_exec(sc->sc_tag, I2C_OP_READ_WITH_STOP, sc->sc_addr, ®, 1, &byte0, 1, 0); + reg = 2; rv |= iic_exec(sc->sc_tag, I2C_OP_READ_WITH_STOP, sc->sc_addr, ®, 1, &byte2, 1, 0); if (rv != 0)
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: msaitoh Date: Tue Nov 30 05:02:29 UTC 2021 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: Access byte2... To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/i2c/spdmem_i2c.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/etc/mtree
Module Name:src Committed By: simonb Date: Tue Nov 30 06:21:58 UTC 2021 Modified Files: src/etc/mtree: special Log Message: Add /etc/sshd/ssh_host_ed25519_key* . To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/etc/mtree/special Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/etc/mtree
Module Name:src Committed By: simonb Date: Tue Nov 30 06:21:58 UTC 2021 Modified Files: src/etc/mtree: special Log Message: Add /etc/sshd/ssh_host_ed25519_key* . To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/etc/mtree/special Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/etc/mtree/special diff -u src/etc/mtree/special:1.171 src/etc/mtree/special:1.172 --- src/etc/mtree/special:1.171 Fri Feb 26 18:39:10 2021 +++ src/etc/mtree/special Tue Nov 30 06:21:58 2021 @@ -1,4 +1,4 @@ -# $NetBSD: special,v 1.171 2021/02/26 18:39:10 jakllsch Exp $ +# $NetBSD: special,v 1.172 2021/11/30 06:21:58 simonb Exp $ # @(#)special 8.2 (Berkeley) 1/23/94 # # This file may be overwritten on upgrades. @@ -338,6 +338,8 @@ ./etc/ssh/ssh_host_dsa_key.pub type=file mode=0644 optional ./etc/ssh/ssh_host_ecdsa_key type=file mode=0600 optional tags=nodiff ./etc/ssh/ssh_host_ecdsa_key.pub type=file mode=0644 optional +./etc/ssh/ssh_host_ed25519_key type=file mode=0600 optional tags=nodiff +./etc/ssh/ssh_host_ed25519_key.pub type=file mode=0644 optional ./etc/ssh/ssh_host_key type=file mode=0600 optional tags=nodiff tags=nodiff ./etc/ssh/ssh_host_key.pub type=file mode=0644 optional ./etc/ssh/ssh_host_rsa_key type=file mode=0600 optional tags=nodiff