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 (46m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 23:25:06 UTC Now

2019-04-18 22:49:08 UTC MAIN commitmail json YAML

remove now dated comment.

(mrg)

2019-04-18 20:11:57 UTC MAIN commitmail json YAML

turn on MKCOMPAT for riscv64.

(mrg)

2019-04-18 17:45:12 UTC MAIN commitmail json YAML

Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks! This is the compat code part
pointed out by ozaki-r@

(christos)

2019-04-18 17:13:00 UTC MAIN commitmail json YAML

Follow arm64 and provide two sizes of fonts, so a larger one is chosen
for larger displays.

(maya)

2019-04-18 16:46:11 UTC MAIN commitmail json YAML

Yes, we support FFS_EI but not DISKLABEL_EI... How does that make sense?

(christos)

2019-04-18 16:44:26 UTC MAIN commitmail json YAML

2019-04-18 16:41:55 UTC MAIN commitmail json YAML

2019-04-18 14:01:28 UTC MAIN commitmail json YAML

Fix the bell period.

(isaki)

2019-04-18 13:01:39 UTC MAIN commitmail json YAML

2019-04-18 11:20:17 UTC MAIN commitmail json YAML

Note restrictions on return values from tzgetname() and tzgmtoff()

(pgoyette)

2019-04-18 10:42:25 UTC MAIN commitmail json YAML

We use pthread functions, link against pthread.

(maya)

2019-04-18 10:10:33 UTC MAIN commitmail json YAML

if HAVE_XORG_GLAMOR != no, set define PLATFORM_HAS_EGL=1.

(mrg)

2019-04-18 10:09:37 UTC MAIN commitmail json YAML

on NetBSD, don't define PLATFORM_HAS_EGL if it is already defined

(mrg)

2019-04-18 10:07:24 UTC MAIN commitmail json YAML

2019-04-18 10:07:07 UTC MAIN commitmail json YAML

- various updates for GCC 7 riscv definitions: -mabi and -march changed
- add missing LIBGCC_MACHINE_ARCH
- add the new ldscripts for riscv64 MKCOMPAT.

(mrg)

2019-04-18 10:06:19 UTC MAIN commitmail json YAML

- undef STARTFILE_PREFIX_SPEC, it is wrong for netbsd
- make LINK_SPEC more like other multi-line string defines
- update multilib stuff for GCC 7 riscv -- -m32/-m64 gone, -mabi and
  -march now decide between several options

(mrg)

2019-04-18 08:31:44 UTC MAIN commitmail json YAML

rump: add missing sanity checks at the end of syscalls

(ozaki-r)

2019-04-18 07:56:54 UTC MAIN commitmail json YAML

tests: dump kernel stats on cleanup

(ozaki-r)

2019-04-18 07:56:05 UTC MAIN commitmail json YAML

tests: make utility funtions easy to use for tests that don't use the framework

(ozaki-r)

2019-04-18 06:32:21 UTC MAIN commitmail json YAML

2019-04-18 03:50:13 UTC MAIN commitmail json YAML

2019-04-18 00:52:54 UTC MAIN commitmail json YAML

OpenSSH 8.0 is out

(sevan)

2019-04-17 23:38:33 UTC MAIN commitmail json YAML

Note import of dhcpcd-7.2.0

(roy)

2019-04-17 23:36:30 UTC MAIN commitmail json YAML

Remove non distributed file.

(roy)

2019-04-17 23:35:35 UTC MAIN commitmail json YAML

2019-04-17 22:38:14 UTC MAIN commitmail json YAML

2019-04-17 20:46:38 UTC MAIN commitmail json YAML

Get a large enough buffer for the LIF DIR

(skrll)

2019-04-17 20:41:59 UTC MAIN commitmail json YAML

Summary: Ensure default TCP flags are applied to rules like 'pass stateful all'

CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123
CVS:
CVS: Please evaluate your changes and consider the following.
CVS: Abort checkin if you answer no.
CVS: => For all changes:
CVS: Do the changed files compile?
CVS: Has the change been tested?
CVS: => If you are not completely familiar with the changed components:
CVS: Has the change been posted for review?
CVS: Have you allowed enough time for feedback?
CVS: => If the change is major:
CVS: => If the change adds files to, or removes files from $DESTDIR:
CVS: => If you are changing a library or kernel interface:
CVS: Have you successfully run "./build.sh release"?

The documented default "flags S/SAFR" for stateful rules that affect
TCP packets but don't specify any flags, doesn't actually get applied
to a rule like "pass stateful out all". The big problem with this is
that when you then do a "block return-rst" for an incoming packet, the
generated RST packet will create state for the connection attempt it's
blocking, so that a second attempt from the same source will pass.

This change makes the default flags actually apply to such simple
rules.  It also fixes a related bug in the code generation for the
flag matching, where part of the action could erroneously be omitted.

Reviewed by <rmind>
Closes PR bin/54124
Pullup to NetBSD 8

(tih)

2019-04-17 17:44:51 UTC MAIN commitmail json YAML

2019-04-17 17:37:29 UTC MAIN commitmail json YAML

Pick up the latest matching (most recent) entry instead of the first one.

This fixes:
env TZ=Australia/Melbourne date
printing
Thu Apr 18 03:32:32 LMT 2019
instead of:
Thu Apr 18 03:32:32 AEST 2019

XXX: To be strictly correct, the tzgetname() call should probably take a time
reference point in order to return the appropriate zone name for the time
given.

(christos)

2019-04-17 16:45:38 UTC MAIN commitmail json YAML

BCH DSF HFS ISL LIF ODE VXFS VXVM

(sevan)

2019-04-17 15:58:12 UTC netbsd-8 commitmail json YAML

2019-04-17 15:55:00 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #1231):

sys/arch/i386/stand/efiboot/efidisk.c: revision 1.7

efiboot: Don't panic when BLOCK_IO_PROTOCOL is not found.

It has been reported that there is a machine where BLOCK_IO_PROTOCOL
can not be found when network boot without disk.

(martin)

2019-04-17 15:54:55 UTC MAIN commitmail json YAML

Fix Clang/LLVM build in t_ptrace_wait.c

Do not compile functions that might be unused.

(kamil)

2019-04-17 15:42:02 UTC MAIN commitmail json YAML

Make the illegal instruction macro safe, so the compiler does not fear it
would be an illegal instruction when compiling with certain cpu options.

(martin)

2019-04-17 14:06:48 UTC MAIN commitmail json YAML

LZSS NC-SI NCSI ODM VPD

(sevan)

2019-04-17 12:30:51 UTC MAIN commitmail json YAML

2019-04-17 11:01:19 UTC MAIN commitmail json YAML

2019-04-17 10:07:01 UTC MAIN commitmail json YAML

- define __riscv__ again
- define *intptr_t in terms of 'long int' always
- move fixtfdi.c, fixunstfdi.c, floatditf.c, and floatunditf.c into t-netbsd64
- remove duplicated riscv case in config.gcc, reducing upstream diff as well
- regen riscv64 mknative

(mrg)

2019-04-17 09:37:51 UTC MAIN commitmail json YAML

src/external/gpl3/binutils/lib/libbfd/arch/riscv32/bfd.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/lib/libbfd/arch/riscv32/bfd_stdint.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/lib/libbfd/arch/riscv32/bfdver.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/lib/libbfd/arch/riscv32/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/lib/libbfd/arch/riscv32/defs.mk@1.3 / diff / nxr@1.3
src/external/gpl3/binutils/lib/libiberty/arch/riscv32/config.h@1.3 / diff / nxr@1.3
src/external/gpl3/binutils/lib/libiberty/arch/riscv32/defs.mk@1.3 / diff / nxr@1.3
src/external/gpl3/binutils/lib/libopcodes/arch/riscv32/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/usr.bin/common/arch/riscv32/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/usr.bin/common/arch/riscv32/defs.mk@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/usr.bin/gas/arch/riscv32/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/usr.bin/gas/arch/riscv32/targ-env.h@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/usr.bin/gprof/arch/riscv32/defs.mk@1.3 / diff / nxr@1.3
src/external/gpl3/binutils/usr.bin/gprof/arch/riscv32/gconfig.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/defs.mk@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libbacktrace/arch/riscv32/backtrace-supported.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libbacktrace/arch/riscv32/config.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libgcc/arch/riscv32/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgomp/arch/riscv32/libgomp.spec@1.2 / diff / nxr@1.2
      :
(more 16 files)
mknative-gcc and mknative-binutils for riscv32.  mostly builds.

(mrg)

2019-04-17 09:21:57 UTC MAIN commitmail json YAML

2019-04-17 08:56:10 UTC MAIN commitmail json YAML

2019-04-17 07:55:33 UTC MAIN commitmail json YAML

fix MKCOMPAT=no builds.

(mrg)

2019-04-17 07:47:56 UTC MAIN commitmail json YAML

Remove unused inclusion.

(msaitoh)

2019-04-17 07:45:23 UTC MAIN commitmail json YAML

also want s_nexttoward.c on riscv.  now tests/lib/libm links.

(mrg)

2019-04-17 07:40:35 UTC MAIN commitmail json YAML

add missing atomic_and_16_nv_cas.c atomic_and_8_nv_cas.c.

(mrg)

2019-04-17 07:35:38 UTC MAIN commitmail json YAML

add missing aliases for _atomic_cas_32_ni and atomic_cas_uint_ni.

(mrg)

2019-04-17 07:04:04 UTC MAIN commitmail json YAML

Tabify. No functional change.

(msaitoh)

2019-04-17 06:50:34 UTC MAIN commitmail json YAML

efiboot: Don't panic when BLOCK_IO_PROTOCOL is not found.

It has been reported that there is a machine where BLOCK_IO_PROTOCOL
can not be found when network boot without disk.

(nonaka)

2019-04-17 02:29:43 UTC MAIN commitmail json YAML

Don't check pserialize_not_in_read_section after panic

It can cause a false positive assertion failure.

(ozaki-r)

2019-04-16 23:14:34 UTC MAIN commitmail json YAML

2019-04-16 21:34:44 UTC MAIN commitmail json YAML

- enable EGL on x86/arm64 (XXX also do evbarm32)
- enable gbm/glamor in the server.

(mrg)

2019-04-16 21:21:51 UTC MAIN commitmail json YAML

enable EGL and glamor.  partly from maya@.

for x86 and evbarm:
- install headers and libEGL
- install xorg-server glamoregl component
- link xorg drivers against gbm/egl

bonus fix:
- fix some wrongly marked compatx11file files

build tested on shark, sgimips, evbarm64-el, amd64 and i386.
run tested on radeon, intel and nvidia on amd64, including
'modesetting' driver on amd64.  however, my systems disable
it due to llvmpipe so i'm not sure what is happening.

(mrg)

2019-04-16 21:20:52 UTC MAIN commitmail json YAML

enable EGL and glamor.  partly from maya@.

for x86 and evbarm:
- install headers and libEGL
- install xorg-server glamoregl component
- link xorg drivers against gbm/egl

bonus fix:
- fix some wrongly marked compatx11file files

build tested on shark, sgimips, evbarm64-el, amd64 and i386.
run tested on radeon, intel and nvidia on amd64, including
'modesetting' driver on amd64.  however, my systems disable
it due to llvmpipe so i'm not sure what is happening.

(mrg)

2019-04-16 20:33:36 UTC MAIN commitmail json YAML

If arg3 is zero then fill it with the value of 'end'.  Helps booting
with qemu.

(skrll)

2019-04-16 19:38:14 UTC MAIN commitmail json YAML

s/evbarm64/evbarm

(sevan)

2019-04-16 18:31:23 UTC MAIN commitmail json YAML

Tag evbarm related changes separately to separate out the entries into the
specific section on the generated webpage.
Others the entries show up in the section of each arm based port.

(sevan)

2019-04-16 17:50:46 UTC MAIN commitmail json YAML

typo - via leot

(sevan)

2019-04-16 17:41:17 UTC MAIN commitmail json YAML

Add manual categories to generate links to man.n.o on the webpage

(sevan)

2019-04-16 17:29:09 UTC MAIN commitmail json YAML

Ran out of patience playing stack protector bingo.

(christos)

2019-04-16 16:01:11 UTC MAIN commitmail json YAML

one tab to start an item, and two tabs to indent the content

(sevan)

2019-04-16 12:25:17 UTC MAIN commitmail json YAML

2019-04-16 12:22:13 UTC MAIN commitmail json YAML

2019-04-16 11:38:21 UTC MAIN commitmail json YAML

2019-04-16 10:52:28 UTC MAIN commitmail json YAML

Indent to improve readability.
Add a description for log event.

(sevan)

2019-04-16 10:00:04 UTC MAIN commitmail json YAML

fix various problems i've seen where cv_*wait*() return ERESTART,
which is -3 in netbsd, which we have mapped linux ERESTARTSYS to.

this has a problem because linux code often returns errors and
pointers in the same value, and pointer values between -4095 and
-1 are considered as error returns, but -3 ends up as 3 and thus
is not considered an error, and mayhem ensues.

with this in place my kabylake system seems actually stable, i
have not triggered any of my prior issues in almost 4 weeks now.

Taylor asked me to write up a description and then wrote most of
the text below for me :-)

