CVS commit: src/common/lib/libc/arch/x86_64/string

2020-01-16 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Thu Jan 16 09:23:43 UTC 2020

Modified Files:
src/common/lib/libc/arch/x86_64/string: memcmp.S

Log Message:
Back out previous, it's broken.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/common/lib/libc/arch/x86_64/string/memcmp.S

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



CVS commit: src/sys/arch/x68k/stand/xxboot

2020-01-16 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Thu Jan 16 12:54:16 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot

Log Message:
Remove .else part of .if OBJECT_FMT == ELF.
All similar parts in other Makefiles are removed in 2010.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot

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



CVS commit: src

2020-01-16 Thread Frank Kardel
Module Name:src
Committed By:   kardel
Date:   Thu Jan 16 12:56:40 UTC 2020

Modified Files:
src/share/man/man4: carp.4
src/sys/netinet: ip_carp.c ip_carp.h

Log Message:
Provide SIOCGIFMEDIA ioctl to deliver link status.
Add link0 (IFF_LINK0) flag to map INIT state to LINK_STATE_DOWN
instead of LINK_STATE_UNKNOWN. This allows routing software to
suppress routes to the interface of the carp interface when in
init state (e. g. link down in the parent interface).


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/carp.4
cvs rdiff -u -r1.104 -r1.105 src/sys/netinet/ip_carp.c
cvs rdiff -u -r1.10 -r1.11 src/sys/netinet/ip_carp.h

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



CVS commit: src/sys/arch/x68k/stand

2020-01-16 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Thu Jan 16 13:15:47 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: Makefile
src/sys/arch/x68k/stand/boot_ustar: Makefile
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot

Log Message:
Rewrite limit check using cross-build tools.
This eliminates use of hosts tr(1) and bc(1).
(But I'm going to remove this again soon due to other reason)


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/x68k/stand/boot_ufs/Makefile
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/x68k/stand/boot_ustar/Makefile
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot

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



CVS commit: src/sys/net

2020-01-16 Thread Frank Kardel
Module Name:src
Committed By:   kardel
Date:   Thu Jan 16 13:16:59 UTC 2020

Modified Files:
src/sys/net: if_ethersubr.c

Log Message:
use the CARP interface for arp/nd instead of the carp parent interface.
this provides the correct source mac address for the packets.

there are routers out there that cache the source mac during
nd and then subsequently bypass/miss packet filters on carp
interfaces as they send to the parent interface mac instead of the
correct carp interface mac.


To generate a diff of this commit:
cvs rdiff -u -r1.280 -r1.281 src/sys/net/if_ethersubr.c

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



CVS commit: src/sys/arch/x68k/stand

2020-01-16 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Thu Jan 16 13:37:27 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: boot.S
src/sys/arch/x68k/stand/boot_ustar: boot_ustar.S
src/sys/arch/x68k/stand/xxboot: boot.S

Log Message:
Use .org directive to fix disklabel location instead of hand calculation.
If the code size before disklabel is less, zero is filled automatically.
If the code size before disklabel is exceeded, assembler stops with error.
Note that this changes a padding word in the current output binary from
a NOP instruction to zero but there are no functional changes.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x68k/stand/boot_ufs/boot.S
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/stand/boot_ustar/boot_ustar.S
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/boot.S

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



CVS commit: src/usr.sbin/sysinst

2020-01-16 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jan 16 13:56:24 UTC 2020

Modified Files:
src/usr.sbin/sysinst: install.c upgrade.c

Log Message:
Remove useless calls to get_ramsize() - return value is ignored and
the function has no side effects.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/sysinst/install.c \
src/usr.sbin/sysinst/upgrade.c

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



CVS commit: src/sys/opencrypto

2020-01-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 16 15:29:24 UTC 2020

Modified Files:
src/sys/opencrypto: cryptodev.c ocryptodev.c

Log Message:
Initialize the session variable to an impossible session to prevent compiler
warnings.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/opencrypto/cryptodev.c
cvs rdiff -u -r1.14 -r1.15 src/sys/opencrypto/ocryptodev.c

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



CVS commit: [ad-namecache] src/sys/kern

2020-01-16 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Thu Jan 16 16:45:31 UTC 2020

Modified Files:
src/sys/kern [ad-namecache]: vfs_lookup.c

Log Message:
Push the vnode locking in namei() about as far back as it will go.


To generate a diff of this commit:
cvs rdiff -u -r1.212 -r1.212.4.1 src/sys/kern/vfs_lookup.c

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



CVS commit: src/usr.sbin/sysinst

2020-01-16 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Jan 16 16:47:19 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c defs.h disks.c main.c

Log Message:
Fix /tmp tmpfs handling and on machines with enough RAM default to
creating a /tmp tmpfs with 25% of ram size limit. Suggested by ad@.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.sbin/sysinst/bsddisklabel.c
cvs rdiff -u -r1.50 -r1.51 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.59 -r1.60 src/usr.sbin/sysinst/disks.c
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/sysinst/main.c

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



CVS commit: src/external/bsd/libarchive/dist/libarchive/test

2020-01-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 17 00:36:20 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive/test:
test_read_disk_directory_traversals.c

Log Message:
pull fix from head (O_EXEC means O_SEARCH only on FreeBSD)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \

src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c

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



CVS commit: src/external/bsd/libarchive/dist/libarchive/test

2020-01-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 17 00:37:03 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive/test:
test_write_disk_secure.c

Log Message:
fix test I broke by commenting out flags.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/libarchive/dist/libarchive/test/test_write_disk_secure.c

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



CVS commit: src/external/bsd/libarchive/dist/libarchive/test

2020-01-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 17 00:37:26 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive/test:
test_archive_write_set_format_filter_by_ext.c
test_read_format_7zip.c test_sparse_basic.c
test_write_format_zip_file.c test_write_format_zip_file_zip64.c

Log Message:
make things compile (pullup merged)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \

src/external/bsd/libarchive/dist/libarchive/test/test_archive_write_set_format_filter_by_ext.c
 \
src/external/bsd/libarchive/dist/libarchive/test/test_read_format_7zip.c \

src/external/bsd/libarchive/dist/libarchive/test/test_write_format_zip_file.c \

src/external/bsd/libarchive/dist/libarchive/test/test_write_format_zip_file_zip64.c
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/test/test_sparse_basic.c

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



CVS commit: src/external/bsd/libarchive/dist/test_utils

2020-01-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 17 00:38:19 UTC 2020

Added Files:
src/external/bsd/libarchive/dist/test_utils: test_common.h test_main.c
test_utils.c test_utils.h

Log Message:
Add back the test harness


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/bsd/libarchive/dist/test_utils/test_common.h \
src/external/bsd/libarchive/dist/test_utils/test_main.c \
src/external/bsd/libarchive/dist/test_utils/test_utils.c \
src/external/bsd/libarchive/dist/test_utils/test_utils.h

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



CVS commit: src/external/bsd/libarchive

2020-01-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 17 00:39:27 UTC 2020

Modified Files:
src/external/bsd/libarchive: prepare-import.sh

Log Message:
Don't remove the test harness utilities (the tests were not removed already
which is the majority of the files), we can use them for atf now.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/libarchive/prepare-import.sh

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



