Commit Graph

16303 Commits

Author SHA1 Message Date
nat c65925dd1f Improved mixing function - more expensive in cycles though.
hw.driverN.saturate is no longer needed and has been removed.

Mixing function thanks to jmcneill@.
2017-04-17 22:40:06 +00:00
nat fda69a13cf hw.driverN.saturate bool->integer (default 16).
This means for a greater number than 16 (or user set value) the saturate
function is turned off.  Results in better listening if a large number of
channels are in use.
2017-04-17 20:17:08 +00:00
wiz 5c4fe27df2 Fix month in Dd. 2017-04-17 18:57:23 +00:00
hannken 8c6f10d105 Update vfs_busy(), vfs_unbusy(), vfs_mountalloc() and vfs_rootmountalloc(). 2017-04-17 08:33:40 +00:00
wiz 6c4eff14a3 Wording. 2017-04-16 07:05:24 +00:00
wiz a180087b74 Merge "userland" to be consistent with other man pages. 2017-04-16 06:36:03 +00:00
wiz 47990f0cb9 More wording and whitespace. 2017-04-16 06:34:05 +00:00
sevan 1c38b13310 Cross reference the manuals for listed modules. 2017-04-15 23:33:52 +00:00
sevan 8be58fcddd Add authors email address. 2017-04-15 18:03:02 +00:00
sevan d54d828920 Re-edit
Add authors email address
Remove mb(9) as it's depricated
Bump date

TODO:
Software & Hard interrupt context description.
2017-04-15 18:00:32 +00:00
skrll ef94a4990e Typo - although maybe the language should change 2017-04-15 14:00:30 +00:00
skrll 2d85f55340 Typo 2017-04-15 13:57:47 +00:00
kamil bce1cecb2e Add new documentation locking(9)
It's a document from June 2015.

DESCRIPTION
     The NetBSD kernel provides several synchronization and interrupt control
     primitives.  This manpage aims at giving an overview of these interfaces
     and their proper application.  This document includes also basic kernel
     thread control primitives and rough overview of the NetBSD kernel design.

Part of interfaces are missing, like new mechanisms for networking SMP,
as this documentation page predates them.

Initial review back in 2015 by Thomas Klausner <wiz>
2017-04-15 13:52:51 +00:00
abhinav 811db621b8 Use Xr instead of Fn to refer kqueue(2) 2017-04-15 09:50:57 +00:00
sevan b44ab99898 Improve wording.
Bump date.
2017-04-15 05:01:59 +00:00
sevan 4ebe471d77 Improve wording.
Bump date.
2017-04-15 04:44:14 +00:00
wiz fc8a50fff0 Improve wording. Use standard section headers. Improve table formatting. 2017-04-15 04:08:24 +00:00
wiz 29f6cd1b8a Improve wording. 2017-04-15 04:07:52 +00:00
kamil c1fa86b6a5 Add new documentation for klua_mod_register(9) and klua_lock(9)
Lua kernel bindings.
2017-04-15 03:33:05 +00:00
knakahara 54559a2194 wm(4) can disable msi/msix by build option and ddb command.
suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.
2017-04-13 10:37:36 +00:00
skrll 060b9d97a7 Fix details around the AX88179 USB 3.0 chipset 2017-04-13 07:22:50 +00:00
roy 9ceca8afd6 Cast sizeof to socklen_t as pointed out by kre@ 2017-04-11 18:20:03 +00:00
riastradh 87fb32292e Make VOP_INACTIVE preserve vnode lock on return.
Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html

Ride 7.99.68, a bumpy bus of incremental vfs improvements!
2017-04-11 14:24:59 +00:00
roy 5135ab1948 Add RO_MSGFILTER socket option to PF_ROUTE to filter out
un-wanted route(4) messages.