In Linux code, we always work with ERESTARTSYS so the code meaning
start over is a positive NetBSD errno safe for PTR_ERR/ERR_PTR.
To achieve this:
1. adapt all cv_waits that return to Linux so they map ERESTART to
  ERESTARTSYS, and
2. adapt all returns to userland so they convert ERESTARTSYS to
  ERESTART.
Leave EINTR and all other error codes alone.

(mrg)

2019-04-16 08:12:58 UTC netbsd-7 commitmail json YAML

2019-04-16 08:10:22 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1673):

sys/external/bsd/drm2/pci/drm_pci.c: revision 1.32 (via patch)

Don't try to interpret the second half of a 64-bit BAR as another one.
From msaitoh@.

(martin)

2019-04-16 08:08:18 UTC MAIN commitmail json YAML

fix -I paths for powerpc*.  convert amd64 specific hack.

we've been building dp-bit.c and fp-bit.c backwards, but as they
use the same input source, they just had opposite objects and
the right total was provided.  oops.

(mrg)

2019-04-16 08:04:23 UTC MAIN commitmail json YAML

revert previously. we want riscv32 to have 128 bit long double...
shall fix the compiler instead.

(mrg)

2019-04-16 08:01:37 UTC MAIN commitmail json YAML

mknative-gcc for riscv64.

