Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (2h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 17:19:52 UTC Now

2018-07-27 14:34:44 UTC MAIN commitmail json YAML

Claim C17 (although I'm unsure), add a note about C11's requirements.

(maya)

2018-07-27 14:30:22 UTC MAIN commitmail json YAML

2018-07-27 14:29:46 UTC MAIN commitmail json YAML

2018-07-27 13:08:47 UTC MAIN commitmail json YAML

C17 conformance: aligned_alloc's size doesn't need to be a multiple of
alignment any more.

Thanks Joseph Myers for the heads up.

(maya)

2018-07-27 12:02:26 UTC MAIN commitmail json YAML

2018-07-27 10:55:40 UTC netbsd-8 commitmail json YAML

2018-07-27 10:54:21 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #944):

external/mit/xorg/tools/mkfontscale/Makefile: revision 1.13
share/mk/bsd.own.mk: revision 1.1066

- Fix groff reproducibility:
    - specify mdoc and font paths
    - clear encoding
    - specify pagesize on the command line

XXX: pullup-8

Use the fonts from our installed directory not the system when we are a tool!
Martin found it.

XXX pullup-8

(martin)

2018-07-27 10:52:04 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #943):

usr.sbin/ypserv/ypinit/ypinit.sh: revision 1.13

PR bin/53458

Bring this script a little up to date - make it work with modern /bin/sh
(avoid HOSTNAME as a random variable) clean up trailing spaces on lines,
use $( ) instead of `` ...

(martin)

2018-07-27 10:49:48 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by reinoud in ticket #942):

sys/fs/udf/udf_subr.c: revision 1.142

Enhance logical volume integrity descriptor handling and provide
bug-compatibility for Linux mkudffs 1.3 images.

(martin)

2018-07-27 10:47:51 UTC netbsd-7 commitmail json YAML

2018-07-27 10:46:45 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by reinoud in ticket #1622):

sys/fs/udf/udf_subr.c: revision 1.142

Enhance logical volume integrity descriptor handling and provide
bug-compatibility for Linux mkudffs 1.3 images.

(martin)

2018-07-27 10:43:21 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by roy in ticket #1621):

external/bsd/dhcpcd/dist/compat/crypt/sha256.c  up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/crypt/md5.c    up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/crypt/md5.h    up to 1.1.1.2
external/bsd/dhcpcd/dist/compat/crypt/sha256.h  up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/crypt/hmac.c    up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/crypt/hmac.h    up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/_strtoi.h      up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/arc4random.c    up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/arc4random.h    up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/arc4random_uniform.c up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/arc4random_uniform.h up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/bitops.h        up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/dprintf.c      up to 1.1.1.2
external/bsd/dhcpcd/dist/compat/dprintf.h      up to 1.1.1.2
external/bsd/dhcpcd/dist/compat/endian.h        up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/pidfile.c      up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/pidfile.h      up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/queue.h        up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/reallocarray.c  up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/reallocarray.h  up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/strtoi.c        up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/strtoi.h        up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/strtou.c        up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/strlcpy.c      up to 1.1.1.1
external/bsd/dhcpcd/dist/compat/strlcpy.h      up to 1.1.1.1
external/bsd/dhcpcd/dist/config-null.mk        up to 1.1.1.1
external/bsd/dhcpcd/dist/configure              up to 1.1.1.8
external/bsd/dhcpcd/dist/iconfig.mk            up to 1.1.1.1
external/bsd/dhcpcd/dist/hooks/01-test          up to 1.1.1.2
external/bsd/dhcpcd/dist/hooks/02-dump          up to 1.1.1.1
external/bsd/dhcpcd/dist/hooks/10-wpa_supplicant up to 1.1.1.2
external/bsd/dhcpcd/dist/hooks/15-timezone      up to 1.1.1.2
external/bsd/dhcpcd/dist/hooks/20-resolv.conf  up to 1.1.1.2
external/bsd/dhcpcd/dist/hooks/29-lookup-hostname up to 1.1.1.2
external/bsd/dhcpcd/dist/hooks/30-hostname      up to 1.1.1.2
external/bsd/dhcpcd/dist/hooks/50-dhcpcd-compat up to 1.1.1.1
external/bsd/dhcpcd/dist/hooks/50-ntp.conf      up to 1.1.1.2
external/bsd/dhcpcd/dist/hooks/50-yp.conf      up to 1.1.1.2
external/bsd/dhcpcd/dist/hooks/50-ypbind.in    up to 1.1.1.2
external/bsd/dhcpcd/dist/hooks/Makefile        up to 1.1.1.1
external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.8.in up to 1.1.1.4
external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.in up to 1.1.1.4
external/bsd/dhcpcd/dist/src/GNUmakefile        up to 1.1.1.1
external/bsd/dhcpcd/dist/src/Makefile          up to 1.1.1.4
external/bsd/dhcpcd/dist/src/arp.c              up to 1.1.1.7
external/bsd/dhcpcd/dist/src/arp.h              up to 1.1.1.4
external/bsd/dhcpcd/dist/src/auth.c            up to 1.1.1.5
external/bsd/dhcpcd/dist/src/auth.h            up to 1.1.1.3
external/bsd/dhcpcd/dist/src/bpf.c              up to 1.7
external/bsd/dhcpcd/dist/src/bpf.h              up to 1.1.1.4
external/bsd/dhcpcd/dist/src/common.c          up to 1.1.1.5
external/bsd/dhcpcd/dist/src/common.h          up to 1.1.1.4
external/bsd/dhcpcd/dist/src/control.c          up to 1.1.1.3
external/bsd/dhcpcd/dist/src/control.h          up to 1.1.1.2
external/bsd/dhcpcd/dist/src/defs.h            up to 1.1.1.15
external/bsd/dhcpcd/dist/src/dev.c              up to 1.1.1.3
external/bsd/dhcpcd/dist/src/dev.h              up to 1.1.1.2
external/bsd/dhcpcd/dist/src/dhcp-common.c      up to 1.1.1.4
external/bsd/dhcpcd/dist/src/dhcp-common.h      up to 1.1.1.2
external/bsd/dhcpcd/dist/src/dhcp.c            up to 1.11
external/bsd/dhcpcd/dist/src/dhcp.h            up to 1.1.1.6
external/bsd/dhcpcd/dist/src/dhcp6.c            up to 1.1.1.12
external/bsd/dhcpcd/dist/src/dhcp6.h            up to 1.1.1.6
external/bsd/dhcpcd/dist/src/dhcpcd-definitions-small.conf up to 1.1.1.2
external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf up to 1.1.1.2
external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in up to 1.1.1.2
external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in up to 1.1.1.2
external/bsd/dhcpcd/dist/src/dhcpcd.8.in        up to 1.1.1.10
external/bsd/dhcpcd/dist/src/dhcpcd.c          up to 1.13
external/bsd/dhcpcd/dist/src/dhcpcd.conf        up to 1.1.1.2
external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in  up to 1.1.1.10
external/bsd/dhcpcd/dist/src/dhcpcd.h          up to 1.1.1.5
external/bsd/dhcpcd/dist/src/duid.c            up to 1.1.1.3
external/bsd/dhcpcd/dist/src/duid.h            up to 1.1.1.1
external/bsd/dhcpcd/dist/src/eloop.c            up to 1.1.1.5
external/bsd/dhcpcd/dist/src/eloop.h            up to 1.1.1.3
external/bsd/dhcpcd/dist/src/genembedc          up to 1.1.1.1
external/bsd/dhcpcd/dist/src/genembedh          up to 1.1.1.1
external/bsd/dhcpcd/dist/src/if-bsd.c          up to 1.1.1.8
external/bsd/dhcpcd/dist/src/if-linux-wext.c    up to 1.1.1.2
external/bsd/dhcpcd/dist/src/if-linux.c        up to 1.1.1.10
external/bsd/dhcpcd/dist/src/if-options.c      up to 1.10
external/bsd/dhcpcd/dist/src/if-options.h      up to 1.1.1.7
external/bsd/dhcpcd/dist/src/if-sun.c          up to 1.1.1.4
external/bsd/dhcpcd/dist/src/if.c              up to 1.1.1.8
external/bsd/dhcpcd/dist/src/if.h              up to 1.1.1.5
external/bsd/dhcpcd/dist/src/ipv4.c            up to 1.1.1.9
external/bsd/dhcpcd/dist/src/ipv4.h            up to 1.1.1.4
external/bsd/dhcpcd/dist/src/ipv4ll.c          up to 1.1.1.4
external/bsd/dhcpcd/dist/src/ipv4ll.h          up to 1.1.1.4
external/bsd/dhcpcd/dist/src/ipv6.c            up to 1.1.1.11
external/bsd/dhcpcd/dist/src/ipv6.h            up to 1.1.1.7
external/bsd/dhcpcd/dist/src/ipv6nd.c          up to 1.1.1.8
external/bsd/dhcpcd/dist/src/ipv6nd.h          up to 1.1.1.6
external/bsd/dhcpcd/dist/src/logerr.c          up to 1.1.1.2
external/bsd/dhcpcd/dist/src/logerr.h          up to 1.1.1.3
external/bsd/dhcpcd/dist/src/route.c            up to 1.1.1.8
external/bsd/dhcpcd/dist/src/route.h            up to 1.1.1.4
external/bsd/dhcpcd/dist/src/sa.c              up to 1.1.1.3
external/bsd/dhcpcd/dist/src/sa.h              up to 1.1.1.2
external/bsd/dhcpcd/dist/src/script.c          up to 1.1.1.4
external/bsd/dhcpcd/dist/src/script.h          up to 1.1.1.2
external/bsd/dhcpcd/dist/src/dev/Makefile      up to 1.1.1.1
external/bsd/dhcpcd/dist/src/dev/udev.c        up to 1.1.1.2
external/bsd/dhcpcd/dist/tests/crypt/.gitignore up to 1.1.1.1
external/bsd/dhcpcd/dist/tests/crypt/GNUmakefile up to 1.1.1.1
external/bsd/dhcpcd/dist/tests/crypt/Makefile  up to 1.1.1.2
external/bsd/dhcpcd/dist/tests/crypt/README.md  up to 1.1.1.1
external/bsd/dhcpcd/dist/tests/crypt/run-test.c up to 1.1.1.2
external/bsd/dhcpcd/dist/tests/crypt/test.h    up to 1.1.1.2
external/bsd/dhcpcd/dist/tests/crypt/test_hmac_md5.c up to 1.1.1.3
external/bsd/dhcpcd/dist/tests/Makefile        up to 1.1.1.1
external/bsd/dhcpcd/dist/tests/eloop-bench/.gitignore up to 1.1.1.1
external/bsd/dhcpcd/dist/tests/eloop-bench/Makefile up to 1.1.1.2
external/bsd/dhcpcd/dist/tests/eloop-bench/README.md up to 1.1.1.1
external/bsd/dhcpcd/dist/tests/eloop-bench/eloop-bench.c up to 1.1.1.3
external/bsd/dhcpcd/dist/.arcconfig            up to 1.1.1.1
external/bsd/dhcpcd/dist/.gitignore            up to 1.4
external/bsd/dhcpcd/dist/BUILDING.md            up to 1.1.1.2
external/bsd/dhcpcd/dist/LICENSE                up to 1.1.1.2
external/bsd/dhcpcd/dist/Makefile              up to 1.1.1.5
external/bsd/dhcpcd/dist/Makefile.inc          up to 1.1.1.2
external/bsd/dhcpcd/dist/README.md              up to 1.1.1.3
external/bsd/dhcpcd/dist/bpf-filter.h          delete
external/bsd/dhcpcd/dist/common.c              delete
external/bsd/dhcpcd/dist/arp.c                  delete
external/bsd/dhcpcd/dist/arp.h                  delete
external/bsd/dhcpcd/dist/auth.c                delete
external/bsd/dhcpcd/dist/auth.h                delete
external/bsd/dhcpcd/dist/dhcpcd.c              delete
external/bsd/dhcpcd/dist/control.c              delete
external/bsd/dhcpcd/dist/common.h              delete
external/bsd/dhcpcd/dist/config.h              delete
external/bsd/dhcpcd/dist/dhcp-common.c          delete
external/bsd/dhcpcd/dist/control.h              delete
external/bsd/dhcpcd/dist/defs.h                delete
external/bsd/dhcpcd/dist/dev.h                  delete
external/bsd/dhcpcd/dist/dhcpcd-definitions.conf delete
external/bsd/dhcpcd/dist/dhcp-common.h          delete
external/bsd/dhcpcd/dist/dhcp.c                delete
external/bsd/dhcpcd/dist/dhcp.h                delete
external/bsd/dhcpcd/dist/dhcp6.c                delete
external/bsd/dhcpcd/dist/dhcp6.h                delete
external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in  delete
external/bsd/dhcpcd/dist/dhcpcd-embedded.c      delete
external/bsd/dhcpcd/dist/dhcpcd.8.in            delete
external/bsd/dhcpcd/dist/dhcpcd-embedded.c.in  delete
external/bsd/dhcpcd/dist/dhcpcd-embedded.h      delete
external/bsd/dhcpcd/dist/dhcpcd-embedded.h.in  delete
external/bsd/dhcpcd/dist/ipv4.c                delete
external/bsd/dhcpcd/dist/if.c                  delete
external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in    delete
external/bsd/dhcpcd/dist/dhcpcd.h              delete
external/bsd/dhcpcd/dist/dhcpcd.conf            delete
external/bsd/dhcpcd/dist/dhcpcd.conf.5.in      delete
external/bsd/dhcpcd/dist/duid.c                delete
external/bsd/dhcpcd/dist/duid.h                delete
external/bsd/dhcpcd/dist/eloop.c                delete
external/bsd/dhcpcd/dist/eloop.h                delete
external/bsd/dhcpcd/dist/if-bsd.c              delete
external/bsd/dhcpcd/dist/if-options.c          delete
external/bsd/dhcpcd/dist/if-options.h          delete
external/bsd/dhcpcd/dist/if.h                  delete
external/bsd/dhcpcd/dist/crypt/hmac_md5.c      delete
external/bsd/dhcpcd/dist/crypt/crypt.h          delete
external/bsd/dhcpcd/dist/ipv4.h                delete
external/bsd/dhcpcd/dist/ipv4ll.c              delete
external/bsd/dhcpcd/dist/ipv6.c                delete
external/bsd/dhcpcd/dist/ipv4ll.h              delete
external/bsd/dhcpcd/dist/ipv6.h                delete
external/bsd/dhcpcd/dist/ipv6nd.c              delete
external/bsd/dhcpcd/dist/ipv6nd.h              delete
external/bsd/dhcpcd/dist/script.c              delete
external/bsd/dhcpcd/dist/script.h              delete
external/bsd/dhcpcd/dist/dhcpcd-hooks/15-timezone delete
external/bsd/dhcpcd/dist/dhcpcd-hooks/01-test  delete
external/bsd/dhcpcd/dist/dhcpcd-hooks/02-dump  delete
external/bsd/dhcpcd/dist/dhcpcd-hooks/10-mtu    delete
external/bsd/dhcpcd/dist/dhcpcd-hooks/10-wpa_supplicant delete
external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf delete
external/bsd/dhcpcd/dist/dhcpcd-hooks/29-lookup-hostname delete
external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname delete
external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ntp.conf delete
external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ypbind delete
usr.sbin/postinstall/postinstall: revision 1.211-1.213
etc/rc.d/dhcpcd upto 1.5
doc/3RDPARTY manual edit

Import dhcpcd-7.0.7.
Adjust postinstal and rc file.

(martin)

2018-07-27 10:22:52 UTC netbsd-8 commitmail json YAML

Pull up the following revisions, requested by roy in ticket #941:

external/bsd/dhcpcd/dist/configure              up to 1.1.1.8
external/bsd/dhcpcd/dist/src/defs.h            up to 1.1.1.15
external/bsd/dhcpcd/dist/src/if-linux.c        up to 1.1.1.10
external/bsd/dhcpcd/dist/src/ipv6.c            up to 1.1.1.11
external/bsd/dhcpcd/dist/src/route.c            up to 1.1.1.8
doc/3RDPARTY manual edit

Import dhcpcd-7.0.7 with the following changes:
  *  host routes work correctly again
  *  vlanid is also used to calculate slaac stable private addresses

(martin)

2018-07-27 10:04:22 UTC MAIN commitmail json YAML

Try to reduce the confusion, rename:

l2_4_count      -> PDIRSZ
count            -> nL2
bootstrap_tables -> our_tables
init_tables      -> xen_tables

No functional change.

(maxv)

2018-07-27 09:57:43 UTC netbsd-8 commitmail json YAML

Try to fix history: ticket #925 was NOT pulled up for 8.0, but now made
it into 8.1

(martin)

2018-07-27 09:55:50 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #925):

usr.sbin/arp/arp.c: revision 1.62

arp: warn if failed to delete a specified arp entry
This restores the original behavior of arp in NetBSD 7.

(martin)

2018-07-27 09:37:31 UTC MAIN commitmail json YAML

Reduce the size of the blocks. No functional change.

(maxv)

2018-07-27 09:22:40 UTC MAIN commitmail json YAML

style, localify global variables, etc, no real functional change

(maxv)

2018-07-27 07:35:10 UTC MAIN commitmail json YAML

Remove KERN_BASE, unused. It has always been wrong anyway, the value
should have been passed into VA_SIGN_NEG().

(maxv)

2018-07-27 07:32:59 UTC MAIN commitmail json YAML

Replace KERN_BASE by VM_MIN_KERNEL_ADDRESS. Also add XXX on INKERNEL.

(maxv)

2018-07-27 07:09:15 UTC MAIN commitmail json YAML

aarch64 support per page execute protection

(ryo)

2018-07-27 07:04:04 UTC MAIN commitmail json YAML

changes of pmap.c r1.13 seems to be unstable.
In order to invalidate icache, not to invalidate all icache,
but temporary to make the page writable and invalidate target address only.

(ryo)

2018-07-27 00:00:02 UTC netbsd-8 commitmail json YAML

2018-07-26 23:55:31 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #938):
sys/arch/acorn32/podulebus/if_ie.c: revision 1.41
sys/arch/amiga/dev/if_es.c: revision 1.58
sys/arch/amiga/dev/if_qn.c: revision 1.45
sys/arch/arm/at91/at91emac.c: revision 1.20
sys/arch/arm/ep93xx/epe.c: revision 1.37
sys/arch/emips/ebus/if_le_ebus.c: revision 1.14
sys/arch/emips/ebus/if_le_ebus.c: revision 1.15
sys/arch/mac68k/dev/if_mc.c: revision 1.46
sys/arch/macppc/dev/am79c950.c: revision 1.39
sys/arch/newsmips/apbus/if_sn.c: revision 1.40
sys/arch/next68k/dev/mb8795.c: revision 1.59
sys/arch/playstation2/dev/if_smap.c: revision 1.25
sys/arch/playstation2/dev/if_smap.c: revision 1.26
sys/arch/sun2/dev/if_ec.c: revision 1.28
sys/arch/sun3/dev/if_ie.c: revision 1.63
sys/arch/x68k/dev/if_ne_intio.c: revision 1.19
sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.75
sys/arch/xen/xen/xennetback_xenbus.c: revision 1.63
sys/dev/bi/if_ni.c: revision 1.45
sys/dev/cadence/if_cemac.c: revision 1.12
sys/dev/ic/am7990.c: revision 1.78
sys/dev/ic/am79900.c: revision 1.27
sys/dev/ic/an.c: revision 1.67
sys/dev/ic/cs89x0.c: revision 1.40
sys/dev/ic/dm9000.c: revision 1.13
sys/dev/ic/dm9000.c: revision 1.14
sys/dev/ic/dp8390.c: revision 1.88
sys/dev/ic/elink3.c: revision 1.141
sys/dev/ic/elinkxl.c: revision 1.122
sys/dev/ic/hme.c: revision 1.98
sys/dev/ic/i82586.c: revision 1.77
sys/dev/ic/lance.c: revision 1.53
sys/dev/ic/mb86950.c: revision 1.27
sys/dev/ic/mb86960.c: revision 1.86
sys/dev/ic/mtd803.c: revision 1.34
sys/dev/ic/pdq_ifsubr.c: revision 1.59
sys/dev/ic/rrunner.c: revision 1.86
sys/dev/ic/seeq8005.c: revision 1.58
sys/dev/ic/sgec.c: revision 1.47
sys/dev/ic/smc90cx6.c: revision 1.72
sys/dev/ic/smc91cxx.c: revision 1.96
sys/dev/ic/tropic.c: revision 1.49
sys/dev/ic/wi.c: revision 1.245
sys/dev/isa/if_eg.c: revision 1.93
sys/dev/isa/if_el.c: revision 1.95
sys/dev/isa/if_iy.c: revision 1.101
sys/dev/ofw/ofnet.c: revision 1.58
sys/dev/pci/if_alc.c: revision 1.27
sys/dev/pci/if_de.c: revision 1.152
sys/dev/pci/if_fpa.c: revision 1.61
sys/dev/pci/if_jme.c: revision 1.34
sys/dev/pci/if_tl.c: revision 1.108
sys/dev/pci/if_vte.c: revision 1.19
sys/dev/pci/ixgbe/ixgbe.h: revision 1.50
sys/dev/pcmcia/if_cnw.c: revision 1.62
sys/dev/pcmcia/if_malo_pcmcia.c: revision 1.17
sys/dev/pcmcia/if_ray.c: revision 1.89
sys/dev/pcmcia/if_xi.c: revision 1.81
sys/dev/pcmcia/mhzc.c: revision 1.51
sys/dev/pcmcia/xirc.c: revision 1.34
sys/dev/qbus/if_de.c: revision 1.33
sys/dev/qbus/if_qe.c: revision 1.78
sys/dev/qbus/if_qt.c: revision 1.22
sys/dev/sbus/be.c: revision 1.87
sys/dev/sbus/qe.c: revision 1.68
sys/dev/scsipi/if_se.c: revision 1.96
sys/dev/usb/if_atu.c: revision 1.59
sys/net/if_l2tp.c: revision 1.28 via patch
sys/net/if_ppp.c: revision 1.160
It's not required to include net/bpfdesc.h. Remove it.
--
Simplify like other drivers. NULL check of ifp->if_bpf is done in
bpf_mtap(), so it's not required to do it here.
--
Remove duplicated inclusion of net/bpf.h.
--
Remove duplicated inclusion of net/bpf.h.
--
Simplify bpf_mtap() call. No functional change.

(snj)

2018-07-26 23:45:09 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #940):
libexec/ld.elf_so/headers.c: revision 1.64
Apply relocbase for tlsinit of the executable itself. Fixes PIE where
relocbase typically is not zero.
PR bin/53465

(snj)

2018-07-26 23:43:31 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #939):
usr.bin/netstat/if.c: revision 1.95
Print iqdrops, too. This change also fixes a bug that Odrops prints
iqdrops when kvm read failed.

(snj)

2018-07-26 23:26:20 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #937):
sys/dev/mii/mdio.h: revision 1.8-1.9
Add 25G(802.3by), 2.5G and 5G (802.3bz).
--
Add PMA/PMD control 2 register bit definitions.

(snj)

2018-07-26 23:23:50 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #936):
sys/arch/x86/x86/coretemp.c: revision 1.36
- Detect and set Atom's Tj(max) to 90 if it's not the 45nm D400/D500/N400
  series (90 for Diamondville and 100 for Pineview). From FreeBSD r221509.
- Reduce diff a little against FreeBSD.

(snj)

2018-07-26 23:21:54 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #935):
sys/dev/pci/ixgbe/ixgbe.c: revision 1.162
sys/dev/pci/ixgbe/ixgbe_82599.c: revision 1.20
sys/dev/pci/ixgbe/ixgbe_api.c: revision 1.21
sys/dev/pci/ixgbe/ixgbe_type.h: revision 1.35
sys/dev/pci/ixgbe/ixgbe_x540.c: revision 1.16
Apply changes of FreeBSD ix-3.2.18.tgz:
  - Add IXGBE_DEV_ID_82599_LS(0x154f) support.
  - Increase timeout for newer than ixgbe_mac_X550 (i.e. Xeon-D and Denverton)
    in ixgbe_acquire_swfw_sync_X540().
  - Add some unused macros (IXGBE_FW_LESM_*).
--
Remove nmbclusters check. We don't use the mbuf cluster. The old code also had
a bug that ixgbe_total_ports adds two every port and never decrement in
the detach path. Found by hikaru@.
The code was removed in FreeBSD when it switched to use iflib and OpenBSD
removed the code 8 years ago.

(snj)

2018-07-26 23:16:10 UTC netbsd-8 commitmail json YAML

2018-07-26 23:14:37 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #934):
sys/dev/pci/pcidevs: 1.1332-1333, 1335-1339, 1341-1344 via patch
- Add Symbios/LSI RAID and SAS controllers.
- Add some broadcom 802.11ac wifi devices.
- Add some Marvell Yukon devices.
- Add Intel 82Q45 IDER.
- Add some Intel 4 series chipset devices.
- Add some Intel 82965 devices.
- Change Intel 0x2a06 from IDE to IDER.
- Add a bunch of nvidia devices from various generations.
- Add two more Yukon variants (from OpenBSD).
- Add Mobility Radeon HD 4300(0x9552) and Mobility Radeon HD
  4500(0x9553) from OpenBSD.
- Add nSYS Technologies.
- Add Western Digital (Sandisk)  WD Black NVMe SSD as per suggestion
  from thorpej@

(snj)

2018-07-26 23:11:59 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #933):
sys/dev/pci/pci_subr.c: revision 1.202
sys/dev/pci/pcireg.h: revision 1.139
sys/dev/pci/ppbreg.h: revision 1.9
VGA 16 bit decode bit is not bit 3 but bit 4.
--
- Print Power Management Control/status register in 32bit.
- Simplify.

(snj)

2018-07-26 21:41:19 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #932):
sys/dev/mii/mii.h: 1.21-1.23
Fix typos.
--
- Add some bit definitions:
    - Unidirectional enable
    - Unidirectional ability
    - Extended Next Page
    - Receive Next Page Location Able
    - Received Next Page Storage Location
    - Data Link Layer Classification capability
    - Enable Physical Layer Classification
    - Invalid Class in PD Class
    - PSE Status bit definitions
- Sort registers
- Modify comments.
--
- Rename ENP (Extended Next Page) to XNP.
- Add ANLPAR_XNP bit.
- Add definitions for RF1 and RF2 (for 1000BASE-X) .
- Rename MII_ANNP (Autonegotiation next page transmit) register to MII_ANNPT.
- Add bit definitions for MII_ANNPT and MII_ANLPRNP.
- Remove GTSR_LP_ASM_DIR bit. This is not described in the 802.3 spec now and
  no any NetBSD drivers use the definition.

(snj)

2018-07-26 21:29:16 UTC MAIN commitmail json YAML

- increase offscreen pixmap alignment
- don't pretend to support overlapping pixmaps
- reshuffle some register writes
- set surface formats every time we Prepare*()
-> less garbage, almost works correctly now

(macallan)

2018-07-26 21:09:42 UTC netbsd-8 commitmail json YAML

2018-07-26 21:09:22 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #931):
sys/dev/mii/miidevs: 1.127, 1.129
Add Intel X540 internal PHY.
--
All of 88E151[0248]'s model number is 0x001d.

(snj)

2018-07-26 21:07:19 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #930):
sys/dev/pci/pci_subr.c: revision 1.201
sys/dev/pci/pcireg.h: revision 1.138
  Fix typo. s/TPL/TLP/

(snj)

2018-07-26 21:02:29 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #929):
sys/arch/x86/x86/cpu_ucode_intel.c: 1.14
sys/kern/kern_cpu.c: 1.74
Add cpu_ucode_intel_verify() to verify microcode image. Currently, we don't
verify extended signatures'checksum. I have no any image which has extended
signature. If an extended signature found, the function shows
"This image has extended signature table." and continue.
--
Don't allocate memory and return EFTYPE if sc->sc_blobsize==0 to prevent
panic in firmware_malloc().

(snj)

2018-07-26 20:40:39 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #928):
sys/dev/pci/if_wm.c: 1.573-1.576, 1.579 and 1.582 via patch
wm(4):
- Count timeout correctly. This change reduce timeout value for 80003
  as expected. Reported by mouse@.
- Print "device timeout (lost interrupt)"  when all descriptors in a
  queue are free.
- Rename txq_watchdog to txq_sending to make the meaning clear.
- KNF. No functional change.

(snj)

2018-07-26 20:37:42 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #927):
share/man/man4/lm.4: 1.35, 1.36
sys/dev/ic/nslm7x.c: 1.71
sys/dev/isa/wbsio.c: 1.23
sys/dev/isa/wbsioreg.h: 1.8
Add NCT6796D. Some functions of NCT6796D is extended from NCT6795D,
but this commit doesn't support them yet.
--
Add NCT6796D.
--
Remove Tn. Add serial comma.

(snj)

2018-07-26 20:32:38 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #926):
sys/dev/pci/ichsmb.c: 1.52, 1.56
Add C620 devices.
--
Add Apollo Lake and Gemini Lake devices.

(snj)

2018-07-26 19:32:25 UTC MAIN commitmail json YAML

first step to support chips newer than geforce 2MX

(macallan)

2018-07-26 18:47:47 UTC netbsd-8 commitmail json YAML

2018-07-26 17:20:09 UTC MAIN commitmail json YAML

Remove the non-PAE-i386 code of Xen. The branches are reordered so that
__x86_64__ comes first, eg:

#if defined(PAE)
/* i386+PAE */
#elif defined(__x86_64__)
/* amd64 */
#else
/* i386 */
#endif

becomes

#ifdef __x86_64__
/* amd64 */
#else
/* i386+PAE */
#endif

Tested on i386pae-domU and amd64-dom0.

(maxv)

2018-07-26 16:22:49 UTC MAIN commitmail json YAML

Retire the non-PAE-i386-PV configuration files. Keep only PAE-i386-PV.
Non-PAE has been dropped years ago by Xen.

The content of XEN3_* is merged into XEN3PAE_*, with "options PAE" set.

(maxv)

2018-07-26 15:46:09 UTC MAIN commitmail json YAML

2018-07-26 15:38:26 UTC MAIN commitmail json YAML

Merge the content of xen_debug.c into xen_machdep.c, there is only one
function.

(maxv)

2018-07-26 15:26:11 UTC MAIN commitmail json YAML

Remove dead code. This looks like a leftover from when our Xen port was
being developed (2004), and it seems to have been copied from the Xen
kernel examples. It can't have any use, so get rid of it. Also remove
vprintk, unused.

(maxv)

2018-07-26 15:06:14 UTC MAIN commitmail json YAML

2018-07-26 09:29:08 UTC MAIN commitmail json YAML

2018-07-26 08:57:33 UTC MAIN commitmail json YAML

Sync usage with man page.

(wiz)

2018-07-26 08:57:26 UTC MAIN commitmail json YAML

Add -S to SYNOPSIS. Sort option descriptions.

(wiz)

2018-07-26 08:22:19 UTC MAIN commitmail json YAML

Remove useless/outdated comments. No functional change.

(maxv)

2018-07-26 08:18:25 UTC MAIN commitmail json YAML

Merge the blocks. No functional change.

(maxv)

2018-07-26 08:08:24 UTC MAIN commitmail json YAML

Simplify the conditions; (PTP_LEVELS > 3) and (PTP_LEVELS > 2) are for
amd64, so use ifdef __x86_64__. No functional change.

(maxv)

2018-07-26 01:25:23 UTC MAIN commitmail json YAML

Specify NOLIBCSANITIZER in lib/csu

The low-level libraries in csu are used in non-sanitized code.

(kamil)

2018-07-26 00:33:26 UTC MAIN commitmail json YAML

Avoid undefined behavior in snprintb.c

Do not change the signedness bit with a left shift operation.
Switch to unsigned integer to prevent this.

snprintb.c:178:17, left shift of 1 by 31 places cannot be represented in type 'int'

Detected with micro-UBSan in the user mode.

(kamil)

2018-07-26 00:31:13 UTC MAIN commitmail json YAML

Avoid undefined behavior in netpgpverify/sha2.c

Do not change the signedness bit with a left shift operation.
Cast to unsigned integer to prevent this.

sha2.c:79:16, left shift of 154 by 24 places cannot be represented in type 'int'

Detected with micro-UBSan in the user mode.

(kamil)

2018-07-26 00:26:45 UTC MAIN commitmail json YAML

Avoid undefined behavior in netpgpverify

Do not change the signedness bit with a left shift operation.
Cast to unsigned integer to prevent this.

pgpsum.c:187:18, left shift of 130 by 24 places cannot be represented in type 'int'

Detected with micro-UBSan in the user mode.

(kamil)

2018-07-26 00:20:41 UTC MAIN commitmail json YAML

Avoid undefined behavior in an inet_addr.c

Do not change the signedness bit with a left shift operation.
Cast to unsigned integer to prevent this.

inet_addr.c:218:20, left shift of 131 by 24 places cannot be represented in type 'int'

Detected with micro-UBSan in the user mode.

(kamil)

2018-07-26 00:13:19 UTC MAIN commitmail json YAML

Avoid undefined behavior in an cpuset.c

Do not change the signedness bit with a left shift operation.
Switch to unsigned integer to prevent this.

cpuset.c:112:18, left shift of 1 by 31 places cannot be represented in type 'int'

Detected with micro-UBSan in the user mode.

(kamil)

2018-07-26 00:05:28 UTC MAIN commitmail json YAML

Avoid undefined behavior in ftok(3)

Do not change the signedness bit with a left shift operation.
Cast to unsigned integer to prevent this.

ftok.c:56:10, left shift of 123456789 by 24 places cannot be represented in type 'int'
ftok.c:56:10, left shift of 4160 by 24 places cannot be represented in type 'int'

Detected with micro-UBSan in the user mode.

(kamil)

2018-07-25 23:59:08 UTC MAIN commitmail json YAML

Avoid undefined behavior in the definition of LAST_FRAG in xdr_rec.c

Do not change the signedness bit with a left shift operation.
Switch to unsigned integer to prevent this in the LAST_FRAG symbol.

xdr_rec.c:559:39, left shift of 1 by 31 places cannot be represented in type 'int'
xdr_rec.c:572:26, left shift of 1 by 31 places cannot be represented in type 'int'
xdr_rec.c:573:25, left shift of 1 by 31 places cannot be represented in type 'int'
xdr_rec.c:632:37, left shift of 1 by 31 places cannot be represented in type 'int'
xdr_rec.c:711:32, left shift of 1 by 31 places cannot be represented in type 'int'
xdr_rec.c:722:28, left shift of 1 by 31 places cannot be represented in type 'int'

Detected with micro-UBSan in the user mode.

(kamil)

2018-07-25 23:52:38 UTC MAIN commitmail json YAML

Specify NOLIBCSANITIZER for rescue

The rescue image could be sanitized with a sanitizer in libc, but it's left
for future as a possible research.

(kamil)

2018-07-25 23:45:32 UTC MAIN commitmail json YAML

2018-07-25 23:41:28 UTC MAIN commitmail json YAML

Introduce a new option -S in crunchgen(1)

The -S argument enables sanitization with a sanitizer in libc.

(kamil)

2018-07-25 23:34:25 UTC MAIN commitmail json YAML

Introduce MKLIBCSANITIZER in the share/mk rules

Add flags that are required to build a program and a dynamically loaded
library.

Propagade LIBCSANITIZERFLAGS to CFLAGS and CXXFLAGS.

LDFLAGS is not changed on purpose, as a libcsanitizer is inside libc
and no external dependencies are needed.

Register NOLIBCSANITIZER, as certain distribution parts will need to be
skipped.

(kamil)

2018-07-25 23:30:22 UTC MAIN commitmail json YAML

Document MKLIBCSANITIZER in bsd.README

It's a special kind of a sanitizer inside libc.

(kamil)

2018-07-25 22:07:59 UTC MAIN commitmail json YAML

Avoid undefined behavior semantics in msdosfs_fat.c

Do not change signedness bit with left shift.
While there avoid signed integer overflow.
Address both issues with using unsigned type.

msdosfs_fat.c:512:42, left shift of 1 by 31 places cannot be represented in type 'int'
msdosfs_fat.c:521:44, left shift of 1 by 31 places cannot be represented in type 'int'
msdosfs_fat.c:744:14, left shift of 1 by 31 places cannot be represented in type 'int'
msdosfs_fat.c:744:24, signed integer overflow: -2147483648 - 1 cannot be represented in type 'int [20]'
msdosfs_fat.c:840:13, left shift of 1 by 31 places cannot be represented in type 'int'
msdosfs_fat.c:840:36, signed integer overflow: -2147483648 - 1 cannot be represented in type 'int [20]'

Detected with micro-UBSan in the user mode.

(kamil)

2018-07-25 22:00:32 UTC MAIN commitmail json YAML

Avoid undefined behavior in an ATF test: t_bitops

Do not change the signedness bit with a left shift operation.
Switch to unsigned integer to prevent this.

t_bitops.c:189:9, left shift of 1 by 31 places cannot be represented in type 'int'

Detected with micro-UBSan in the user mode.

(kamil)

2018-07-25 21:51:32 UTC MAIN commitmail json YAML

Avoid undefined behavior in an ATF test: t_types

Replace UB with implementation defined logic to check whether ssize_t can
wrap to a negative number.

t_types.c:63:7, signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'

Detected with micro-UBSan in the user mode.

(kamil)

2018-07-25 20:05:35 UTC MAIN commitmail json YAML

Avoid undefined behavior in left bit shift in jemalloc(3)

Change the type of shifted value to unsigned to prevent altering the
signedness bit.

jemalloc.c:1707:14, left shift of 1 by 31 places cannot be represented in type 'int'
jemalloc.c:1724:15, left shift of 1 by 31 places cannot be represented in type 'int'
jemalloc.c:1840:28, left shift of 1 by 31 places cannot be represented in type 'int'

Detected with micro-UBSan in the user mode.

(kamil)

2018-07-25 19:56:56 UTC MAIN commitmail json YAML

Avoid undefined behavior in ecma167-udf.h

Define the UDF_EXT_* symbols as unsigned values.
This prevents undefined behavior of altering the signedness bit in a part
of them. Swap the remaining symbols to unsigned values to keep the
consistency.

Required by GCC when building with Undefined Behavior Sanitizer.

(kamil)

2018-07-25 19:15:19 UTC MAIN commitmail json YAML

Document the default value of MKSANITIZER in bsd.README

This value is set to "no".

(kamil)

2018-07-25 19:10:41 UTC MAIN commitmail json YAML

adjust for possible 49K offset

presence of this offset is indicated by a set 19th bit which is shifted away
this brings the temperature to "normal" levels on my ryzen 2700
(I assumed the same 49K offset as the k10temp project)

(para)

2018-07-25 19:09:38 UTC MAIN commitmail json YAML

Appease GCC in hci_filter_test()

Cast the returned value from hci_filter_test explicitly to int, as
requested by GCC when building with Undefined Behavior Sanitizer.

(kamil)

2018-07-25 19:03:50 UTC MAIN commitmail json YAML

Avoid potential undefined behavior in bta2dpd(8)

The operator >> causes implicit promotion to int.

There is need to cast the result back to uint8_t in order to save the
return value to a data undef a pointe of type uint8_t.

Requested by GCC when building with Undefined Behavior Sanitizer.

(kamil)

2018-07-25 18:54:43 UTC MAIN commitmail json YAML

Avoid Undefined Behavior in r128_reg.h

Specify symbols without altering signed bit.

Requested by GCC when building with Undefined Behavior Sanitizer.

(kamil)

2018-07-25 18:52:53 UTC MAIN commitmail json YAML

Avoid Undefined Behavior in r300_render.h

Specify R300_FALLBACK_INVALID_BUFFERS without altering signed bit.

Requested by GCC when building with Undefined Behavior Sanitizer.

(kamil)

2018-07-25 15:35:27 UTC MAIN commitmail json YAML

NFC: More KNF (remove () around returned constants).

(kre)

2018-07-25 14:42:50 UTC MAIN commitmail json YAML

Fix several bugs in the command / type builtin ( including PR bin/48499 )

1. Make command -pv (and -pV) work (which is not as easy as the PR
  suggests it might be (the "check and cause error" was there because
  it did not work, not in order to prevent it from working).

2. Stop -v and -V being both used (that makes no sense).

3. Stop the "type" builtin inheriting the args (-pvV) that "command" has
  (which it did, as when -v -or -V is used with command, it and type are
    implemented using the same code).

4. make "command -v word" DTRT for sh keywords (was treating them as an error).

5. Require at least one arg for "command -[vV]" or "type" else usage & error.
  Strictly this should also apply to "command" and "command -p" (no -v)
  but that's handled elsewhere, so perhaps some other time.  Perhaps
  "command -v" (and -V) should be limited to 1 command name (where "type"
  can have many) as in the POSIX definitions, but I don't think that matters.

6. With "command -V alias", (or "type alias" which is the same thing),
  (but not "command -v alias") alter the output format, so we get
ll is an alias for: ls -al
  instead of the old
ll is an alias for
ls -al
  (and note there was a space, for some reason, after "for")

  That is, unless the alias value contains any \n characters, in which
  case (something approximating) the old multi-line format is retained.
  Also note: that if code wants to parse/use the value of an alias, it
  should be using the output of "alias name", not command or type.

Note that none of the above affects "command [-p] cmd" (no -v or -V options)
only "command -[vV]" and "type".

Note also that the changes to eval.[ch] are merely to make syspath()
visible in exec.c rather than static in eval.c

(kre)

2018-07-25 14:41:52 UTC MAIN commitmail json YAML

NFC: whitespace & KNF.

(kre)

2018-07-25 11:47:07 UTC MAIN commitmail json YAML

2018-07-25 11:09:22 UTC MAIN commitmail json YAML

Enhance logical volume integrity descriptor handling and provide
bug-compatibility for Linux mkudffs 1.3 images.

(reinoud)

2018-07-25 07:55:45 UTC MAIN commitmail json YAML

2018-07-25 05:29:58 UTC MAIN commitmail json YAML

2018-07-25 05:29:33 UTC MAIN commitmail json YAML

2018-07-25 03:45:34 UTC MAIN commitmail json YAML

Provide MacOS/X compatible flags (where possible)
Propagate errno

(christos)

2018-07-25 03:28:17 UTC MAIN commitmail json YAML

bsd-family-tree: use the right date...

(eadler)

2018-07-25 03:26:40 UTC MAIN commitmail json YAML

bsd-family-tree: announce NetBSD 8.0; dfly 5.2.2

(eadler)

2018-07-24 20:58:40 UTC MAIN commitmail json YAML

Add the new formats to the list of format cracters (oops...)

(kre)

2018-07-24 20:55:49 UTC MAIN commitmail json YAML

copy(9) had returned -1 if a bad address is encountered. fix to return EFAULT in that case.

(ryo)

2018-07-24 20:49:20 UTC MAIN commitmail json YAML

Add support for F a and A formats (which go with the eEfgG formats
already supported.)

(kre)

2018-07-24 19:49:34 UTC MAIN commitmail json YAML

Correct a typo (off by one  (key)) ...
There is no 'w' format, but there is an 'e'

(kre)

2018-07-24 19:08:22 UTC MAIN commitmail json YAML

Fix typo. Comment out SEE ALSO since it only refers nonexistent man pages.
Reduce history to NetBSD until we know more details about other OSes.
Use An. Fix Dt argument.

(wiz)

2018-07-24 15:29:05 UTC MAIN commitmail json YAML

2018-07-24 15:26:16 UTC MAIN commitmail json YAML

Tiny base64 encoder/decoder command patterned after the linux and the macosx
ones with the same name,.

(christos)

2018-07-24 15:09:37 UTC MAIN commitmail json YAML

In mi_switch(), also call pserialize_switchpoint() if we're not switching
to another lwp, as proposed on
http://mail-index.netbsd.org/tech-kern/2018/07/20/msg023709.html

Without it, on a SMP machine with few processes running (e.g while
running sysinst), pserialize could hang for a long time until all
CPUs got a LWP to run (or, eventually, forever).
Tested on Xen domUs with 4 CPUs, and on a 64-threads AMD machine.

(bouyer)

2018-07-24 13:48:48 UTC MAIN commitmail json YAML

Apply relocbase for tlsinit of the executable itself. Fixes PIE where
relocbase typically is not zero.

PR bin/53465

(joerg)

2018-07-24 12:59:16 UTC MAIN commitmail json YAML

binutils-2.31 out

(wiz)

2018-07-24 12:26:14 UTC MAIN commitmail json YAML

Fix what looks like a typo in xen_send_ipi():
ci != NULL || ci != curcpu()
is always true

(bouyer)

2018-07-24 12:24:45 UTC MAIN commitmail json YAML

Sync cpu_boot_secondary_processors() with x86/x86/cpu.c:
explicitely wait for all CPUs to be registered in kcpuset_running.

(bouyer)

2018-07-24 10:08:43 UTC MAIN commitmail json YAML

don't call pool_cache_put with locking pmap. pool_cache_put call pmap_kenter_pa internally.
(pool_cache_put_paddr -> pool_cache_put_slow -> pool_get -> pmap_kenter_pa)

(ryo)

2018-07-24 10:05:36 UTC MAIN commitmail json YAML

Add a "support" section.

(maxv)

2018-07-24 09:50:37 UTC MAIN commitmail json YAML

Use errx, there is no errno.

(maxv)

2018-07-24 09:47:36 UTC MAIN commitmail json YAML

2018-07-24 09:16:53 UTC MAIN commitmail json YAML

2018-07-24 09:16:23 UTC MAIN commitmail json YAML

- Add Huawei HWD12, E353, E355, E392, EC156, E3272 / Softbank 203HW
- Add NetIndex RT-WJ02 and UX312NC.
- Add Siemens HC28
- Add ZTE MF112, MF119, MF190, MF228 modem / Softbank 004Z

(msaitoh)

2018-07-24 08:15:57 UTC MAIN commitmail json YAML

- USB_VENDOR_QUALCOMM -> USB_VENDOR_LG
- USB_VENDOR_4GSYSTEMS -> USB_VENDOR_LONGCHEER

(msaitoh)

2018-07-24 08:14:04 UTC MAIN commitmail json YAML

2018-07-24 08:13:34 UTC MAIN commitmail json YAML

- Vendor ID 0x0430 is not Sun Microsystems but Fujitsu Component
  (it's listed in usb.if). Same as OpenBSD.
- Add Fujitsu Component Smart Power Strip FX-5204PS, Base Station FX-5251WB
  and Virtual Eth Device From OpenBSD.
- Vendor ID 0x1004 is not Qualcomm but LG Electronics (it's listed in usb.if).
- Add Cinterion
- Rename 4GSYSTEMS to LONGCHEER. Same as other OSes.
- Add Longcheer WM66 HSDPA, Emobile D21LC Mass only mode, Emobile D21LC,
  IIJmobile 510FU and IIJmobile 510FU Mass only mode.
- Add Sierra Wireless C01SW.
- Add SMSC USB 2.0 7-Port Hub.
- Add ZTE MF633 USUPA USB modem and USB MSM installer.

(msaitoh)

2018-07-24 07:59:46 UTC MAIN commitmail json YAML

Note import of dhcpcd-7.0.7

(roy)

2018-07-24 05:40:15 UTC MAIN commitmail json YAML

2018-07-24 03:58:36 UTC MAIN commitmail json YAML

On detach, print error message with aprint_error_dev() instead of printf().

(msaitoh)

2018-07-24 02:52:15 UTC MAIN commitmail json YAML

TODO.sanitizers: Remove a finished item

New Clang/LLVM landed the sources (by Joerg).
A compiler-rt import is still pending.

(kamil)

2018-07-23 22:51:39 UTC MAIN commitmail json YAML

* fix icache invalidations.
* "ic ivau" (aarch64_icache_sync_range) with VA generates permission fault in some situations, therefore use KSEG address for now.

(ryo)

2018-07-23 22:32:22 UTC MAIN commitmail json YAML

rather than using flags to resolve nested locks, reserve pool_cache before locking.

(ryo)

2018-07-23 00:51:40 UTC MAIN commitmail json YAML

if the framebuffer address isn't page aligned, set fbi_fboffset appropriately

(macallan)

2018-07-22 23:07:49 UTC MAIN commitmail json YAML

Part 2 of pattern matching (glob etc) fixes.

Attempt to correctly deal with \ (both when it is a literal,
in appropriate cases, and when it appears as CTLESC when it was
detected as a quoting character during parsing).

In a pattern, in sh, no quoted character can ever be anything other
than a literal character.  This is quite different than regular
expressions, and even different than other uses of glob matching,
where shell quoting is not an issue.

In something like

ls ?\*.c

the ? is a meta-character, the * is a literal (it was quoted).  This
is nothing new, sh has handled that properly for ever.

But the same happens with
VAR='?\*.c'
and
ls $VAR

which has not always been handled correctly.  Of course, in

ls "$VAR"

nothing in VAR is a meta-character (the entire expansion is quoted)
so even the '\' must match literally (or more accurately, no matching
happens - VAR simply contains an "unusual" filename).  But if it had
been

ls *"$VAR"

then we would be looking for filenames that end with the literal 5
characters that make up $VAR.

The same kinds of things are requires of matching patterns in case
statements, and sub-strings with the % and # operators in variable
expansions.

While here, the final remnant of the ancient !! pattern matching
hack has been removed (the code that actually implemented it was
long gone, but one small piece remained, not doing any real harm,
but potentially wasting time - if someone gave a pattern which would
once have invoked that hack.)

(kre)

2018-07-22 21:16:58 UTC MAIN commitmail json YAML

NFC: Whitespace cleanups

(kre)

2018-07-22 20:43:58 UTC MAIN commitmail json YAML

PR bin/36532 (perhaps)

This is more or less the same patch as provided in the PR
(just 11 years later, so changed a bit) by woods@...

Since there is no known way to actually cause the reported crash,
we may never know if this change actually fixes anything.  But
even if it doesn't it certainly cannot hurt.

There is a potential race which could possibly explain the issue
(see commentary in the PR) which is not easy to avoid - if that is
the actual cause, this should provide a defence, if not really a fix.

(kre)

2018-07-22 20:42:50 UTC MAIN commitmail json YAML

Revert previous, change has nothing to do with DEBUG mode.
COming again (correctly) in a few seconds.

(kre)

2018-07-22 20:38:06 UTC MAIN commitmail json YAML

DEBUG mode only change (ie: no effect to any normal shell).

Add tracing of pattern matching (aid in debugging various issues.)

(kre)

2018-07-22 20:37:57 UTC MAIN commitmail json YAML

Minor cleanups to growstackblock().  This should really change
nothing that matters, but might be slightly more robust/complete.

(kre)

2018-07-22 20:37:52 UTC MAIN commitmail json YAML

NFC: better protect the INTON (etc) macros ( do { } while(0) )
This is just a kind of precaution, none of the uses actually
require the extra protection.

(kre)

2018-07-22 15:02:51 UTC MAIN commitmail json YAML

Clean up dbregs; remove useless comments, remove arguments from prototypes,
style, add KASSERT and move x86_dbregspl into dbregs.c. No real functional
change.

(maxv)

2018-07-22 14:54:32 UTC MAIN commitmail json YAML

actually use wsdisplayio_fbinfo::fbi_fboffset

(macallan)

2018-07-21 21:26:30 UTC MAIN commitmail json YAML

I realized the changes I made broke the !aslr conf, so enable aslr by
default now rather than later (and rather than adding more ifdefs).

Now the location of the direct map is randomized at boot time in GENERIC.

(maxv)

2018-07-21 19:39:45 UTC MAIN commitmail json YAML

2018-07-21 18:58:05 UTC MAIN commitmail json YAML

2018-07-21 18:50:22 UTC MAIN commitmail json YAML

add netbsd 8.0, fix whitespace

(snj)

2018-07-21 18:11:09 UTC MAIN commitmail json YAML

Remove unused variable.

(maya)

2018-07-21 16:21:27 UTC MAIN commitmail json YAML

Forgot to commit a change in i386/cpufunc.S; add rdtsc(), so that it can be
used in cpu_rng. Restore the cpu_rng code back to how it was in my initial
commit.

(maxv)

2018-07-21 14:46:41 UTC MAIN commitmail json YAML

Unbreak build.  Fake out (ie: remove) rdtsc() which does not
exist on XEN (or not yet anyway).

This change needs to be reverted when a proper solution ic implemented.

(kre)

2018-07-21 13:23:49 UTC MAIN commitmail json YAML

return correct signo and code in accordance with return value of uvm_fault.

(ryo)

2018-07-21 13:08:35 UTC MAIN commitmail json YAML

* avoid deadlock. mutex_owned() works only for adaptive lock, therefore we cannot use it for spinlock...
* add more NULL check
* clear pte when pmap_enter() fails

(ryo)

2018-07-21 09:51:20 UTC MAIN commitmail json YAML

When files are deleted, they need to be removed from the Makefile
as well ... does none of this ever get tested before it is committed?

(kre)

2018-07-21 07:46:56 UTC MAIN commitmail json YAML

Create /dev/ksyms as "440 $g_kmem". This prevents unprivileged users from
reading the kernel symbols. Discussed in January 2018 on tech-kern@,
reported by maya@, tested by tih@.

(maxv)

2018-07-21 06:30:27 UTC MAIN commitmail json YAML

Remove "no options GPROF", we don't have GPROF in the x86 kernels anymore.
By the way this caused a warning because GPROF is not defflag'ed
correctly...

(maxv)

2018-07-21 06:28:02 UTC MAIN commitmail json YAML

note removal of tpfmt

(maxv)

2018-07-21 06:25:29 UTC MAIN commitmail json YAML

2018-07-21 06:09:14 UTC MAIN commitmail json YAML

More ASLR. Randomize the location of the direct map at boot time on amd64.
This doesn't need "options KASLR" and works on GENERIC. Will soon be
enabled by default.

The location of the areas is abstracted in a slotspace structure. Ideally
we should always use this structure when touching the L4 slots, instead of
the current cocktail of global variables and constants.

machdep initializes the structure with the default values, and we then
randomize its dmap entry. Ideally machdep should randomize everything at
once, but in the case of the direct map its size is determined a little
later in the boot procedure, so we're forced to randomize its location
later too.

(maxv)

2018-07-20 22:47:26 UTC MAIN commitmail json YAML

First pass at fixing some of the more arcane pattern matching
possibilities that we do not currently handle all that well.

This mostly means (for now) making sure that quoted pattern
magic characters (as well as quoted sh syntax magic chars)
are properly marked, so they remain known as being quoted,
and do not turn into pattern magic.  Also, make sure that an
unquoted \ in a pattern always quotes whatever comes next
(which, unlike in regular expressions, includes inside []
matches),

(kre)

2018-07-20 20:50:34 UTC MAIN commitmail json YAML

2018-07-20 20:49:59 UTC MAIN commitmail json YAML

2018-07-20 20:33:05 UTC phil-wifi commitmail json YAML

2018-07-20 18:25:56 UTC MAIN commitmail json YAML

Several improvements to this test...

In the filename expansion test, don't insist on testing cases
of [^a] anything not an a) (etc) - while almost all shells allow
^ there (as in regular expressions) this is not standard sh/glob syntax
(! is used for that, not ^).  Use of ^ as first char after '[' in a []
match has unspecified behaviour.  So, check if the shell being
tested supports ^ used this way before running the tests of ^ in [].
This makes no difference at all when testing the NetBSD sh which
does allow ^ for that use case.

Fix an obvious (in hindsight) stupidity in the case pattern tests
(a cut/paste/forget-to-fix type error).

Many cleanups, including some additional sub-tests, for the var
substring matching (just a couple of actual fixes to the tests).
(This was the last added, and least polished part - still is.)

This makes no difference to the filename expansion tests (11 of 167
still fail), the fix reduces the failing case match tests from
14 of 261 to 13 of 261.  For var substring tests, the failure
has changed from 6 of 87 to 8 of 99.  (Some) Fixes to sh will appear
soon.

For comparison, using this version of the test, dash passes all case
and var substring tests, and (aside from the [^...] tests which it
does not implement) fails 4 of the filename tests.  bash fails one
case test (a bash oddity in interpretation of the spec, which is unique
to bash amongst shells I have tested)  and one filename expansion (all
var substring tests pass).  Other shells are much worse (though the
freebsd shell results were coloured by the version of their shell I
tested still having the [[:xxx:]] always matches '[' bug, which is
fixed in later versions of their shell)

(kre)

2018-07-20 16:38:42 UTC MAIN commitmail json YAML

Andrius V in PR kern/53461: add support for D-Link DUB-1312

(martin)

2018-07-20 16:37:32 UTC MAIN commitmail json YAML

2018-07-20 16:36:16 UTC MAIN commitmail json YAML

Andrius V in Pr kern/53461: add D-Link DUB-1312

(martin)

2018-07-20 13:11:01 UTC MAIN commitmail json YAML

PR bin/53458

Bring this script a little up to date - make it work with modern /bin/sh
(avoid HOSTNAME as a random variable) clean up trailing spaces on lines,
use $( ) instead of `` ...

(kre)

2018-07-20 12:19:07 UTC MAIN commitmail json YAML

fix a bug. no need postincrement here.

(ryo)

2018-07-20 08:34:24 UTC MAIN commitmail json YAML

Improve wording.

(wiz)

2018-07-20 08:26:26 UTC MAIN commitmail json YAML

Add "show socket" command written by Hiroki SUENAGA. It prints usage of
system's socket buffers.

(msaitoh)

2018-07-20 07:12:50 UTC MAIN commitmail json YAML

avoid double-fault caused by reading the instruction when panic

(ryo)

2018-07-20 01:52:07 UTC MAIN commitmail json YAML

throw in drmkms, mention riscv work by zmcgrew

(maya)

2018-07-20 01:43:31 UTC MAIN commitmail json YAML

phil is working on wifi, thanks phil!

(maya)

2018-07-20 01:40:30 UTC MAIN commitmail json YAML

Nouveau is now in a release, hurray.

(maya)

2018-07-20 01:38:35 UTC MAIN commitmail json YAML

Remove completed items. Go everyone!

(maya)

2018-07-19 19:52:00 UTC MAIN commitmail json YAML

Print ethernet address at attach

(jmcneill)

2018-07-19 19:35:02 UTC MAIN commitmail json YAML

The fpu mode for VFP2 instructions is still just vfp.

(joerg)

2018-07-19 18:30:28 UTC MAIN commitmail json YAML

2018-07-19 18:27:26 UTC MAIN commitmail json YAML

Implement TRAP_SIGDEBUG for aarch64...
ptraced programs die with:
data_abort_handler, 257: pid 199.1 (a.out): signal 11 (trap 0x82000006) @pc 0, addr 0x0, error=Instruction Abort (EL0)

(christos)

2018-07-19 18:04:26 UTC MAIN commitmail json YAML

Ignore malformed directory entries as created by Dropbox ("/").

(joerg)

2018-07-19 11:09:38 UTC MAIN commitmail json YAML

Remove trailing whitespace.

(wiz)

2018-07-19 09:02:32 UTC MAIN commitmail json YAML

Add 8.0 release date in history table (but no "graphical" representation
yet).

(martin)

2018-07-19 05:09:34 UTC MAIN commitmail json YAML

Avoid using magic numbers for arguments of workqueue_create (NFC)

(ozaki-r)

2018-07-18 23:10:28 UTC MAIN commitmail json YAML

2018-07-18 22:40:56 UTC MAIN commitmail json YAML

ffs_superblock_validate - check fs_old_size too.

Now I can mount OpenWindows Version 3 CD from 1991.

(uwe)

2018-07-18 17:57:00 UTC MAIN commitmail json YAML

Remove superfluous macro.

(wiz)

2018-07-18 16:50:05 UTC MAIN commitmail json YAML

Various improvements to man page. Sync usage.

(wiz)

2018-07-18 16:42:49 UTC MAIN commitmail json YAML

2018-07-18 16:41:54 UTC MAIN commitmail json YAML

Remove superfluous macros.

(wiz)

2018-07-18 16:40:30 UTC MAIN commitmail json YAML

Various improvements.

(wiz)

2018-07-18 13:39:36 UTC MAIN commitmail json YAML

On Xen, always alias _atomic_cas_64 to _atomic_cas_cx8. AFAIK Xen doesn't
support CPUs that don't support cx8.
i386 XENPAE_DOMU boots again.

(bouyer)

2018-07-18 10:44:17 UTC MAIN commitmail json YAML

Read xHCI 1.1's HCCPARAMS2 registar and print it with aprint_debug_dev().
e.g.: xhci0: hcc2=0x7d<ETC,CIC,LEC,CTC,FSC,U3C>

(msaitoh)

2018-07-18 07:06:40 UTC MAIN commitmail json YAML

- Fix compile error for kernel configuration file which has no any Ethernet
  device driver.
- Add missing default label.
- Fix NetBSD RCS Id.

(msaitoh)

2018-07-18 06:50:48 UTC MAIN commitmail json YAML

remove ifdef __clang.
make position independent, and cleanup.

(ryo)

2018-07-18 02:18:45 UTC MAIN commitmail json YAML

Remove special-casing of aarch64 now that gcc works (switch aarch64 to gcc)

(christos)

2018-07-18 01:25:00 UTC MAIN commitmail json YAML

2018-07-17 19:13:53 UTC MAIN commitmail json YAML

Document aarch64 ABI break.

(joerg)

2018-07-17 19:12:55 UTC MAIN commitmail json YAML

restore type of uboot_args

(christos)

2018-07-17 19:11:47 UTC MAIN commitmail json YAML

Update LLVM entry.

(joerg)

2018-07-17 19:10:55 UTC LLVM commitmail json YAML

src/external/bsd/llvm/dist/llvm/bindings/go/llvm/DIBuilderBindings.cpp deleted
src/external/bsd/llvm/dist/llvm/bindings/go/llvm/DIBuilderBindings.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/Analysis/ObjectUtils.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/Analysis/OptimizationDiagnosticInfo.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/WebAssembly.def deleted
src/external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/WasmRelocs/WebAssembly.def deleted
src/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/CommandFlags.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ExecutionDepsFix.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/GISelAccessor.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LiveStackAnalysis.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineValueType.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/CVDebugRecord.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeName.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeRecordBuilder.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeSerializer.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeTableBuilder.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/MSF/MSFStreamLayout.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/PublicsStreamBuilder.h deleted
src/external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/ObjectMemoryBuffer.h deleted
      :
(more 445 files)
Mark files not tagged with llvm-337282 as dead

(joerg)

2018-07-17 19:10:01 UTC LLVM commitmail json YAML

src/external/bsd/llvm/dist/clang/include/clang/Analysis/AnalysisContext.h deleted
src/external/bsd/llvm/dist/clang/include/clang/Basic/VersionTuple.h deleted
src/external/bsd/llvm/dist/clang/include/clang/Sema/AttributeList.h deleted
src/external/bsd/llvm/dist/clang/include/clang/Sema/PrettyDeclStackTrace.h deleted
src/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h deleted
src/external/bsd/llvm/dist/clang/include/clang/Tooling/Core/QualTypeNames.h deleted
src/external/bsd/llvm/dist/clang/lib/Analysis/BodyFarm.h deleted
src/external/bsd/llvm/dist/clang/lib/Basic/VersionTuple.cpp deleted
src/external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Bitrig.cpp deleted
src/external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Bitrig.h deleted
src/external/bsd/llvm/dist/clang/lib/Sema/AttributeList.cpp deleted
src/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/RangedConstraintManager.h deleted
src/external/bsd/llvm/dist/clang/lib/Tooling/Core/QualTypeNames.cpp deleted
src/external/bsd/llvm/dist/clang/test/Analysis/diagnostics/diag-cross-file-boundaries.c deleted
src/external/bsd/llvm/dist/clang/test/Analysis/diagnostics/diag-cross-file-boundaries.h deleted
src/external/bsd/llvm/dist/clang/test/CodeGen/2005-07-20-SqrtNoErrno.c deleted
src/external/bsd/llvm/dist/clang/test/CodeGen/address-safety-attr-kasan.cpp deleted
src/external/bsd/llvm/dist/clang/test/CodeGen/blocks-opencl.cl deleted
src/external/bsd/llvm/dist/clang/test/CodeGen/vld_dup.c deleted
src/external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-block-captured-self.m deleted
      :
(more 29 files)
Mark files not tagged with clang-337282 as dead

(joerg)

2018-07-17 19:01:16 UTC MAIN commitmail json YAML

The semantics of DW_CFA_GNU_args_size have changed subtile over the
years. Adopt the new convention that it is call-site specific and that
it should be applied before moving the IP by personality routines, but
not during normal unwinding. Further discussion can be found in
LLVM's phabricator review D38680.

(joerg)

2018-07-17 18:58:58 UTC MAIN commitmail json YAML

Remove redundant setIP call overwritten a few lines later.

(joerg)

2018-07-17 18:58:10 UTC MAIN commitmail json YAML

Ignore atomic alignment warnings on ARM. The compiler doesn't
know that the library implementation will be fine.

(joerg)

2018-07-17 18:57:25 UTC MAIN commitmail json YAML

Provide consistent exception specifiers.

(joerg)

2018-07-17 18:56:58 UTC MAIN commitmail json YAML

Explicitly build as C++03 source.

(joerg)

2018-07-17 18:56:24 UTC MAIN commitmail json YAML

Drop special case for clang/aarch64.

(joerg)

2018-07-17 18:55:31 UTC MAIN commitmail json YAML

2018-07-17 18:41:01 UTC MAIN commitmail json YAML

2018-07-17 18:27:31 UTC MAIN commitmail json YAML

2018-07-17 18:08:37 UTC MAIN commitmail json YAML

2018-07-17 18:04:57 UTC MAIN commitmail json YAML

Let's build gdb for aarch64.

(christos)

2018-07-17 16:21:43 UTC MAIN commitmail json YAML

Use __uint128_t conditionally in aarch64 reg.h

Check whether __uint128_t is available checking __SIZEOF_INT128__ in
preprocessor.
Move __aligned attribute to the whole structure.

No functional change for current NetBSD/aarch64 users of GCC and Clang.

This change allows to use the aarch64 target with rumpkernel on Linux
aarch64 hosts, in a toolchain configuration with 128-bit variables.

OK from <martin> and <christos>

(kamil)

2018-07-17 15:03:48 UTC MAIN commitmail json YAML

Push FPU choice into the assembler sources themselve.

(joerg)

2018-07-17 14:59:51 UTC netbsd-8 commitmail json YAML

2018-07-17 14:54:09 UTC netbsd-8 commitmail json YAML