CVS commit: src/sys/dev/pci

2020-01-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Jan 17 02:08:26 UTC 2020

Modified Files:
src/sys/dev/pci: pci_subr.c

Log Message:
 Fix a bug that the virtual channel extended configuraton's arbitration phase
register can't be decoded correcty. Found by jmcneill.


To generate a diff of this commit:
cvs rdiff -u -r1.218 -r1.219 src/sys/dev/pci/pci_subr.c

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



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

2020-01-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Jan 17 04:48:21 UTC 2020

Modified Files:
src/sys/arch/x86/x86: procfs_machdep.c

Log Message:
 Add Fast Short Rep Mov(fsrm).


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/x86/x86/procfs_machdep.c

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



CVS commit: src/sys/dev/pci

2020-01-16 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri Jan 17 05:11:04 UTC 2020

Modified Files:
src/sys/dev/pci: if_aq.c

Log Message:
set/clear IFF_OACTIVE flag only on txring 0


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/if_aq.c

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



CVS commit: src/sys/dev/pci

2020-01-16 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri Jan 17 05:16:33 UTC 2020

Modified Files:
src/sys/dev/pci: if_aq.c

Log Message:
make counters per queue


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/if_aq.c

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



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

2020-01-16 Thread John Klos
Module Name:src
Committed By:   jklos
Date:   Fri Jan 17 05:20:21 UTC 2020

Modified Files:
src/sys/arch/evbarm/conf: POGO

Log Message:
Remove npf in POGO because it's now in SHEEVAPLUG.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbarm/conf/POGO

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



CVS commit: src/sys/dev/pci

2020-01-16 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri Jan 17 05:22:42 UTC 2020

Modified Files:
src/sys/dev/pci: files.pci if_aq.c

Log Message:
support internal PHY temperature sensor


To generate a diff of this commit:
cvs rdiff -u -r1.420 -r1.421 src/sys/dev/pci/files.pci
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/if_aq.c

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