(mrg)

2019-04-16 07:50:05 UTC MAIN commitmail json YAML

list a bunch of soft-fp as present in the current risc64 libgcc defs.mk.
this makes mknative-gcc work without breaking maya's manual work.

(mrg)

2019-04-16 07:40:03 UTC MAIN commitmail json YAML

RISC-V ELF psABI says ILP32 also defaults to 128bit long double.

(maya)

2019-04-16 07:37:56 UTC MAIN commitmail json YAML

2019-04-16 07:36:55 UTC MAIN commitmail json YAML

avoid differences to linux64.h that aren't needed.
merge the rs6000_abi_name check for netbsd into the linux/freebsd section.

(mrg)

2019-04-16 07:34:54 UTC MAIN commitmail json YAML

2019-04-16 07:32:30 UTC MAIN commitmail json YAML

risc32 doesn't want long double specific versions

(mrg)

2019-04-16 07:08:52 UTC MAIN commitmail json YAML

We're now using gcc netbsd-stdint.h instead of our own definitions, so
match those with the format types

XXX wrong for 32bit.
XXX unclear if changing the fast types was the right call

(maya)

2019-04-16 07:08:46 UTC MAIN commitmail json YAML

2019-04-16 06:48:33 UTC MAIN commitmail json YAML

It's not required (and can't do) to convert OSIOCSIFMEDIA in ifmedia_ioct()
because the conversiosn is done in doifioctl().

