NetBSD/sys/rump/librump/rumpkern
kamil 17a313ddde Return early on 0-sized transfers (usually to/from NULL-objects)
This logic is already present in subr_copy.c:copyin_vmspace() and
rumpcopy.c:copyinstr().

This avoids memcpy() calls for NULL objects that is Undefined Behavior,
allowed in the kernel space (-fno-delete-null-pointer-checks), but not
in userland.

Reported by UBSan.
2020-04-05 15:16:11 +00:00
..
arch Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
MAINBUS.ioconf Rump is living up to its name 2019-12-17 00:51:28 +00:00
Makefile
Makefile.rumpkern Merge from yamt-pagecache (after much testing): 2020-01-15 17:55:43 +00:00
accessors.c
atomic_cas_generic.c
cons.c - Eliminate the global "boottime" variable, which was being accessed 2020-01-02 15:42:26 +00:00
devsw.c Remove the satlink driver. It was disabled everywhere, had no man page and 2019-01-27 08:53:28 +00:00
emul.c - Eliminate the global "boottime" variable, which was being accessed 2020-01-02 15:42:26 +00:00
etfs_wrap.c
hyperentropy.c
intr.c - Extend the per-CPU counters matt@ did to include all of the hot counters 2019-12-16 22:47:54 +00:00
klock.c
kobj_rename.c The global offset table is spelled .TOC. on PPC64, so preserve that symbol. 2020-02-20 22:52:10 +00:00
locks.c rump rw_lock_op 2020-02-22 21:44:51 +00:00
locks_up.c rump rw_lock_op 2020-02-22 21:44:51 +00:00
ltsleep.c Make page waits (WANTED vs BUSY) interlocked by pg->interlock. Gets RW 2020-03-14 20:23:51 +00:00
lwproc.c - Move the LW_RUNNING flag back into l_pflag: updating l_flag without lock 2020-02-15 18:12:14 +00:00
rump.3
rump.c Don't attempt to detach an evcnt before attaching it. If its not 2020-03-23 14:49:50 +00:00
rump_atomic_cas_up.c
rump_autoconf.c On the one thousand and ninth day rump's mainbus was moved from 2019-05-13 17:49:05 +00:00
rump_curlwp.h
rump_curlwp___thread.h s/static inline/static __inline/g for consistency. 2018-04-19 21:50:06 +00:00
rump_curlwp_hypercall.h s/static inline/static __inline/g for consistency. 2018-04-19 21:50:06 +00:00
rump_lwproc.3
rump_private.h
rump_syscalls.c Regen for _lwp_gettid(2). 2020-04-04 20:27:27 +00:00
rumpcopy.c Return early on 0-sized transfers (usually to/from NULL-objects) 2020-04-05 15:16:11 +00:00
rumpkern.ifspec
rumpkern_if_priv.h
rumpkern_if_wrappers.c
rumpkern_syscalls.c regen 2019-09-22 23:03:20 +00:00
scheduler.c - Hide the details of SPCF_SHOULDYIELD and related behind a couple of small 2020-03-14 18:08:38 +00:00
signals.c
sleepq.c sleepq_t is now a LIST. Forgot to commit earlier. 2020-03-26 22:40:10 +00:00
threads.c Fix build of rump after change in lwp_create's signature 2017-04-21 19:16:10 +00:00
vm.c Tweak the March 14th change to make page waits interlocked by pg->interlock. 2020-03-17 18:31:38 +00:00