Inspired by the ROUTE_MSGFILTER equivalent in OpenBSD,
but with an API which allows the full range of potential message types.
2017-04-11 13:55:54 +00:00
maya ab00192bf6 Bump date for previous. 2017-04-10 22:49:35 +00:00
riastradh f6613d2861 B_DELWRI got renamed BO_DELWRI ages ago. 2017-04-10 22:36:14 +00:00
mbalmer 3f1d0adb2f add Turukhansk airport 2017-04-06 19:53:36 +00:00
dholland adf6c8215a Add missing .Sh RETURN VALUES 2017-04-06 15:57:23 +00:00
wiz 03d66370c8 Add evbarm/gxio(4).
Based on PR 52137 by Stephan Meisinger, with some man page improvements
by myself.
2017-04-06 14:35:15 +00:00
abhinav 1a04cf40b6 Add MLINKS for extent_alloc1(9) and extent_alloc_subregion1(9). 2017-04-06 10:46:52 +00:00
abhinav 282ddd74dd Add extent_alloc1 and extent_alloc_subregion1 to the NAME section. 2017-04-06 10:42:14 +00:00
abhinav 036b240ee3 Use Xr to refer uiomove(9) and kcopy(9)
Add kcopy(9) to SEE ALSO as well
2017-04-06 09:52:32 +00:00
wiz a18f8f5ffd Add missing word. 2017-04-06 09:41:05 +00:00
pgoyette 57e79085cf Expand on previous, and note that splnet() and spltty() are also synonyms
for splvm().
2017-04-06 03:00:13 +00:00
pgoyette 249d8f6bdf Oooppsss - the MLINK for splbio.9 was already present! 2017-04-06 02:24:51 +00:00
pgoyette f2a10c473c Document splbio() as a deprecated synonym for splvm(). 2017-04-06 02:23:26 +00:00
pgoyette 67c1a86223 Bump date for previous. 2017-04-06 02:22:52 +00:00
pgoyette 89fa587767 Document ubc_zerorange(9). Add it (and ubc_purge(9)) to the MLINKS 2017-04-06 01:54:17 +00:00
abhinav b2eac4abe6 Use Xr instead of Fn to reference splsched(9) 2017-04-02 13:11:32 +00:00
sevan 0d4f6505f7 Sync with r316082 from FreeBSD 2017-03-30 22:33:18 +00:00
abhinav 0af8949ce2 Add `preexist' 2017-03-30 18:38:19 +00:00
abhinav e725035a25 Fix couple of typos. 2017-03-29 08:09:51 +00:00
wiz d806e2a17b More markup. 2017-03-27 07:45:37 +00:00
kamil 3c1e0232dc Update core(5) with current reality
Note cpi_siglwp addition in NetBSD-2.0 and retaining the procinfo ver. 1.

Note ELF_NOTE_NETBSD_CORE_AUXV (2) addition in NetBSD-8.0.

Update the HISTORY section.
2017-03-26 23:49:28 +00:00
pgoyette 80e8985a02 A couple more minor changes for readability. 2017-03-25 05:58:50 +00:00
pgoyette d2ec8f8835 Improve some grammar, let verbs agree in number with their subjects. 2017-03-25 05:51:28 +00:00
pgoyette d99457bcf5 Document new proc.curproc.paxflags variable. 2017-03-24 21:44:13 +00:00
ginsbach c3628b3908 Add the more prevalent media access control (MAC) in addition to
medium access control
2017-03-24 12:49:43 +00:00
abhinav 6be2799a1b Fix spelling of `administered'. 2017-03-24 10:22:23 +00:00
chs 7e30e94394 provide a common softfloat fenv implemenation and use it for softfloat builds.
restore ABI compatibility with previous releases for ieeefp.h on sh3.
add namespace.h protection for all the fenv interfaces.
use MKSOFTFLOAT on sh3 instead of assuming softfloat.
standardize on comparing MKSOFTFLOAT with "no".
remove the arm-specific softfloat fenv code (which also had several bugs).
fix logic errors in the arm hardfloat feraiseexcept() and feupdateenv().
2017-03-22 23:11:07 +00:00
wiz 9147669cb9 Fix some typos. 2017-03-22 09:38:10 +00:00
knakahara f604adfd29 make kernel config flag WM_EVENT_COUNTERS.
suggested by msaitoh@n.o.
2017-03-22 03:32:09 +00:00
wiz 465830a019 Add width argument to list. 2017-03-21 10:12:28 +00:00
nat cf3b979950 Renane ioctl AUDIO_SETPROC to AUDIO_SETCHAN.
Add an ioctl to return channel number (AUDIO_GETCHAN). This can be used
on audio/sound/audioctl devices.

