Commit Graph

288069 Commits

Author SHA1 Message Date
mlelstv 1f5bdd0a0d Provide missing file ops. Before a simple read() would panic the kernel.
No longer fail close().
2021-06-06 10:40:14 +00:00
mlelstv b486bc6b80 Schedule command timeout without connection lock being held to prevent
a deadlock.
2021-06-06 10:39:10 +00:00
nonaka b067962f39 amdzentemp(4): Add support for per CCD temperature sensor from FreeBSD. 2021-06-06 08:45:18 +00:00
blymn 7a398f9f51 Fix for PR lib/56224
Correct addstr behaviour so it truncates the string in the case where
a string is added on the bottom line of a window where scrolling is
disabled as per the SUSv2 specification.
2021-06-06 05:06:44 +00:00
blymn 9bd6f52099 New check files added for the libcurses addstr test. 2021-06-06 04:59:36 +00:00
blymn 880393fc5e New tests and updates for corrected behaviour due to fix for PR56224
* Added extra testing to the addstr test to demonstrate bug described
  in PR#56224 and validate case when scrolling enabled still works.
* Fixed slk test, the slk_init output changed due to corrected wrapping,
  slk_restore no longer returns ERR probably due to addwchar no longer
  returning ERR when an implicit scroll was attempted when scrolling
  disabled.  Commented out the slk_wset test, this is now returning ERR
  instead of misbehaving, needs investigation.
2021-06-06 04:57:58 +00:00
christos a66f3670d9 regen mipsn64el 2021-06-06 01:09:08 +00:00
pgoyette 8c69265ead Ooopppsss - typo! 2021-06-05 22:45:03 +00:00
christos 73c3dc7d79 Use the libsa dev_net.c (fixes the build since this defined netmask
which has moved to a different file in libsa).
2021-06-05 22:26:51 +00:00
pgoyette 202be4ee97 As with usbverbose and pciverbose, these modules are not safe to be
auto-unloaded.  Disable for now.

All of these need to be updated with an appropriate refcount mechanism
to ensure that the code and/or tables aren't unloaded while they are
being used.
2021-06-05 22:21:15 +00:00
blymn 9e0181d348 New check file for libcurses clear test. 2021-06-05 22:17:15 +00:00
christos 4392cda7ac Make this compile again; there is no SPL_SOFT, so use SPL_SOFTBIO. This
does not matter since we don't do __HAVE_FAST_SOFTINTS...
2021-06-05 21:38:37 +00:00
christos 461b4e59b5 there is no SPL_SOFT 2021-06-05 21:24:16 +00:00
thorpej fb4b3f885b Back out the following changes:
http://mail-index.netbsd.org/source-changes/2020/02/29/msg114581.html
  http://mail-index.netbsd.org/source-changes/2020/02/29/msg114583.html

They have reportedly caused some issues with link detection, and will
be revisited later.
2021-06-05 14:28:28 +00:00
hannken 0af7903fb3 Fix typo, its the element not the array ... 2021-06-05 08:26:34 +00:00
gson 2a775ce64a Use the correct pathname when cleaning up the inner mount on test
failure.  Fixes the ATF crash reported in PR bin/56221, but not
the issue causing the test to fail in the first place.
2021-06-05 06:40:59 +00:00
blymn c22b5d7ca1 Convert % into %% in input string so printf won't barf 2021-06-05 06:23:48 +00:00
blymn 4bbbff78d1 Decouple the clear test from the addstr test, they should not be linked
together because they are not really related.
2021-06-05 06:13:36 +00:00
blymn 536401f05c Add new check file for the clear test. 2021-06-05 06:11:09 +00:00
rin 6453dd22d0 hpcfb_cnattach(): If fbconf == NULL, this is for early console output
(used for hpcmips/VR41xx machines), and wsdisplay_preattach() should be
used instead of wsdisplay_cnattach().

Fix KASSERT failure for double attach of wsdisplay, reported in port-mips.
2021-06-05 02:27:08 +00:00
nonaka 10e4cea901 Add IT8625 chip id. 2021-06-05 01:40:53 +00:00
nonaka b8ea29ba82 amdzentemp(4): Add Zen 3 support. 2021-06-05 01:38:22 +00:00
blymn b1b304b3bc Fix debug_test so it actually works and does not do damage
* disable blind clearing of /tmp.  The comment says this is needed for getwin/putwin
  those tests need to be looked at to correct this.
* remove invalid -I option from director arguments for now.
* fix paths to executables so debug_test will work with installed versions by default
  the previous version was using the src tree locations but basedir was wrong for that.
2021-06-04 23:07:39 +00:00
riastradh 3494bf46bc mount_chfs(8): Remove some vestiges of chewiefs name.
Add RCS id while here and nix some needless whitespace.

No functional change intended.