(msaitoh)

2019-04-16 06:45:04 UTC MAIN commitmail json YAML

Re-arrange dino_softc members to improve alignment

(skrll)

2019-04-16 06:44:17 UTC MAIN commitmail json YAML

dino depends on gedoens

(skrll)

2019-04-16 06:19:54 UTC MAIN commitmail json YAML

2019-04-16 06:13:53 UTC MAIN commitmail json YAML

2019-04-16 04:31:43 UTC MAIN commitmail json YAML

Rename ifreqo2n() and ifreqo2n() to IFREQO2N_43() and IFREQN2O_43():
- ifreqo2n() and ifreqn2o() are for COMPAT_43, so add _43 to the name.
- Uppercase to make it clear those are macros.

(msaitoh)

2019-04-16 04:26:02 UTC MAIN commitmail json YAML

The path of SOICSIFMEDA or TAPGIFNAME calls are as follows:

doifioctl()

    pre-convert (if_cvtcmd_43_hook & ifreqo2n)

    (*ifp->if_ioctl)(ifp, cmd, data);

    post-convert (ifreqn2o)

so it's not required to check OSIOCSIFMEDIA and OTAPGIFNAME in if_tap.c.
Those two command is converted to new command in if_cvtcmd_43_hook and
always new commands are seen in tap_ioctl().

OK'd by pgoyette.

(msaitoh)

2019-04-16 03:57:33 UTC netbsd-7-1 commitmail json YAML

2019-04-16 03:57:13 UTC netbsd-7-0 commitmail json YAML

2019-04-16 03:56:53 UTC netbsd-7 commitmail json YAML

2019-04-16 03:53:46 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1688):
sys/kern/sys_mqueue.c: revision 1.44
mq_send1: fix argument validation and reject too large lengths early.
Discovered by Andy Nguyen.

(msaitoh)

2019-04-16 03:53:26 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1688):
sys/kern/sys_mqueue.c: revision 1.44
mq_send1: fix argument validation and reject too large lengths early.
Discovered by Andy Nguyen.

(msaitoh)

2019-04-16 03:52:34 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1688):
sys/kern/sys_mqueue.c: revision 1.44
mq_send1: fix argument validation and reject too large lengths early.
Discovered by Andy Nguyen.

(msaitoh)

2019-04-16 03:48:02 UTC netbsd-8 commitmail json YAML

2019-04-16 03:47:14 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1230):
sys/kern/sys_mqueue.c: revision 1.44
mq_send1: fix argument validation and reject too large lengths early.
Discovered by Andy Nguyen.

(msaitoh)

2019-04-16 02:10:09 UTC MAIN commitmail json YAML

fix merge botch - remove duplicated case statement (not in configure)

(mrg)

2019-04-16 01:44:07 UTC MAIN commitmail json YAML

Sync gcc.old GetPcSpBp() with GCC9 (and recent LLVM)

Unify all NetBSD ports in a single ifdef.

(kamil)

