Commit Graph

277733 Commits

Author SHA1 Message Date
kamil
460ab12717 Document kmem_strdup() and kmem_strndup()
Added in 2018 by christos@ in sys/sys/kmem.h r. 1.11.
2020-06-18 23:30:51 +00:00
wiz
e830eb67a9 Add acl(9) from FreeBSD.
Needs work before it should be added to the build.
2020-06-18 20:38:42 +00:00
tsutsui
1a8462f3d5 Use a sane default for size of partition a: rather than odd 0x1fffffff.
The latter one seems derived from 386BSD (and 4.4BSD),
but it could confuse sysinst as noted in PR/55187.
Sync with most other modern ports that use secperunit
as well as RAW_PART.
2020-06-18 19:54:08 +00:00
wiz
143a74fba3 Remove reference to non-existing extattr(2) and fix two other xrefs. 2020-06-18 19:47:41 +00:00
wiz
1b3734281f Add RCS Id. 2020-06-18 19:46:34 +00:00
wiz
7c0103ad20 Sync usage with manpage. 2020-06-18 19:44:01 +00:00
wiz
f28f16fcc6 Sort option descriptions. Sort options in SYNOPSIS. Fix xrefs.
Comment out acl(9) which we don't have.
2020-06-18 19:43:53 +00:00
wiz
55f1f0071b Fix xrefs, comment out acl(9) which we don't have. 2020-06-18 19:36:13 +00:00
wiz
634f9eb189 The ACL flag is -p, not -n. 2020-06-18 19:32:56 +00:00
tsutsui
69b4acc8fa Provide wdboot as a link of sdboot for Milan also in sysinst.
See the following commit log for details:
 https://mail-index.netbsd.org/source-changes/2018/03/04/msg092779.html
2020-06-18 18:14:06 +00:00
tsutsui
3d2f819b62 Make local functions static.
Tested on 3/60.
2020-06-18 17:59:05 +00:00
maxv
de6fb66dc3 style 2020-06-18 16:56:31 +00:00
tsutsui
378cd2ba83 Fix leading 8 spaces to a tab. 2020-06-18 16:40:08 +00:00
maxv
fd9dd84b86 style 2020-06-18 16:31:15 +00:00
maxv
1cf65264fc style and fix typo 2020-06-18 16:27:24 +00:00
maxv
c44d742460 style 2020-06-18 16:23:43 +00:00
simonb
b9fcd28bf4 General code cleanup:
- use generic macros for building IO and IOBDMA addresses instead
   of many different variations of the same theme.
 - use #define's for CVMSEG addresses instead of magic numbers.
 - use __BIT/__BITS/__SHIFTIN/__SHIFTOUT in most places, instead of
   foo_SHIFT defines or (worse) shifting by magic numbers.

No functional changes.
2020-06-18 13:52:08 +00:00
rin
509f3f4a76 Discard -fstack-usage for vax, for which GCC does not support that option
at the moment.
2020-06-18 11:50:44 +00:00
msaitoh
6039746819 Modify a liitle to reduce diff between ixgbe.c and ixv.c. No functional change. 2020-06-18 09:00:11 +00:00
rin
81e0508055 Fix build for vax; Compile t_ptrace_sigchld.c with -D__TEST_FENV. 2020-06-17 22:07:21 +00:00
riastradh
c145b37369 Spell blowfish-cbc' as such, not like bf-cbc'.
Gotta match the name we actually use for this to work!

Should fix the cgd blowfish-cbc encblkno8 test failures reported at

https://mail-index.netbsd.org/current-users/2020/06/15/msg038871.html
2020-06-17 20:44:45 +00:00
jdolecek
e1d78452d4 explicitly disable INTx interrupts to avoid interrupt storm triggered by
unhandled adapter interrupts