Patch from Andrius V.
2021-06-04 22:41:36 +00:00
christos 7c3f3593b8 use parsenum like everywhere else in the code. 2021-06-04 22:39:41 +00:00
rillig daf1f5324f lint: fix function name in check for getopt
No functional change.
2021-06-04 21:12:10 +00:00
rillig 1cafaf0099 lint: fix typo in comment 2021-06-04 20:54:18 +00:00
tsutsui 2eb69c8b7e Consistently use #define<tab> as rdreg.h. 2021-06-04 17:12:08 +00:00
tsutsui 8f008b4571 Check and remove a stale work file for UEFI images with incorrect size.
Fixes PR/56132 (build.sh target install-image fails in update-mode).
2021-06-04 17:09:36 +00:00
christos bb9221f69f PR/56230: Don't try to use ifunc with arm and oabi 2021-06-04 15:37:48 +00:00
nia 6fea7fb4ad actually, an anchor is needed so the period is appended 2021-06-04 12:43:14 +00:00
nia 081ceff646 remove empty anchor text 2021-06-04 12:29:33 +00:00
nia e4f8ed1955 re-order initial sections in the order a user is likely to be able
to address them. add a section on NPF. attempt to make various things
easier to find.
2021-06-04 12:12:02 +00:00
wiz 306a842f34 Fix typo. 2021-06-04 11:56:47 +00:00
simonb a08818a5a6 Remove the warning about autoselecting nfs based on : or @.
Ok jmcneill@, mrg@.
2021-06-04 11:55:45 +00:00
nia 1068f92f08 adjust layout of afterboot(8) to make things easier to find 2021-06-04 11:48:18 +00:00
nia 40ec0685cd capitalization police, etc 2021-06-04 11:33:18 +00:00
nia d9c389ef8f SIGINFO is a useful tip 2021-06-04 11:18:31 +00:00
nia 629bf65377 add some tips 2021-06-04 10:56:55 +00:00
hannken d08ba6d24b Test "mountdhup" has to pass now. 2021-06-04 10:48:07 +00:00
hannken 66f6f55589 Change get_exportlist() to collect all exports and emit all
exports for a single mount in one call to nfssvc(2).

Should finally fix PR kern/5844 (NFS server sends "permission denied"
while mound re-read exports).
2021-06-04 10:46:57 +00:00
martin 62e49b8523 Sprinkle a few VMSWAP_DEFAULT_PLAINTEXT for architectures where we do not
have any spare cpu cycles to waste (encrypted swap still could be
enabled by the admin in /etc/sysctl.conf).
2021-06-04 10:46:11 +00:00
hannken 1015c2123b Restructure do_nfssvc() and simplify the left cases GT_HOST and GT_NET.
Add a helper add_export_arg() that emits a single export_args item and
does the IPv6 check.
Always use the path of the mount point for the export.
2021-06-04 10:46:01 +00:00
hannken 5b8c1df03b Add flag/command NFSSVC_REPLACEEXPORTSLIST to nfssvc(2) system call.
Works like NFSSVC_SETEXPORTSLIST but supports "mel_nexports > 1"
and will atomically update the complete exports list for a file system.
2021-06-04 10:44:58 +00:00
riastradh 519578ce45 audio(4): When closing /dev/audioN, drain before removing from list.
Previously, in revision 1.100, I factored the SLIST_REMOVE out of
audio_unlink and audio_close up into audioclose since it is now used
by /dev/audio, /dev/audioctl, and /dev/mixer alike.  But I didn't
realize that the order

1. audio_track_drain
2. SLIST_REMOVE from sc_files

was significant; it matters because audio_track_drain waits for
wakeups that are delivered by hardware interrupts only to files
listed in sc_files.

This also fixes a bug introduced with the audiobell -- it was missing
the SLIST_REMOVE altogether.

For now, duplicate the SLIST_REMOVE calls in a few more places --
this is suboptimal but I want to make sure the logic works before
factoring it all out to tidy up.
2021-06-04 08:57:05 +00:00
wiz de71cbe121 Sort options in usage. 2021-06-04 08:17:53 +00:00
wiz af80e63ad4 Sort options in synopsis. 2021-06-04 08:16:14 +00:00
cjep e31566ddc3 PR standards/11223
Add -G to take a single group argument heading towards POSIX.2 compliance.
Patch from jperkin and reviewed by simonb.
2021-06-04 06:28:42 +00:00
thorpej 35fff04939 Fix some badly-aligned line continuation escapes. 2021-06-04 01:58:02 +00:00
rin 7b1352c2f3 Add missing nbsd_init_abi() call to aarch64_nbsd_init_abi().
Fix tests/usr.bin/gdb/t_regress:pie on aarch64eb (types of auxv was
misinterpreted), and hopefully other strange behaviors on aarch64{,eb}.

This is a regression introduced in GDB11. Neither gdb.old nor release
branches are affected.
2021-06-04 01:42:14 +00:00