2019-04-16 01:40:16 UTC MAIN commitmail json YAML

Sync GetPcSpBp() with GCC9 (and recent LLVM)

Unify all NetBSD ports in a single ifdef.

(kamil)

2019-04-16 01:02:41 UTC MAIN commitmail json YAML

mq_send1: fix argument validation and reject too large lengths early.
Discovered by Andy Nguyen.

(martin)

2019-04-15 23:41:23 UTC MAIN commitmail json YAML

2019-04-15 23:16:59 UTC MAIN commitmail json YAML

2019-04-15 23:15:53 UTC MAIN commitmail json YAML

npf_boot and /etc/defaults/npf.boot.conf

(sevan)

2019-04-15 22:38:48 UTC MAIN commitmail json YAML

Provide a simpler config for a host which permits any traffic from the host out,
and small subset of traffic in (DHCP (v4 and v6), All ICMPv6, ICMP echo
requests, traceroute, mDNS).

(sevan)

2019-04-15 22:37:13 UTC MAIN commitmail json YAML

cpuctl.8: update the URL for AMD microcode, the previous site listed is
apparently defunct.

(gutteridge)

2019-04-15 21:13:36 UTC MAIN commitmail json YAML

2019-04-15 21:00:33 UTC MAIN commitmail json YAML

Prevent a NULL pointer dereference when the local endpoint is not defined.
From Andy Nguyen, many thanks.

(christos)

2019-04-15 20:51:46 UTC MAIN commitmail json YAML

Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack
disclosure. From Andy Nguyen, many thanks!

(christos)

2019-04-15 20:46:10 UTC MAIN commitmail json YAML

2019-04-15 20:45:08 UTC MAIN commitmail json YAML

2019-04-15 20:40:53 UTC MAIN commitmail json YAML

Ignore atomic alignment error for clang

(christos)

2019-04-15 20:40:37 UTC MAIN commitmail json YAML

2019-04-15 20:38:18 UTC MAIN commitmail json YAML

2019-04-15 20:35:25 UTC MAIN commitmail json YAML

-compact must come last

(uwe)

2019-04-15 20:32:44 UTC MAIN commitmail json YAML

use long long and volatile consistently.

(christos)

2019-04-15 20:21:35 UTC MAIN commitmail json YAML

2019-04-15 19:13:04 UTC MAIN commitmail json YAML

r_symndx is no longer declared, use symnum and initialize it before use.

Completes the changes in the commit:
"Replace COMBREL with just-in-time check in _rtld_relocate_nonplt_objects."
http://mail-index.netbsd.org/source-changes/2017/06/19/msg085496.html

(maya)

2019-04-15 18:49:07 UTC MAIN commitmail json YAML

Re-do previous:
emulate the addition of NETBSD_SUBTARGET_EXTRA_SPECS usually done by
SUBTARGET_EXTRA_SPECS (not used in risc-v) with EXTRA_SPECS.
Go back to using %(netbsd_link_spec) in our link spec, now that it's
a valid string.

Try to mimic other riscv OSes in our LINK_SPEC. they all start with
"-melf" XLEN_SPEC "lriscv" LD_EMUL_SUFFIX

and a definition of LD_EMUL_SUFFIX,
let's copy the LD_EMUL_SUFFIX linux uses.

Now we can link executables.

(maya)

2019-04-15 18:44:26 UTC MAIN commitmail json YAML

we need rintl (long double) to link binaries

(maya)

2019-04-15 18:41:06 UTC MAIN commitmail json YAML

Cargo cult follow the other 128bit long double architecture (sparc64).

(maya)

2019-04-15 16:47:47 UTC MAIN commitmail json YAML

Temporarily ifdef out PTRACE_VFORK and PTRACE_VFORKDONE tests

It's not reliable on all ports. sparc and evbarm are known to hang.

PR kern/54111 by Martin Husemann

(kamil)

2019-04-15 15:58:23 UTC MAIN commitmail json YAML

Provide riscv implementation.

XXX this is MI, why not use it for everyone?

(maya)

2019-04-15 15:56:40 UTC MAIN commitmail json YAML

Don't build compat libraries for riscv, for now.

(maya)

2019-04-15 14:51:23 UTC MAIN commitmail json YAML

2019-04-15 14:19:20 UTC MAIN commitmail json YAML

don't redefine types.
UINTMAX_TYPE / INTMAX_TYPE are mostly not redefined on netbsd.
These choices contradict typical 64bit archs, perhaps we don't want them.

XXX is the SIZE_TYPE default for riscv reasonable?
(long unsigned int for 64bit abi, unsigned int for 32bit abi)

(maya)

2019-04-15 14:03:32 UTC MAIN commitmail json YAML

Avoid -Wconversion warnings

(maya)

2019-04-15 14:02:58 UTC MAIN commitmail json YAML