Return EIO in read/write/ioctl/poll/stat if fp has been closed or is
invalid.

Update audio.4, audioio.h and audioctl(1) to reflect these changes.
2017-03-21 07:04:29 +00:00
riastradh bddc620c31 Omit excessive indentation for text. 2017-03-18 21:21:24 +00:00
riastradh e166f0a8ba Bump date. 2017-03-18 21:18:09 +00:00
riastradh 36d5892792 Remove excessive indentation from function description text. 2017-03-18 19:05:38 +00:00
riastradh c0cb46f60e Move out-of-place note about interrupt context and namei.
Tweak paragraph break.
2017-03-18 19:03:23 +00:00
riastradh 88f8641118 Use `\(em', not `--'.
Refill sentences and tweak wording where appropriate while here.
2017-03-18 19:01:01 +00:00
riastradh ffba06d595 Clarify wording: pathname component is not a vnode or lookup result. 2017-03-18 18:55:49 +00:00
riastradh dd3919cd22 Organize namei flags by whose perspective they are relevant to.
- namei callers
- input to VOP_LOOKUP set by caller
- input to VOP_LOOKUP set by namei
- output from VOP_LOOKUP
2017-03-18 18:53:43 +00:00
riastradh c7e3d53cec Rewrite intro to say positively, actively how you use namei. 2017-03-18 18:13:15 +00:00
riastradh 74f8d4473e Rewrite operating modes section.
- Identify contract with caller.
- Identify contract with file system.
- Identify failure modes.
- Write in bulleted lists, not long rambly paragraphs.
2017-03-18 17:55:23 +00:00
riastradh 5f0f612ab5 Clarify what NOCACHE and MAKEENTRY do and who uses them.
De-editorialize.
2017-03-18 16:12:20 +00:00
wiz 6fd7dc2884 Bump date for previous. 2017-03-17 10:09:24 +00:00
chs 877a3ccf7c allow pcu_save() and pcu_discard() to be called on other threads,
ptrace needs to use it that way.
2017-03-16 16:13:19 +00:00
snj 9b4722ab1e clarify history.
prompted by a comment on the blog from "dark"
2017-03-16 05:18:14 +00:00
wiz 3f51937c14 Sort SEE ALSO. 2017-03-15 11:22:15 +00:00
kre d0f7745f4b wpa_supplicant.conf(5) not (8) 2017-03-14 13:34:10 +00:00
maya 5011d7a963 document the current easiest way to use WPA for wireless networking.
don't have my laptop here and going by memory so it may be slightly wrong.
2017-03-14 11:42:06 +00:00
dholland 5977433267 boottime is a timespec these days.
From Tomoyuki Sahara in PR 52059.
2017-03-14 07:23:50 +00:00
leot a50c83166d Add UB (undefined behavior)
Seen in several commit messages
2017-03-13 11:50:06 +00:00
riastradh fffad43485 AMA: ask me anything 2017-03-11 07:10:37 +00:00
wiz e947a523af Bump date for previous. 2017-03-10 15:30:45 +00:00
martin 2f5e87a58e PR misc/52058: replace all proc_trampoline with lwp_trampoline belatedly. 2017-03-10 09:08:47 +00:00
wiz 56a39ce52a Bump date for previous. Use American spelling. 2017-03-09 11:39:43 +00:00
chs f517f4124f mention KDTRACE_HOOKS. 2017-03-09 00:17:32 +00:00
dholland eb2b96c128 cve 2017-03-07 16:40:16 +00:00
dholland 67bf286f50 qvl 2017-03-07 16:37:38 +00:00
wiz f673ce9b9a Use more macros. 2017-03-06 22:29:35 +00:00
snj c059a171f3 bump date, improve english 2017-03-06 17:19:21 +00:00
pgoyette 31b0c07a5a Some minor edits:
s/a on-board/an on-board/
	use "serial comma"
	s/bus/controller/
	add attribution for author of the manual page
