Commit Graph

264764 Commits

Author SHA1 Message Date
kre 1a9b5ae61d Redo 1.65 in a simpler way. This is the bit rot avoidance code
that is #if 0'd and (still) has never been compiled (most likely
never will be.)

While here, in the same uncompiled code, deal with line number
counting.   Whether this is correct depends upon how this code
is used, and as it never is (and never has been since line numbers
first started being counted), this is somewhat speculative, but
it seems likely to be the correct way to handle things.

NFC (this code is still all #if 0).
2019-01-16 07:14:17 +00:00
msaitoh 538719ab89 Change the register size to uint16_t again in makphy_reset(). No functional
change intended.
2019-01-16 05:19:30 +00:00
msaitoh 8f9a031abe Restore a comment which was removed in rev. 1.46. 2019-01-16 05:11:06 +00:00
knakahara a55e2655bf Initialize m_pkthdr members explicity. 2019-01-16 01:50:25 +00:00
kre 20c0839ae2 Don't use quoteflag when deciding if the word after an alias
should be looked up as a potential following alias - if the first
expands to a string that ends with a space (any space, quoted or
not) then the next word is to be treated as an alias candidate.
(POSIX was to specify only unquoted spaces, but is now going to
leave that unspecified, and the "any space" version turns out to
be more useful.

And besides, the quoteflag test didn't work properly, and would
have been very messy to fix ... if in a word (as if we have a
quoted space) it means that the word has been quoted, which meant
that quoted spaces were correctly detected, but it outside a word,
it just means that the previous word was quoted, so it would sometimes
reject alias lookup on the next word in cases where it is unquestioned
it should be done.
2019-01-15 14:23:56 +00:00
kre be7c7b5cbb pgetc_linecont() needs to use pgetc() rather than pgetc_macro()
so the fake char returned by the latter when an alias ends (which
is there so we can correctly avoid alias recursion) is correctly
ignored where it is not wanted.
2019-01-15 14:17:49 +00:00
martin 019c421601 PR 53869: improve polish "noroot" message 2019-01-15 12:55:03 +00:00
mrg bb7d43b4a5 remove kern.panic_now -- crashme panic node replaces it. 2019-01-15 07:11:23 +00:00
wiz f401b5d182 Use \- for minus. 2019-01-15 07:01:01 +00:00
knakahara 06a59f7e0a Fix PR kern/53848. Add missing "ifconfig -w". 2019-01-15 05:34:37 +00:00
knakahara 2127b06f61 revert t_ipsec.sh:r1.7 2019-01-15 05:33:42 +00:00
uwe 3e392f0443 Fly, nasal demons, fly away... 2019-01-15 03:43:15 +00:00
riastradh f5a847d300 Use the same variable for the locale example. 2019-01-15 03:30:58 +00:00
uwe 326784a6c3 Don't talk about "the first argument" when there's only one. 2019-01-15 01:23:49 +00:00
uwe 31759755bb Fix markup pasto. 2019-01-15 01:13:49 +00:00
uwe 2a102dd013 Remove the extra cast to int in the CAVEATS example.
We removed it from EXAMPLES a few releases ago.
2019-01-15 01:11:03 +00:00
uwe 893d5ca890 Fix typo in macro flag. 2019-01-15 00:43:32 +00:00
riastradh 2712861341 Expand on correct and incorrect usage, and on compiler warnings.
Give an example program with the warning, and some example nonsense
outputs.  Also note why glibc's approach doesn't solve the problem.
2019-01-15 00:31:19 +00:00
jdolecek acfe9f79b1 nothing handles AHCI_QUIRK_BADPMPRESET quirk, remove and change all entries
using it (ATI SB600/SB700) to instead use AHCI_QUIRK_BADPMP
2019-01-14 21:29:56 +00:00
jdolecek 0acc5098e6 fix typo in comment 2019-01-14 21:09:01 +00:00
jdolecek 54f8a68ddf add KASSERT()s to ensure aprint_*_dev() and aprint_*_ifp() is not called
with NULL dv or ifp respectively

related to PR kern/53789
2019-01-14 19:21:54 +00:00
maxv 4d0870e51c Add #ifndef i386, the dbregs are 32bit in this case anyway. 2019-01-14 18:54:07 +00:00
maxv e0e84df697 Fix bug, should be ip6_protox[]. 2019-01-14 18:51:15 +00:00
sevan 56c916f8ab Storage related acronyms
ESDI, ESI, IPI, SES, SMD, SRP
2019-01-14 17:25:12 +00:00
wiz 2426c51b97 Remove Pp before It, where it has no effect. 2019-01-14 15:56:06 +00:00
wiz e8920d824d Fix macro, fix grammar. 2019-01-14 15:55:35 +00:00
yamaguchi a8fe32ecc0 Add multiqueue support, vioif(4) 2019-01-14 15:00:27 +00:00
yamaguchi 6d613515d5 Set IFEF_MPSAFE flag 2019-01-14 14:57:25 +00:00
yamaguchi 94b53882b2 Add multiqueue support, virtio(4) 2019-01-14 14:55:37 +00:00
yamaguchi 8af7ff79ef Functionize the same code related to ctrl vq in vioif(4) 2019-01-14 14:52:57 +00:00
yamaguchi 217b9f6be8 Divide some elements of vioif_softc into txq, rxq, and ctrlq 2019-01-14 14:35:52 +00:00
yamaguchi ae8d76aa4f Make macros not depend on vioif_softc 2019-01-14 14:32:13 +00:00
mlelstv 680fcadd28 Fix infinite loop like in fdtbus_get_string_index. 2019-01-14 12:23:53 +00:00
kre 4426ee8da1 Whitespace (indent with tabs, rather than spaces), and rearrange one
line that needed wrapping so it no longer does, and is (IMO) clearer.
WHile here, note that this was created in 2019, not 2018, for the
copyright notice...

NFCI.
2019-01-14 03:30:25 +00:00
christos 323118b11c add call error checks, requested by mrg@ 2019-01-14 00:23:43 +00:00
mrg 40fb220229 normalise comment for fileassoc(8). from PR#44873. 2019-01-14 00:13:18 +00:00
mrg 7ac32fbe62 switch sparc pmap lock to the scheme sparc64 uses:
- local IPL_NONE mutex for general pmap locking operations, not
  kernel lock.
- for pmap_activate()/pmap_deactivate(), switch to using the
  existing ctx_lock, and push handling of it into ctx_alloc() the
  ctx_free() callers.

fixes easy to trigger deadlocks on systems with >2 cpus.  without
this patch i usually hang during boot.  with it, i was able to
push the machine hard for over 12 hours.

XXX: pullup-8, and maybe -7.
2019-01-13 22:11:11 +00:00
snj a117763158 regen for 2.25 2019-01-13 19:21:27 +00:00
jakllsch 6835f27c8d Incite the "Purple Cow" wrath of Gelett Burgess upon ourselves. 2019-01-13 17:55:03 +00:00
uwe a73c12be45 .Pp before .Bd is redundant.
From Edgar Pettijohn.
2019-01-13 16:48:51 +00:00
christos 42bad95822 Increase the timeout a bit, and make sure we join so that there is no
race.
2019-01-13 15:36:57 +00:00
gson 5a561c0cd0 Mark the fs/vfs/t_renamerace:udf_renamerace_dirs test case as an
expected failure referencing PR kern/53865, and force failure to avoid
reports of unexpected success as it does not realiably fail under
qemu.  This makes the treatment of udf_renamerace_dirs the same as
that of udf_renamerace, only with a different PR.  Also, make
whitespace consistent between the two.
2019-01-13 14:35:00 +00:00
maxv 7e9223365a Forgot to commit file along with identcpu.c::rev1.86. 2019-01-13 12:19:09 +00:00
maxv 4729fe3d53 On certain AMD f10h CPUs (like mine), the BIOS does not enable WC+. It
means that the guest pages that are WC+ become CD, and this degrades
performance of the guests.

Explicitly enable WC+.

While here clarify the AMD identification code.
2019-01-13 12:16:58 +00:00
gson c807c19194 Don't mark the traceme_vfork_crash_bus test case as an expected failure
when it is executing as part of the lib/libc/sys/t_ptrace_waitid test,
because that particular combination is not failing, at least not on amd64.
It is failing as part of other tests, so PR lib/53343 still applies.
2019-01-13 11:03:20 +00:00
maxv 7ceb32d30a Handle more corner cases, clean up a little, and add a set of instructions
in Group1.
2019-01-13 10:43:22 +00:00
maxv 57f35105a5 Reset DR7 before loading DR0-3, to prevent a fault if the host process
has dbregs enabled.
2019-01-13 10:07:50 +00:00
maxv c204348316 Error out if the higher 32 bits of DR6 and DR7 are set. MOV DR would
fault otherwise.
2019-01-13 10:01:07 +00:00
mrg 94ad063926 add a note about pmap_activate() and pmap_deactivate() not being allow to block. 2019-01-13 06:59:15 +00:00
kre 7b39a1eecc Always return from expandm() with errno unaltered, so on the
off chance it failed, there's still the possibility that whatever
processes the result will be able to deal with the %m that would
(presumably) be left in the format string.

And as a frill, don't call strerror() until we know we are
going to use its result (still call it only once, no matter
how many %m's are in the format string).
2019-01-13 06:10:34 +00:00