2019-04-15 14:02:23 UTC MAIN commitmail json YAML

2019-04-15 13:01:08 UTC MAIN commitmail json YAML

Add reference counting to alias states to prevent them disappearing
while still in use.

(hannken)

2019-04-15 12:59:38 UTC MAIN commitmail json YAML

2019-04-15 10:53:17 UTC MAIN commitmail json YAML

Clean up this mess and simplify, so that all the socket options get
handled correctly whether or not the compat_50 module is loaded.

(pgoyette)

2019-04-15 10:17:01 UTC MAIN commitmail json YAML

$ORIGIN support is now enabled.

Thanks martin for the heads up.

(maya)

2019-04-15 09:01:50 UTC MAIN commitmail json YAML

2019-04-15 09:01:29 UTC MAIN commitmail json YAML

2019-04-15 08:55:12 UTC MAIN commitmail json YAML

2019-04-15 08:54:37 UTC MAIN commitmail json YAML

- Add some Intel Xeon Scalable processor's devices.
- Add Some Qlogic devices from OpenBSD.
- Rename Qlogic 0x3022's name from ISP3022 to ISP4022.

(msaitoh)

2019-04-15 07:48:20 UTC MAIN commitmail json YAML

2019-04-15 06:42:06 UTC MAIN commitmail json YAML

Typo: s/a indirection/an indirection/

(abhinav)

2019-04-15 06:16:42 UTC MAIN commitmail json YAML

2019-04-15 06:00:04 UTC MAIN commitmail json YAML

Protect ether_multi list

Fix this driver because it can set IFEF_MPSAFE.

(ozaki-r)

2019-04-15 03:58:29 UTC MAIN commitmail json YAML

If the compat code successfully handled an option, don't return an error.

(pgoyette)

2019-04-15 02:35:28 UTC MAIN commitmail json YAML

Actually update the timeout value for the compability sockops

(pgoyette)

2019-04-15 02:07:11 UTC MAIN commitmail json YAML

Split the COMPAT_50 socket-timeout stuff out of kern/uipc_socket.c
and into its own source file, which is now included in the compat_50
module.

(Not sure how this got missed during the original [pgoyette-compat] work)

(pgoyette)

2019-04-14 22:09:50 UTC MAIN commitmail json YAML

2019-04-14 20:27:02 UTC MAIN commitmail json YAML

Note that we now search DT_RUNPATH paths as well.

(maya)

2019-04-14 19:25:27 UTC MAIN commitmail json YAML

Provide a definition of quiet NaN for RISC-V, and a reference to where
it comes from.

(maya)

2019-04-14 19:21:37 UTC MAIN commitmail json YAML

undo previous unlock/relock; it is not needed now that we added the tls model
declaration to all externs in jemalloc (suggested by joerg@)

(christos)

2019-04-14 19:13:18 UTC MAIN commitmail json YAML

2019-04-14 15:55:24 UTC MAIN commitmail json YAML

PR/53990, PR/52380, PR/52102: UFS2 cylinder group inode allocation botch

Fix rare allocation botch in ffs_nodealloccg().

Conditions:
  a) less than
        #_of_initialized_inodes(cg->cg_initediblk)
        - inodes_per_filesystem_block
      are allocated in the cylinder group
  b) cg->cg_irotor points to a uninterupted run of
      allocated inodes in the inode bitmap up to the
      end of dynamically initialized inodes
      (cg->cg_initediblk)

In this case the next inode after this run was returned
without initializing the respective inode block. As the
block is not initialized these inodes could trigger panics
on inode consistency due to old (uninitialized) disk data.

In very rare cases data loss could occur when
the uninitialized inode block is initialized via the
normal mechanism.
Further conditions to occur after the above:
  c) no panic
  d) no (forced) fsck
  e) and more than cg->cg_initediblk - inodes_per_filesystem_block
      allocated inodes.

Fix:
Always insure allocation always in initialized inode range
extending the initialized inode range as needed.

Add KASSERTMSG() safeguards.

ok hannken@

(kardel)

2019-04-14 11:35:54 UTC MAIN commitmail json YAML

Only need to #include sys/vnode.h once

(pgoyette)

2019-04-14 09:09:55 UTC MAIN commitmail json YAML

Add more checks, if the values are negative we hit a KASSERT later in the
timeout.

Reported-by: syzbot+662dbeb526303f458255@syzkaller.appspotmail.com

(maxv)

2019-04-14 08:23:20 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2019-04-14 07:59:56 UTC MAIN commitmail json YAML

Set the snippet_length field of the callback_args

Because of this field not being set, apropos was failing to show snippet when piped to a pager
or when used with -p argument.

(abhinav)

2019-04-14 07:57:51 UTC MAIN commitmail json YAML

Create a RPI compatible image which cn be used with

