Commit Graph

274326 Commits

Author SHA1 Message Date
wiz
9a9e6da05a Add some commas. 2020-02-26 07:14:47 +00:00
lukem
b310c98c56 update ftp version to 20190622 2020-02-26 05:55:27 +00:00
gutteridge
22b0f33ce3 echo.1: add a note about other echo implementations
The other BSDs all have a note reminding that many shells have their
own internal echo implementations which may vary from this utility, so
add one. (Much of the wording is borrowed from FreeBSD's man page.)

(The other BSDs also have notes about the -n option not really being
portable, and printf[1] being preferable, we might want to add
something about that, too.)
2020-02-26 02:09:46 +00:00
ryoon
34b05ae8e7 Messages in pms_synaptics_input() should not start with "pms_input"
Use "pms_synaptics_input" instead for another 2 messages.
2020-02-25 21:41:38 +00:00
ryoon
2fce724e2a Messages in pms_synaptics_input() should not start with "pms_input"
Use "pms_synaptics_input" instead.
2020-02-25 21:38:42 +00:00
ryoon
38b76fc7a8 Do not enter extended W mode conditional for non extended W mode device
Even without extended W mode, sp_w can be 2. This causes
"invalid extended w mode N" warning messages.
Restrict extended W mode conditional for hardwares with extended W
support.

Tested with Synaptics 6.2 device on Panasonic CF-Y8, however it does
not work with X.
2020-02-25 21:36:13 +00:00
roy
7d5fdd89d0 ramdisk-zfsroot: Remove the module loading magic
It's been determined that it's too magical and it's either the job
of the bootloader or you compile it into the kernel yourself.

This entry works in /boot.cfg:

menu=Boot ZFS Root:load solaris;load zfs;fs /ramdisk-zfsroot.fs;boot
2020-02-25 20:05:10 +00:00
jdolecek
5d361e7c10 Previous commit resolves:
netbsd boot error: panic: ASan: Unauthorized Access In ADDR: Addr
 ADDR [8 bytes, read, PoolUseAfterFree]

Reported-by: syzbot+43111d810160fb4b978b@syzkaller.appspotmail.com
2020-02-25 19:34:37 +00:00
jdolecek
c58fcd8567 fix use-after-free in config_interrupts_thread() found by KASAN, introduced
with addition of the locking; problem pointed out by kamil@
2020-02-25 19:14:05 +00:00
ryoon
ec28725d9d Remove a trailing tab. 2020-02-25 16:24:47 +00:00
rin
c7f03ba743 Add one more: Buffalo BSUSRC06. 2020-02-25 11:36:48 +00:00
rin
897e200cea Add CableCreation CD0487 to supported adapter list.
Bump date.
2020-02-25 11:32:09 +00:00
nakayama
eb7c30f064 Fix the fixup script to follow the URL change in /etc/motd (http->https).
PR install/54990, pullup-9
2020-02-25 10:27:01 +00:00
kamil
3dbf747214 Avoid NULL pointer arithmetic
Cherry-pick upstream patch:

From ec5b86b48e99c5501374b01606f1ccdae6a8a93e Mon Sep 17 00:00:00 2001
From: Kamil Rytarowski <n54@gmx.com>
Date: Mon, 24 Feb 2020 22:58:00 +0100
Subject: [PATCH] archive_read.c: silence UBSan warning about undefined
 behavior

Fixes #1335

ec5b86b48e.patch
2020-02-25 09:01:25 +00:00
yamaguchi
e13c819080 Add a comment about RSS and remove a wrong comment
pointed out and reviewed by knakahara@n.o., thanks
2020-02-25 08:05:24 +00:00
yamaguchi
83aabbc061 Use IFM_25G_ACC
pointed out and reviewed by msaitoh@n.o., thanks
2020-02-25 08:02:29 +00:00
yamaguchi
2b15e9ec8a Use kmem_alloc instead of malloc
pointed out and reviewed by knakahar@n.o., thanks
2020-02-25 07:58:44 +00:00
yamaguchi
283d3de4a9 Change the number of retry to be the same as FreeBSD and Linux
pointed out and reviewed by knakahara@n.o., thanks.
2020-02-25 07:53:55 +00:00
yamaguchi
6e254227cf Disable all queues before waiting for the completion
on each queue to reduce the number of delays

pointed out and reviewed by knakahara@n.o., thanks
2020-02-25 07:50:25 +00:00
yamaguchi
48bdbc0885 Use callout_halt() instead of callout_stop for safety
pointed out and reviewed by knakahara@n.o., thanks
2020-02-25 07:45:28 +00:00
yamaguchi
aca1dd3bc4 Stop callout for statistics while the interface is not running 2020-02-25 07:41:32 +00:00
yamaguchi
a2576ffa9b Change position of the cpuid::ixl_hmc_txq
to be same with ixl_hmc_pack_txq[]

This has no functionality impact because the position on memory
is defined in ixl_hmc_pack_txq[].

pointed out and reviewed by knakahara@n.o., thanks
2020-02-25 07:35:54 +00:00
yamaguchi
1ac38ddfd7 Hold per-queue locks when clearing config of queues for safety 2020-02-25 07:31:19 +00:00
yamaguchi
ab5a0b3d6d Add defines for the max number of queue
pointed out and reviewed by knakahara@n.o., thanks
2020-02-25 07:22:18 +00:00
yamaguchi
57a241816f Set 0 to txr_{prod,cons} and rxr_{prod,cons} when HMC objects
are cleared

Those values should be the same as head and tail in an HMC object
2020-02-25 07:17:19 +00:00
yamaguchi
d6355b8dcf Use workqueue API directly, without the wrapper in ixl(4)
to improve performace by removing atomic_ops(3)

pointed out and reviewed by knakahara@n.o., thanks
2020-02-25 07:10:10 +00:00
yamaguchi
12a5bb547f Remove WQ_PERCPU flag for the workqueue that does configurations
such as link up and down

And added kpreempt_disable and kpreempt_enable around
workqueue_enqueue to call it in non-WQ_PERCPU thread context.

pointed out and reviewed by knakahara@n.o., thanks.
2020-02-25 07:05:57 +00:00
yamaguchi
e99dedd666 Added __KERNEL_RCSID 2020-02-25 07:00:26 +00:00
ozaki-r
82bf8980a0 shmif: reduce the number of calls of cprng(9) 2020-02-25 03:26:18 +00:00
ozaki-r
056381ce4e shmif: s/sc_uuid/sc_uid/
It's not UUID :-/
2020-02-25 03:25:36 +00:00
ozaki-r
01d5ee543c shmif: use cprng_strong64 instead of cprng_fast64 to generate a unique ID
shmif uses random bytes generated by cprng(9) as a unique device ID
between rump kernels to identify packets fed by itself and not receive
them.  So if generated bytes are identical between shmif interfaces on
different rump kernels, shmif may drop incoming packets unintentionally.
This is one cause of recent ATF test failures of IPsec.

Fix it by using cprng_strong64 instead of cprng_fast64.  This is a
workaround and we should also investigate why cprng_fast64 starts
failing on rump kernels, although using cprng_strong64 in initialization
itself is feasible.

Fix PR kern/54897
2020-02-25 03:24:48 +00:00
rin
7b0078382b Comment out do_ucas_32(), only user of which, _ucas_32(), is commented out
since powerpc/trap.c rev 1.156:

    http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/powerpc/powerpc/trap.c#rev1.156
2020-02-25 00:42:12 +00:00
kamil
dcbba1fbc7 Add new test in t_ptrace_wait*
New test: syscall_killed_on_sce

Test passes correctly.
2020-02-24 23:46:45 +00:00
ad
f788f8574a uvm_unloanpage(): fix a screwup in previous. slock must be set NULL if
it can't be acquired.
2020-02-24 21:06:11 +00:00
ad
9449130074 v_interlock -> vmobjloc 2020-02-24 20:53:11 +00:00
ad
1316228274 v_interlock -> vmobjlock 2020-02-24 20:49:51 +00:00
jdolecek
60c698dce1 move config_init_mi() call before vfsinit(), which can trigger loading
of VFS modules

fixes crash with LOCKDEBUG due to uninitialized mutex when zfs
module is loaded in boot, because zfs's spa_init() calls config_mountroot()
which now requires the config init having been done
2020-02-24 20:47:47 +00:00
ad
bada6a544d v_interlock -> vmobjlock 2020-02-24 20:44:25 +00:00
ad
62676245ac Adjust for UVM locking changes. 2020-02-24 20:42:18 +00:00
ad
1319e8efbf Adjust for UVM locking changes 2020-02-24 20:31:56 +00:00
ad
bfc37e9217 v_interlock -> vmobjlock 2020-02-24 20:11:45 +00:00
kamil
a8e08e9489 Use UNALIGNED_OK to disable unaligned pointer arithmetic checks in UBSan
Upstream fixed it differently by refactoring the code and the problem will
go away on upgrade to 5.0.
2020-02-24 18:39:47 +00:00
kamil
d8be380674 Rearrange the code to make UNALIGNED_OK available for __NetBSD__ 2020-02-24 16:19:35 +00:00
rin
4c1762c6a4 0x%#x --> %#x for non-external codes.
Also, stop mixing up 0x%x and %#x in single files as far as possible.
2020-02-24 12:38:57 +00:00
rin
4ecd76e535 0x%p --> %p for non-external codes. 2020-02-24 12:20:29 +00:00
rin
223f5f7746 Fix previous; we need <uvm/uvm_extern.h> for machines with
!ARM_HAS_VBAR && !__ARM_FIQ_INDIRECT.
2020-02-24 12:08:08 +00:00
wiz
14df4e9b76 New sentence, new line. Bump date for previous. 2020-02-24 11:59:33 +00:00
rin
fc092edb5e Oops, revert previous; fix build for PPC_OEA64 || PPC_OEA64_BRIDGE.
oea and booke seem to work without direct-mapped and physically
contiguous u-area.
2020-02-24 11:49:17 +00:00
mlelstv
c445faa062 Add one-shot mode. 2020-02-24 11:45:30 +00:00
rin
7edbe5fb42 Remove debug printf I put into bridge_calc_csum_flags().
Sorry for noise.
2020-02-24 00:47:38 +00:00