fixes PR kern/46596 by Andreas Gustafsson, fix adopted from FreeBSD
2020-06-17 14:04:03 +00:00
thorpej
b5c030c6f4 Explcitly include <sys/extent.h> here. 2020-06-17 13:09:16 +00:00
msaitoh
441d5d53e1 Add missing callout_stop() for recovery_mode_timer.
NOTE: One of the difference between the local_timer and recovery_mode_timer
is that local_timer runs only when IFF_UP and recovery_mode_timer always runs
(it's enabled on attach).
2020-06-17 09:11:13 +00:00
rin
f68301ec40 Let trigger_fpe() cause floating-point divide by zero exception, instead of
integer one, which is not trapped for powerpc and aarch64.

Note that it is checked in lib/libc/gen/t_siginfo whether integer divide by
zero is interpreted as SIGFPE or not.

Now, all *_crash_fpe tests pass for powerpc, and nothing changes for amd64
at least.
2020-06-17 08:42:16 +00:00
rin
2d089d6a31 Regardless of __HAVE_FENV, include <fenv.h>, which itself defines __HAVE_FENV. 2020-06-17 08:23:18 +00:00
thorpej
8367e471f8 <sys/extent.h> not needed here. 2020-06-17 07:01:02 +00:00
thorpej
1eb47e10ce - <sys/extent.h> not needed here.
- Fix interrupt string buffer name.
2020-06-17 06:59:45 +00:00
thorpej
934f5fa97b <sys/extent.h> not needed here. 2020-06-17 06:48:06 +00:00
thorpej
bb3714a7d1 <sys/extent.h> not needed here. 2020-06-17 06:37:57 +00:00
thorpej
cb34023365 <sys/extent.h> not needed here. 2020-06-17 06:24:15 +00:00
thorpej
d8673138ff Use a vmem arena rather than an extent map to manage Jazz DMA TLB
address space.
2020-06-17 06:20:05 +00:00
thorpej
4dd7c241c5 Typo: vmem_free -> vmem_xfree 2020-06-17 05:52:13 +00:00
thorpej
1fd968ef01 Switch from an extent mao to a vmem arena to manage SGMAP address space. 2020-06-17 04:12:39 +00:00
thorpej
1be67ebe62 #include <sys/extent.h> explicitly. 2020-06-17 03:50:04 +00:00
christos
6d97491368 fix pasto (noted by Viktor Duchovny) 2020-06-17 03:22:06 +00:00
simonb
542e242508 Add -fstack-usage to kernel builds. Produces .su files that can be
analysed to find large stack users.
2020-06-17 02:40:43 +00:00
kamil
aa97815be0 Include explicitly <rump/rump_syscallshotgun.h> for previous indirect users
via <rump/rump.h>.
2020-06-17 00:16:21 +00:00
joerg
5df17207d3 R_ARM_TLS_TPOFF32 needs to adjust the existing value, not blindly
overwrite it.
2020-06-16 21:02:20 +00:00
joerg
41844ca786 Honor addend for R_AARCH64_TLS_TPREL relocation. 2020-06-16 21:01:30 +00:00
maxv
5cbb56529f remove unused 2020-06-16 17:25:56 +00:00
maxv
3ec4b526b7 remove unused 2020-06-16 17:12:18 +00:00
oster
5ffde7d5b6 Improve wording in comments in raid_dumpblock(). 2020-06-16 14:45:08 +00:00
wiz
20648b583d Use more markup. Bump date for previous. 2020-06-16 14:26:39 +00:00
sborrill
0a7bddaaad Describe correctly how whitespace is formatted as the docs did not
match the source.
2020-06-16 13:34:38 +00:00
sevan
5996c744ca Improve sentence 2020-06-16 09:47:11 +00:00
martin
ac717ccabf PR kern/55272: skip this test on uniprocessor machines, it is too dangerous
and can kill the host kernel if a userland watchdog is running
2020-06-16 07:59:07 +00:00
thorpej
3250b75728 Tidy up the function prototypes. NFCI. 2020-06-16 06:42:36 +00:00
thorpej
5712fd8352 Disable DEBUG. 2020-06-16 06:36:56 +00:00
thorpej
4abc8d232e Add vmem_xfreeall(), which frees all allocated regions in the specified arena.
All outstanding allocations MUST have been performed with vmem_xalloc() or
else the behavior is undefined.  (This also implies that the arena must also
not have a quantum cache; note this in the documentation.)
2020-06-16 01:29:00 +00:00