kernel_address=0x10000040

in config.txt.

XXX alignment requirement needs fixing

(skrll)

2019-04-14 04:16:32 UTC MAIN commitmail json YAML

Fix build error.  size locater is gone.
Thanks mrg@.

(isaki)

2019-04-14 01:45:30 UTC MAIN commitmail json YAML

ifix uninialized pid

(christos)

2019-04-13 21:39:46 UTC MAIN commitmail json YAML

Remove unused declaration of __BIT and __BITS
it's defined already, tested with #error.

(maya)

2019-04-13 19:29:27 UTC MAIN commitmail json YAML

Omit mention of old vnd(4) bug, now resolved.

Via elge, thanks.

(maya)

2019-04-13 19:15:25 UTC MAIN commitmail json YAML

If an enable-method property is present on the cpu node and not supported
by the kernel, try to use the enable-method from the cpus node instead.

(jmcneill)

2019-04-13 18:04:23 UTC MAIN commitmail json YAML

2019-04-13 18:04:04 UTC MAIN commitmail json YAML

2019-04-13 18:02:37 UTC MAIN commitmail json YAML

2019-04-13 18:02:06 UTC MAIN commitmail json YAML

fix core stack traces (missing register 25)

(christos)

2019-04-13 17:54:13 UTC MAIN commitmail json YAML

build the generic 128bit long double code.

(maya)

2019-04-13 17:34:38 UTC MAIN commitmail json YAML

2019-04-13 17:21:49 UTC MAIN commitmail json YAML

The spin-table CPU enable method is only valid for 64-bit kernels.

(jmcneill)

2019-04-13 17:18:26 UTC MAIN commitmail json YAML

Don't alias the long double version to the double version.
We now have 128bit long double (by the upstream GCC changing things)

(maya)

2019-04-13 16:08:54 UTC MAIN commitmail json YAML

Looks like libc is too big to be able to use j. use a longer distance jump

(maya)

2019-04-13 15:57:31 UTC MAIN commitmail json YAML

Our current configuration is that long double is 128bit, so reflect
that in the relevant headers.

Taken from sparc64.

(maya)

2019-04-13 15:56:18 UTC MAIN commitmail json YAML

Provide defines for the 64bit case.

(maya)

2019-04-13 15:54:07 UTC MAIN commitmail json YAML

Fake mknative. enough to build libc, with other changes pending

(maya)

2019-04-13 15:53:32 UTC MAIN commitmail json YAML

use NETBSD_LINK_SPEC_ELF rather than netbsd_link_spec.

My current guess as to why it makes a difference is that riscv, unlike other
targets, doesn't use the macro SUBTARGET_EXTRA_SPECS for anything meaningful

Fixes linking libgcc_s.so, which is now emitted as a dynamic library, not
a static object (which fails, as it has undefined references)

XXX there might be a better way of doing this

(maya)

2019-04-13 15:08:49 UTC MAIN commitmail json YAML

Undefine SSE stuff; we don't want portable code to depend on it and we
don't provide the necessary headers.

(christos)

2019-04-13 12:41:37 UTC MAIN commitmail json YAML

Handle changes since the gcc riscv toolchain was upstreamed

(maya)

2019-04-13 10:58:11 UTC MAIN commitmail json YAML

2019-04-13 09:29:49 UTC MAIN commitmail json YAML

Enable TearFree by default.

This avoids visual corruption that can be induced by, e.g.,
env LIBGL_ALWAYS_SOFTWARE=1 glmark2.

(maya)

2019-04-13 08:41:37 UTC MAIN commitmail json YAML

Introduce POOL_QUARANTINE, a feature that creates a window during which a
freed buffer cannot be reallocated. This greatly helps detecting
use-after-frees, because they are not short-lived anymore.

We maintain a per-pool fifo of 128 buffers. On each pool_put, we do a real
free of the oldest buffer, and insert the new buffer. Before insertion, we
mark the buffer as invalid with KASAN. On each pool_cache_put, we destruct
the object, so it lands in pool_put, and the quarantine is handled there.

POOL_QUARANTINE can be used in conjunction with KASAN to detect more
use-after-free bugs.

(maxv)

2019-04-13 08:26:14 UTC MAIN commitmail json YAML

2019-04-13 08:23:01 UTC MAIN commitmail json YAML

2019-04-13 06:17:33 UTC MAIN commitmail json YAML

Fix use-after-free. If we're not polling, virtio_enqueue_commit() will send
the transaction, and it means 'xs' can be immediately freed. So, save the
value of xs_control beforehand.

Detected by KASAN, ok jdolecek@.

Fixes PR/54008
Reported-by: syzbot+6513c4afe66237d7207f@syzkaller.appspotmail.com

(maxv)

2019-04-13 03:15:25 UTC MAIN commitmail json YAML

