Commit Graph

263802 Commits

Author SHA1 Message Date
sborrill
35d580002c IPFilter 5 requires you to specify IPv4 or IPv6 2018-12-13 13:11:28 +00:00
martin
6275343145 Avoid undefined behaviour, pointed out by maxv 2018-12-13 12:28:25 +00:00
rin
9f1db18674 Fix (bridge && !inet6) build. 2018-12-13 12:13:33 +00:00
pgoyette
2cfa8ac5e0 Add a note about the (lack of) correspondence between a module's name and
the name of the file from which it is loaded.
2018-12-13 11:28:00 +00:00
ryo
d2dfaf9c13 add support PT_STEP 2018-12-13 10:44:25 +00:00
roy
f609a819ed inet6: discard any received NA with a LL address we own
This matches ARP behaviour.
2018-12-13 10:27:51 +00:00
hannken
2595f06922 Drop v_interlock for zfs_range_lock(), another thread might hold part
of this range and wait for v_interlock.
2018-12-13 10:20:51 +00:00
hannken
398893d51c Operation zfs_range_lock() needs range as (offset,length), not as (low,high). 2018-12-13 10:20:20 +00:00
hannken
0b243f3ebe Don't allow module to init before mp_online. 2018-12-13 10:19:47 +00:00
maya
6aa0aef1f6 Expand SIG_FUNC_RET -from openbsd. 2018-12-13 09:20:05 +00:00
maya
60dcd2644e Remove unused code 2018-12-13 09:09:32 +00:00
maya
16d5f4a25f Remove unused code. 2018-12-13 09:07:53 +00:00
maya
62523467d4 Remove unused macro 2018-12-13 08:45:29 +00:00
maya
3ba1def22c Remove unused macro. 2018-12-13 08:39:34 +00:00
wiz
40e56fc8f4 Use \(en. 2018-12-13 07:34:03 +00:00
msaitoh
460c3d0c38 Fix a wrong access to I217_PROXY_CTRL which was added in inbmphreg.h rev. 1.13
and if_wm.c rev. 1.603.
2018-12-13 05:22:44 +00:00
maya
e1e42e087d Remove unused code. 2018-12-13 05:22:14 +00:00
maya
342e9885b0 ExitString is used for error exit, do the minimum necessary here.
Avoid infinite loop:
telrcv->suboption->ExitString->SetForExit->telrcv

Reported by hacker fantastic, thanks!
2018-12-13 05:15:11 +00:00
maya
233931799b static-ify. 2018-12-13 05:07:03 +00:00
maya
7c20b20625 unifdef TN3270 which is never defined (and wouldn't build if it was)
delete tn3270 file no longer needed.
SetIn3270(); expands to nothing now, so remove it.

No functional change.
2018-12-13 04:49:19 +00:00
dholland
c46ad0a300 Adjust English usage in message for EAI_NONAME. 2018-12-13 04:41:41 +00:00
dholland
aaa03614bc Return EAI_NODATA, not EAI_NONAME, for nonexistent hosts.
This causes e.g. "ssh nosuchname" to print "No address associated with
hostname", which is correct, rather than "hostname nor servname
provided, or not known", which is not.
2018-12-13 04:30:55 +00:00
maya
cd6150e9ad Remove unused macros. 2018-12-13 04:29:18 +00:00
dholland
f71c1f4842 Fix naming inconsistency; PR 53769 from silas. 2018-12-13 03:18:18 +00:00
sevan
a07b17440a typo 2018-12-13 01:58:04 +00:00
jakllsch
2bd6662aa4 Calculate uchcom(4) dividers differently; usually the same, but sometimes better. 2018-12-13 01:40:02 +00:00
sevan
daf842171c Describe what happens when you run vmstat witout any options aka the first line
of vmstat.
2018-12-13 01:29:10 +00:00
jakllsch
68d75cc760 Fix uchcom(4) line parameter settings.
Enables support for line modes other than 8-bit/no-parity/1-stop on
modern chips, and should also work on older chips.
2018-12-13 00:36:30 +00:00
is
d9a08985c1 amdtemp +16h 2018-12-12 23:40:02 +00:00
is
867d63b145 Added support for AMD family 16h cpu sensors - (just like 10h-14h).
(Tested on netbsd-8.0 release.)
2018-12-12 23:35:04 +00:00
jakllsch
8db0f4b3be remove unneeded variables in uchcom_softc 2018-12-12 23:26:00 +00:00
jakllsch
360a788366 omit irrelevant #includes 2018-12-12 23:21:36 +00:00
dholland
c55e902ea9 +DYAC 2018-12-12 22:27:03 +00:00
kre
af2cfdd7cf Reverse a decision made when the printsignals() routines from
kill and sh were merged so that the shell (for trap -l) and
kill (for kill -l) can use the same routine, and site that function
in the shell, rather than in kill (use the code that is in kill as
the basis for that routine).   This allows access to sh internals,
and in particular to the posix option, so the builtin kill can
operate in posix mode where the standard requires just a single
character (space of newline) between successive signal names (and
we prefer nicely aligned columns instead)..

In a SMALL shell, use the ancient sh printsignals routine instead,
it is smaller (and very much dumber).

/bin/kill still uses the routine that is in its source, and is
not posix compliant.   A task for some other day...
2018-12-12 20:22:43 +00:00
maya
3a1a1fef8c switch sprintf to snprintf in places.
Reported by hacker fantastic, thanks!

ok xtos.
2018-12-12 19:05:32 +00:00
ryo
909c712e78 need space 2018-12-12 18:11:00 +00:00
kre
17e492c072 Note that sh(1) has changed since NetBSD 8. Correct formatting of
some of my earlier entries.
2018-12-12 13:02:35 +00:00
kre
0e129c91e0 More fixes for the SYNPOSIS of the readonly built-in.
The SYNOPSIS for "readonly -q" cannot have the -q be
optional ...   Also harmonise the output appearance with
that of the export command.

wiz: have at it...
2018-12-12 12:56:17 +00:00
kre
80657b2503 Fix Oo Op Oc syntax error (which seemed to work OK to me....)
Pointed out by wiz@
2018-12-12 12:30:59 +00:00
kre
95f39b9c19 The time has come, the Walrus said... (but no shoes,
ships, or sealing wax required).   No oysters either.

I have not taken the Magical Mystery Tour, but I
say it anyway...
2018-12-12 12:16:42 +00:00
kre
e1be630664 Add a new test case for NetBSD specific readonly tests.
Add more sub-tests to the export_nbsd test case.
In both cases the new -q and -p VAR options are tested.
2018-12-12 11:52:05 +00:00
kre
150d8297c3 Implement:
readonly -q VAR...
	readonly -p VAR...
	export -q [-x] VAR...
	export -p [-x] VAR...

all available only in !SMALL shells - and while here, limit
"export -x" to full sized shells as well.

Also, do a better job of arg checking and validating of the
export and readonly commands (which is really just one built-in)
and of issuing error messages when something bogus is detected.

Since these commands are special builtin commands, any error
causes shell exit (for non-interactive shells).
2018-12-12 11:51:33 +00:00
wiz
ea293cc938 Remove superfluous dot. 2018-12-12 11:40:08 +00:00
ryo
3bdeb3fa32 - need to save/restore interrupt mask when entering/exiting to/from cpu_switchto_softint().
- when call dosoftints from cpu_idle, interrupts should be disabled.

rarely, lwp stack had been exhausted when high interrupts.
reported by alnsn@. thanks.
2018-12-12 11:14:51 +00:00
maxv
6c8db606f2 Change the map/unmap functions, again. 2018-12-12 10:42:34 +00:00
martin
f9e4cdb460 Retire lmcconfig here too. 2018-12-12 10:25:29 +00:00
skrll
ea54a09a90 Trailing whitespace 2018-12-12 09:55:34 +00:00
maxv
0c0c8940d2 Change the "FILES" section, in the end I don't want to commit toyvirt
and smallkern, there is little interest installing them by default,
rather they can be downloaded from www. It's better this way.

While here add NVMM(4) in "SEE ALSO".
2018-12-12 09:09:08 +00:00
msaitoh
23901b54b6 Add some code for suspend/resume:
- Rename wm_smbustopci() to wm_init_phy_workarounds_pchlan(). It will also
  called when resume.
- Call wm_phy_resetisblocked() after PHY reset in
  wm_init_phy_workarounds_pchlan() to wait for the PHY to quiesce to an
  accessible state.
- Add new wm_resume_workarounds_pchlan() function and use it in wm_resume().
  This workaround is only for PCH2 and newer.
- Don't call wm_disable_aspm() neither in wm_attach() nor in wm_resume()
  but in wm_reset().
- Do some initialization in wm_resume() when IFF_UP is NOT set.
- Don't continue when it failed to acquire semaphore in wm_ulp_disable().
- Add comment.
2018-12-12 08:49:33 +00:00
wiz
6113c007cd Sort sections. Remove superfluous El. Insert Xr. 2018-12-12 08:28:44 +00:00