2017-03-06 11:34:53 +00:00
knakahara d8e34e901b add "net.inet.ipsec.crypto_support" man 2017-03-06 10:00:14 +00:00
pgoyette d089ac6aad Add pxaip(4) man page from Stephan Meisinger in PR misc/52033 2017-03-06 09:06:01 +00:00
wiz 60123a6bb9 New sentence, new line.
Use more macros.
Bump date for previous.
2017-03-05 23:15:35 +00:00
mlelstv ba576b71a7 Enhance disk metrics by calculating a weighted sum that is incremented
by the number of concurrent I/O requests. Also introduce a new disk_wait()
function to measure requests waiting in a bufq.
iostat -y now reports data about waiting and active requests.

So far only drivers using dksubr and dk, ccd, wd and xbd collect data about
waiting requests.
2017-03-05 23:07:12 +00:00
wiz fdc74d1a1d Improve wording and formatting.
New sentence, new line.
Fix typo.
2017-03-03 11:36:20 +00:00
knakahara 70c816d80b add WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT description
pointed out by pgoyette@n.o, thanks.
2017-03-03 10:44:25 +00:00
snj f90bed86ca CardBus capitalization police 2017-03-02 01:10:21 +00:00
riastradh 62b12952e1 Clarify that kauth_cred_get doesn't modify with reference count. 2017-02-26 15:44:15 +00:00
rin 7e8d492b8f Add DKWEDGE_METHOD_RDB option, which is Amiga Rigid Disk Block (RDB)
partitioning detection method for dk(4).
2017-02-26 11:56:49 +00:00
abhinav 4af2bdf053 Change reference from malloc(3) to jemalloc(3) as the MALLOC_OPTIONS variable
is actually described in jemalloc(3).
2017-02-25 15:55:45 +00:00
msaitoh cfac5f5458 Remove RSS's note in BUGS section because it's supported now. 2017-02-24 13:04:23 +00:00
roy 7457a06fbb Remove kLFT and kRIT from putty.
This allows left and right cursor key movement inside tmux on putty.
See https://github.com/tmux/tmux/issues/708.
2017-02-23 13:22:53 +00:00
kamil 04ccfb0ebb Add SSA to wtf(6)
SSA    static single assignment