Fix c++ exceptions on arm; jemalloc calls _rtld_tls_get_addr from inside
dl_iterate_phdr, so we need to unlock and relock.

(christos)

2019-04-13 00:23:32 UTC MAIN commitmail json YAML

Do not compile __tls_get_addr() into ldd(1), which fixes ldd(1) crashing
on arm after switching to new jemalloc.

jemalloc invokes __tls_get_addr() under some condition. If anything other
than ld.elf_so nor libc exports it, inconsistency arises as a result.

(rin)

2019-04-12 21:12:21 UTC MAIN commitmail json YAML

2019-04-12 17:43:25 UTC MAIN commitmail json YAML

2019-04-12 17:30:49 UTC MAIN commitmail json YAML

PR/52359: Benjamin Lorenz: When resizing because of a signal save and restore
the cursor position, since it does not change.

(christos)

2019-04-12 15:59:34 UTC MAIN commitmail json YAML

Backout previous - our pool is zeroed, no need to reinitializ here.

(martin)

2019-04-12 15:47:41 UTC MAIN commitmail json YAML

new_menu: add missing initializations - we might be using a previously
freed menu entry which has not been zeroed.

(martin)

2019-04-12 15:12:29 UTC MAIN commitmail json YAML

PR/54117: Paavo Helde: Fix memory overrun: Account for the closing quote
in memory allocation if quoted.

(christos)

2019-04-12 11:02:22 UTC MAIN commitmail json YAML

Split the examples into two separate literal sections

ok wiz@

(abhinav)

2019-04-12 10:57:27 UTC MAIN commitmail json YAML

Markup improvements: use Dv for kqueue filters, events and note names

ok wiz@

(abhinav)

2019-04-12 09:29:26 UTC MAIN commitmail json YAML

2019-04-12 07:12:12 UTC MAIN commitmail json YAML

remove a variable which is no longer used.

(knakahara)

2019-04-12 05:19:24 UTC MAIN commitmail json YAML

Fix a bug that the duplex of manual media setting may be wrong
when the IFM_GMASK bit other than IFM_[FH]DX is set.

(msaitoh)

2019-04-12 04:50:22 UTC MAIN commitmail json YAML

2019-04-12 04:49:48 UTC MAIN commitmail json YAML

- Add some new C620 LPC devices.
- Remove extra white spaces.

(msaitoh)

2019-04-12 04:46:48 UTC MAIN commitmail json YAML

Add the following debug options:

AI_DEBUG
ATHN_DEBUG
ATU_DEBUG
AXEN_DEBUG
BGE_DEBUG
BNX_DEBUG
BWFM_DEBUG
CAS_DEBUG
CBB_DEBUG
CMALO_DEBUG
EF_DEBUG
IWN_DEBUG
IX_DEBUG
LII_DEBUG
MSK_DEBUG
OTUS_DEBUG
RUM_DEBUG
RUN_DEBUG
UMB_DEBUG
UPGT_DEBUG
URAL_DEBUG
URNDIS_DEBUG
URTW_DEBUG
URTWN_DEBUG
WPI_DEBUG
ZYD_DEBUG

(msaitoh)

2019-04-12 03:32:06 UTC MAIN commitmail json YAML

Apply FreeBSD r346028 from ganbold@f.o:

> Fix URE_WDT6_SET_MODE value in the register definition.
> Both linux and u-boot sources for RTL8152 driver has this value.
> RTL8152 USB ethernet is used in NanoPI R1 board as second ethernet.
> This fixes for me RTL8152 USB ethernet not detected problem after
> reboot on NanoPI R1 board.
>
> Both NetBSD and OpenBSD have a wrong value so far.

(msaitoh)

2019-04-12 03:29:24 UTC MAIN commitmail json YAML

Fix an asm-comments-vs-preprocessor-line-continuations mistake in
UFETCH_PROLOGUE and USTORE_PROLOGUE that caused a couple of important
instructions to be omitted, resulting in a fatal trap.

Thanks isaki@ for finding my mistake and providing the fix!

(thorpej)

2019-04-12 01:14:37 UTC MAIN commitmail json YAML

Add missing space in "quotas disabled" output from tunefs -N

(pgoyette)

2019-04-11 23:52:08 UTC MAIN commitmail json YAML

fix typo in error message; database is spelled with one 'b' and three 'a's

(jakllsch)

2019-04-11 23:50:01 UTC MAIN commitmail json YAML

Add a symlink to /altroot/stand to help the kernel find modules.

(alnsn)

2019-04-11 23:23:53 UTC MAIN commitmail json YAML

Add new tests in ATF t_prace_wait*

New tests:

- traceme_vfork_fork
- traceme_vfork_vfork

New tests assert that fork/vfork in vforked traced does not emit any
events.

(kamil)