Fix position of AMP.
2017-02-23 05:04:14 +00:00
msaitoh b55e058419 Add links for kmem_intr_alloc.9, kmem_intr_free.9 and kmem_intr_zalloc.9. 2017-02-22 09:20:39 +00:00
dyoung e20e65a8eb Fix PR standards/51989: the extension bit extends the presence bitmap
by 32 bits, not 64.
2017-02-21 19:53:49 +00:00
rin 0b097c4bf6 add missing LIBCXX 2017-02-20 16:05:34 +00:00
ryoon 5f4d051ad8 Add valz(4) 2017-02-20 03:29:04 +00:00
wiz 0b0b7ebbf7 Sort. 2017-02-19 11:54:59 +00:00
wiz 58bb7552a1 Add some articles. 2017-02-19 11:16:45 +00:00
rin ede747a0c4 PR kern/51208
Add DISKLABEL_EI (``Endian-Independent'' disklabel) kernel option to machines
that support Master Boot Record (MBR)
2017-02-19 07:43:42 +00:00
wiz 370b757da0 Fix xrefs, sort. 2017-02-18 22:39:00 +00:00
christos afddf109f4 remove extra / 2017-02-18 21:51:36 +00:00
wiz 99f13c162d Fix xrefs, sort. 2017-02-18 21:39:53 +00:00
riastradh 2a63a35f64 Suggest `service xyz start/stop/...' instead of /etc/rc.d/xyz.
From cfkoch.
2017-02-18 05:38:40 +00:00
christos 53476e5361 Fix cross references 2017-02-17 22:31:08 +00:00
christos 3af2acdca3 fix crossrefs 2017-02-17 22:30:27 +00:00
christos 633f3639db fix cross references 2017-02-17 22:19:00 +00:00
christos 7b91b98467 Fix .Xr 2017-02-17 22:10:47 +00:00
christos cb58553691 fix cross references. 2017-02-17 21:31:49 +00:00
kamil e883110f17 Add new si_code TRAP_DBREG
It replaces previous TRAP_HWWPT and is designed to be used for debug
register traps (both watchpoints and breakpoints).

TRAP_HWWPT wasn't documented in siginfo(2) neither noted in doc/CHANGES -
- document it and add new entry in CHANGES. This move is a step towards
switch the watchpoint ptrace(2) api to PT_*DBREGS.

This code was introduced recently and has no impact on stable releases.

Sponsored by <The NetBSD Foundation>
2017-02-17 01:14:31 +00:00
rin aaf544539d The default values for MKPIC are yes and no for sh3 and m68000, respectively.
Bump date.
2017-02-16 17:15:26 +00:00
wiz ae4956b2f3 New sentence, new line.
Remove superfluous macros and whitespace.
Some wording improvements.
2017-02-16 14:00:26 +00:00
knakahara f8f075dfc2 add man for l2tp(4). 2017-02-16 08:32:21 +00:00
abhinav 3b75062635 Fix spelling: s/alogorithms/algorithms 2017-02-15 17:44:52 +00:00
abhinav 1607a98bdc Fix typo. 2017-02-13 19:49:06 +00:00
snj 1e51c718db prune duplicate xkeyboard-config and xkbcomp 2017-02-13 16:33:14 +00:00
skrll 821cb88dda G/C VM_MAX_KERNEL_BUF 2017-02-13 09:46:29 +00:00
wiz e527e4eaa4 Sort sections. 2017-02-12 14:44:20 +00:00
roy ab5b5415b7 Sync our changes. 2017-02-11 09:15:38 +00:00
roy 2887869ac5 Import terminfo-20170128.src 2017-02-11 09:12:32 +00:00
nat f835d36292 Audio now uses fdclone, there is no longer a limitation of one audio
instance per process.  Virtual channels are placed in a queue, so there is
no longer a compile time limit of VAUDIOCHANS.

A new sysctl has been added to control multiple user access.
Mixer labels on virtual channels are now prefixed by vchan.

audiobell.c and audioctl have been updated to reflect these changes.

Use of fdclone was posted to tech-kern@ and improvements made.
Multiuser access control changes and the use of a queue were suggessted by
pgoyette@
2017-02-10 19:31:42 +00:00
christos a4f2a376eb add MKDIRPERM 2017-02-10 16:46:55 +00:00
christos 609217c32d Add MKDIRMODE 2017-02-10 16:44:55 +00:00
kamil 0892a29a1a libpthread_dbg(3) deletion from the base distribution
libpthread_dbg(3) is a remnant library from the M:N thread model
(pre-NetBSD-5.0) API to introspect threads within a process and for use
of debuggers.

Currently in the 1:1 model it's not used in GDB neither in LLDB and it's
not either planned to be used. It's current function to read pthread_t
structures is realizable within a regular debugger capable to
instrospect objects within a tracee (GDB, LLDB...).

Remaining users of this API can still use this library from
pkgsrc/devel/libpthread_dbg.

Sponsored by <The NetBSD Foundation>
2017-02-08 03:44:40 +00:00
christos 3048692a87 Kernel build objdirs have a kernel name after the objdir. Use a regex for
that. Note that debug-prefix-map and debug-regex-map insert entries in a
linked list in reverse order.
2017-02-07 21:19:13 +00:00
plunky fa2a659b6e update for addition (a while ago) of features2 page 2017-02-03 13:23:37 +00:00
abhinav 9cd4c38bd9 Use Xr to refer fnmatch(3). 2017-02-03 07:42:43 +00:00
abhinav 4ed98e090f Add missing entries in the NAME section.
These functions are described in the body of the man page but not
mentioned in the NAME section. Without an entry in the NAME section
apropos(1) doesn't get this man page in the results when queried for
one of those functions.

ok from christos.
2017-02-01 18:47:24 +00:00
abhinav 28f1358652 Also, fix spelling of lookup. 2017-01-31 14:58:17 +00:00
abhinav f51e0298c1 Fix spelling of relocatable. 2017-01-31 14:42:47 +00:00
riastradh ce93027e10 NB: nota bene 2017-01-31 03:44:14 +00:00
christos c6003a6601 add sqlite3 to statically linked libraries for pam. 2017-01-29 21:43:56 +00:00
ginsbach 27c9fdd3fa Add virtual routing and forwarding 2017-01-26 19:00:13 +00:00
wiz fed872eca6 Fix a typo, add a comma. 2017-01-26 13:52:29 +00:00
ryoon 91ab8d2322 Add viornd(4) to virtio(4) man page 2017-01-26 13:38:28 +00:00
pgoyette c787106c30 Add "SOS" 2017-01-25 03:23:29 +00:00
abhinav 1ce36f4238 Fix typo: s/asychronously/asynchronously 2017-01-23 11:49:03 +00:00
abhinav 2971e3ab3b Fix typo: s/openes/opens 2017-01-23 11:42:03 +00:00
abhinav 7d6884c85f Fix spelling of themself 2017-01-22 21:31:20 +00:00
jdolecek 23d1788ac4 xref xhci(4) 2017-01-21 20:30:29 +00:00
jdolecek 4d28299886 long month name 2017-01-21 20:29:38 +00:00
jdolecek f3e49fbede add skeleton manpage for xhci(4) 2017-01-21 20:21:57 +00:00
skrll 330b576ec5 Fix typoes 2017-01-21 09:53:29 +00:00
ginsbach 4b67ed80af Add single and multi-mode fiber 2017-01-19 19:09:06 +00:00
riastradh 1bb116aef4 Add and tweak some cryptography entries. 2017-01-19 03:39:16 +00:00
riastradh 1ec482895b NFCI no functional change intended
(Not to be taken literally about this commit!)
2017-01-19 03:25:34 +00:00
abhinav b11187186d Fix couple of typos:
s/intractible/intractable
	s/contiuously/continuously
2017-01-18 22:38:00 +00:00
riastradh e733120912 DNFT: do not feed troll 2017-01-18 17:29:52 +00:00
matt 2f6f26dc42 Resort _MKVARS.no 2017-01-18 02:33:25 +00:00
joerg 86b4c819bd Don't randomly break the build and restrict -Wsystem-headers to gcc. 2017-01-17 11:09:10 +00:00
njoly 5b1c9fdbe9 Last Nm macro line must not end with a comma. 2017-01-16 12:54:25 +00:00
njoly 8c8db9bbf1 Add missing comma in NAME section. 2017-01-16 12:50:14 +00:00
kamil 6b5f5581b3 Document TRAP_LWP in siginfo(2)
TRAP_LWP - process lwp (thread) traps

Sponsored by <The NetBSD Foundation>
2017-01-14 06:55:40 +00:00
christos 927c23dd97 enable again system header warnings now amd64 builds. 2017-01-13 14:34:58 +00:00
christos 7ca638644a disable until we fix the build. 2017-01-12 19:10:34 +00:00
abhinav 54c4ab264d Fix typo: s/currenly/currently 2017-01-12 18:19:31 +00:00
christos 519cf8e7d5 PR/51831: Don't suppress warnings coming from system header macro expansions. 2017-01-12 16:47:18 +00:00
wiz 89ad80e5bd Fix typo. 2017-01-12 13:14:41 +00:00
martin f83dc93f93 Try to document the new "show vnode_lock" command. 2017-01-12 08:46:49 +00:00
joerg f9c2736326 Disable a couple of warnings until further investigation. 2017-01-11 12:19:43 +00:00
wiz 40563d4054 New sentence, new line.
Remove trailing whitespace.
2017-01-11 11:53:07 +00:00
hannken e2f2c94b67 Move vnode member v_lock as vi_lock to vnode_impl.h. 2017-01-11 09:08:58 +00:00
hannken dcc198a3f8 Move vnode member v_mntvnodes as vi_mntvnodes to vnode_impl.h.
Add an ugly hack so pstat.c may still traverse the list.
2017-01-11 09:07:57 +00:00
hannken 6e1af6b1d7 Move vnode members v_synclist_slot and v_synclist as vi_synclist_slot and
vi_synclist to vnode_impl.h.
2017-01-11 09:06:57 +00:00
hannken 2b4a4af133 Move vnode members v_dnclist and v_nclist as vi_dnclist and
vi_nclist to vnode_impl.h.
2017-01-11 09:04:37 +00:00
maya 3b4ebb08a0 -Wa,--fatal-warnings is a GCC flag and unknown to clang. make it
GCC specific, so we can (try to) build a kernel with higher WARNS
using clang.
2017-01-10 17:16:19 +00:00
skrll 6093e5eae2 binutils 2.26 is no more. 2017-01-10 13:47:18 +00:00
kamil 189ca4b8c7 Document TRAP_CHLD in siginfo(2)
The SIGTRAP signal is thrown from the kernel if EVENT_MASK (ptrace_event)
enables PTRACE_FORK. This new si_code helps debuggers to distinguish the
exact source of signal delivered for a debugger.

Another purpose of TRAP_CHLD is to retain the same behavior inside the
NetBSD kernel for process child traps and have an interface to monitor it.

Retrieving exact event and extended properties of process child trap is
available with PT_GET_PROCESS_STATE.

There is no behavior change for existing software.

This si_code value is NetBSD extension.

Sponsored by <The NetBSD Foundation>
2017-01-10 00:51:56 +00:00
hubertf a12c8506b7 Document kern.sched sysctl variables. 2017-01-09 20:08:26 +00:00
christos 88a8605262 mention tcp signature 2017-01-08 17:57:37 +00:00
christos 13da18a371 - centralize setting of MK* vars in bsd.own.mk
- make sure that the default setting of all vars is done in _MKVARS.{yes,no}
  if possible.
2017-01-08 17:40:44 +00:00
wiz aca767b26f Fix display problem reported by kamil via abhinav. 2017-01-08 14:28:42 +00:00
wiz e7a30ec40c Sort a bit. 2017-01-08 13:53:28 +00:00
christos 44ed840a46 add nsd 2017-01-07 22:27:36 +00:00
kamil 8780553feb Document that TRAP_EXEC is .Nx extension and update .Sh HISTORY for it
Sponsored by <The NetBSD Foundation>
2017-01-07 06:01:20 +00:00
ozaki-r 5ee8b500a7 Add entries of pmap(9) functions 2017-01-07 04:44:12 +00:00
kamil d152fc3170 Document TRAP_EXEC in SIGRAP in siginfo(2)
TRAP_EXEC - Process exec trap

This signal is emitted on exec() when a process is controlled by a
debugger.

Sponsored by <The NetBSD Foundation>
2017-01-07 01:22:12 +00:00
wiz 25ffc5e78c New sentence, new line. 2017-01-05 09:55:01 +00:00
wiz b4e07d632b Bump date for previous. 2017-01-05 09:54:03 +00:00
wiz dd61d2ee17 Use Fl for flags. 2017-01-05 09:50:40 +00:00
maya c29c35b7ee Remove npx.4 for real now 2017-01-03 09:17:19 +00:00
maya 148cc75bdf remove npx(4) and references to it. bump dates for reference removal.
This used to refer to x87 support for x86 machines.

npx isn't really a driver any more. we don't support x86 hardware
without an FPU, and we don't call it by that name in the code or
attach it as npx at something.

brought up on tech-kern. unfortunately the copy to port-i386 disappeared
in a spam filter.
2017-01-03 08:49:04 +00:00
cherry 32a513de8f Document sys/uvm/uvm_init.c:uvm_md_init() 2017-01-02 21:42:01 +00:00
hannken 998709c439 Rename vget() to vcache_vget() and vcache_tryvget() respectively and
move the definitions to sys/vnode_impl.h.

No functional change intended.

Welcome to 7.99.54
2017-01-02 10:33:28 +00:00
wiz d9c9f0be5b More macros, whitespace. 2017-01-02 09:53:04 +00:00
sevan 6a6f30abbb Give a heads up about bus_dmatag_subregion() 2017-01-02 03:12:49 +00:00
pgoyette c09178b60e Document kern.hist 2017-01-01 23:59:19 +00:00
kamil df3a703207 Document AMP in wtf(6)
AMP    asymmetric multiprocessing
2017-01-01 22:44:30 +00:00
wiz 7585dbcb6a bitstring.h does not provide size_t; include sys/types.h for that.
Bump date.
2016-12-29 23:55:28 +00:00
wiz 96932fac5b Fix typos. 2016-12-29 11:50:44 +00:00
kamil 66ee2fea73 Bump date for siginfo(2) and document SI_LWP and SI_NOINFO as .Nx extension
Sponsored by <The NetBSD Foundation>
2016-12-28 21:19:06 +00:00
kamil b87a69e6d0 Document SI_MESGQ in siginfo(2)
SI_MESGQ
  The signal was generated because of the arrival of a message
  on an empty message queue.

This code was commented out since inception of this manual page (originally
located in siginfo(5)).

Sponsored by <The NetBSD Foundation>
2016-12-28 20:41:55 +00:00
kamil 29480d5842 Document SI_QUEUE in siginfo(2)
SI_QUEUE
  The signal was generated via sigqueue(2).

This code was commented out since inception of this manual page (originally
located in siginfo(5)).

Sponsored by <The NetBSD Foundation>
2016-12-28 20:34:36 +00:00
kamil 588fa8e476 Document SI_LWP in siginfo(2)
SI_LWP
  The signal was generated via _lwp_kill(2).

Sponsored by <The NetBSD Foundation>
2016-12-28 20:06:00 +00:00
kamil 16c81e612e Document SI_NOINFO in siginfo(2)
SI_NOINFO
  The signal was generated without specifc info available.

Sponsored by <The NetBSD Foundation>
2016-12-28 20:00:15 +00:00
wiz 81f31009a1 Use more macros. 2016-12-28 11:44:58 +00:00
ozaki-r b79bd95d27 Use ether_ifattach in carp_clone_create instead of C&P code
carp_clone_destroy calls ether_ifdetach so not calling ether_ifattach is
inconsistent. If we add something pair of initialization and destruction
to ether_ifattach and ether_ifdetach (e.g., mutex_init/mutex_destroy),
ether_ifdetach of carp_clone_destroy won't work. So use ether_ifattach.

In order to do so, make ether_ifattach accept the 2nd argument (lla) as
NULL to allow carp to initialize its link level address by itself.
2016-12-28 07:26:24 +00:00
msaitoh 02a1c2e3d0 Add X550. 2016-12-28 05:03:32 +00:00