summaryrefslogtreecommitdiff
path: root/share/man
AgeCommit message (Collapse)Author
2019-03-10fix some cases of spaces before full stops, where none were neccessary;Jason McIntyre
2019-03-05tweak previous;Jason McIntyre
2019-03-05add libLLVMJonathan Gray
2019-03-04BUGS goes last;Jason McIntyre
2019-03-04known fact, check-lib-depends does not understand subdirectoriesMarc Espie
of LOCALBASE (yet) reminded by cwen@'s question
2019-03-03We call it just Internet nowTheo de Raadt
2019-03-02Do not open a subsection for each and every macro.Ingo Schwarze
Instead, use a tagged list and the canonical .Ic macro as it is natural for such purposes. While here, also delete heaps of needless escaping.
2019-02-26Add manual pages for SMR.Visa Hankala
OK mpi@ sashan@
2019-02-25create a RETURN VALUES section and put things that return in there.David Gwynne
hopefully it is a bit more obvious that what rw_enter returns can be passed up to userland. reads ok jmc@ ok mpi@
2019-02-24Add Dynastream ANTUSB-2 to the list of supported uscom(4) devices.Patrick Wildt
2019-02-23document pci_mapreg_map and some related functions.David Gwynne
i couldn't figure out which argument becomes the flags for the wrapped call to bus_space_map(9), so i wrote this page so i wouldnt have to read the code for this one again. ok jmc@ schwarze@ mpi@ deraadt@
2019-02-22Improve the X86FixupGadgets pass:mortimer
- Target all four kinds of return bytes (c2, c3, ca, cb) - Fix up instructions using both ModR/M and SIB bytes - Force alignment before instructions with return bytes in immediates - Force alignment before instructions that have return bytes in their encoding - Add a command line switch to toggle the functionality. ok deraadt@
2019-02-19add v_uvcount; from fasseJason McIntyre
2019-02-18Change ps_len of struct pfioc_states and psn_len of structAlexander Bluhm
pfioc_src_nodes to size_t. This avoids integer truncation by casts to unsigned. As the types of DIOCGETSTATES and DIOCGETSRCNODES ioctl(2) arguments change, pfctl(8) and systat(1) should be updated together with the kernel. Calculate number of pf(4) states as size_t in userland. OK sashan@ deraadt@
2019-02-13change rt_ifa_add and rt_ifa_del so they take an rdomain argument.David Gwynne
this allows mpls interfaces (mpe, mpw) to pass the rdomain they wish the local label to be in, rather than have it implicitly forced to 0 by these functions. right now they'll pass 0, but it will soon be possible to have them rx packets in other rdomains. previously the functions used ifp->if_rdomain for the rdomain. everything other than mpls still passes ifp->if_rdomain. ok mpi@
2019-02-11remove a few words to improve flow. ok schwarzeTed Unangst
2019-02-09add a BUGS section explaining the situation with box and line drawingIngo Schwarze
in UTF-8 output; suggested by bentley@
2019-02-08Fix typo: "a data cells" -> "a data cell".Anthony J. Bentley
ok schwarze@
2019-02-08add libelf; ok jsgJason McIntyre
2019-02-07minor formatting tweaks, and add the missing RETURN VALUES section;Ingo Schwarze
OK cheloha@ jmc@
2019-02-07Add lock stack trace saving for witness(4).Visa Hankala
This lets witness(4) save a stack trace on each lock acquisition. The saved traces can be viewed in ddb(4) when showing the currently held locks, which may help when debugging incorrect locking. Sample output: ddb{0}> show all locks Process 63836 (rm) thread 0xffff8000221e52c8 (435004) exclusive rrwlock inode r = 0 (0xfffffd8119a092c0) locked @ /usr/src/sys/ufs/ufs/ufs_vnops.c:1547 #0 witness_lock+0x419 #1 _rw_enter+0x2bb #2 _rrw_enter+0x42 #3 VOP_LOCK+0x3f #4 vn_lock+0x36 #5 vfs_lookup+0xa1 #6 namei+0x2b3 #7 dounlinkat+0x85 #8 syscall+0x338 #9 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff81e6a5f0) locked @ /usr/src/sys/arch/amd64/amd64/intr.c:525 #0 witness_lock+0x419 #1 syscall+0x2b6 #2 Xsyscall+0x128 The saving adds overhead, so it is not enabled by default. It can be taken into use by setting sysctl kern.witness.locktrace=1 at runtime or by defining WITNESS_LOCKTRACE in the kernel configuration. Feedback and OK anton@
2019-02-07.PpJason McIntyre
.Bd ... -compact is better written as .Bd ...
2019-02-07deraadt@ says "don't wait" re. adding timeradd.3 to this Makefile...cheloha
2019-02-07Add manpage for timer* macros, actually document timespec* macros.cheloha
We use these all over the tree so they ought to be documented on a separate page; move them out of getitimer.2 into timeradd.3. While moving, clean up the language and markup here and there. Still needs to be added to share/man/man3/Makefile, pending any further cleanup in-tree. With input from schwarze@, jmc@, and millert@. "looks great" deraadt@, "(ok)" jmc@, ok tedu@, "we'll spruce it up in-tree" schwarze@
2019-02-06Remove the misleading statement ".No takes no arguments".Ingo Schwarze
In facts, i works very similarly to .Em and .Sy. Triggered by a question from Kurt Mosiejczuk <kurt at cranky dot work>.
2019-02-06Fix a sysctl name.Visa Hankala
2019-02-06wrap some long lines, no change to actual contentDavid Gwynne
found while discussing atomic_cas_ptr
2019-02-01the sunxi platform abstraction was removed in 2016Jonathan Gray
2019-02-01correct Cd for fdtJonathan Gray
2019-02-01correct Cd for fdtJonathan Gray
2019-01-29Add a dedicated sysctl(2) node for witness(4).Visa Hankala
The new node contains the subsystem's main control variable, kern.witness.watch. It is aliased by the old name, kern.witnesswatch. The alias will be removed in the future. OK anton@ mpi@
2019-01-28saying the apm driver provides a user interface to the apm driver is notJason McIntyre
that helpful. lacking the correct facts, i nicked the following text from the macppc page: The .Nm driver provides an interface which simulates the Advanced Power Management .Pq APM BIOS functions.
2019-01-27sentences start with capital letters;Jason McIntyre
2019-01-26Document the fact that altitude & ground speed values are provided as sensors.Landry Breuil
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2019-01-23machdep.apmwarn and machdep.apmhalt were removed in 2017Jonathan Gray
2019-01-23add a man page for apm(4) on arm64Peter Hessler
OK jsg@
2019-01-21this driver does actually workJonathan Matthew
2019-01-21- add 7265D-16 firmwareJason McIntyre
- while there, knock out one .Tn and reformat the text around it ok stsp
2019-01-21move example configurations to include nwid and nwkey on the same linePeter Hessler
2019-01-20Add support for a new kcov trace mode called KCOV_MODE_TRACE_CMP whereanton
comparison instructions and switch statements are being traced. This mode will be used during fuzzing to generate even more coverage. The same mode is also supported by FreeBSD and Linux. Thanks to jmc@ for improving the manual bits. ok bluhm@ visa@
2019-01-20AF_ROUTE is preferred over PF_ROUTE in socket() andKenneth R Westerback
setsockopt() calls. Recommended by guenther@ ok deraadt@
2019-01-19typo: "wsdisplay* at simlefb?" -> "wsdisplay* at simplefb?"Stuart Henderson
2019-01-19tweak the previous ixl commit, and add an entry to pci;Jason McIntyre
2019-01-19Move boottime into the timehands.cheloha
To protect the timehands we first need to protect the basis for all UTC time in the kernel: the boottime. Because the boottime can be changed at any time it needs to be versioned along with the other members of the timehands to enable safe lockless reads when using it for anything. So the global boottime timespec goes away and the static boottimebin becomes a member of the timehands. Instead of reading the global boottime you use one of two interfaces: binboottime(9) or microboottime(9). nanoboottime(9) can trivially be added later, though there are no consumers for it at the moment. This introduces one small change in behavior. We used to advance the reported boottime just before launching kernel threads from main(). This makes it look to userland like we "booted" moments before those threads were launched. Because there is no longer a boottime global we can no longer trivially do this from main(), so the boottime we report to userspace via e.g. kern.boottime will now reflect whatever the time was when we bootstrapped the timehands via inittodr(9). This is usually no more than a minute before the kernel threads are launched from main(). The prior behavior can be restored by adding a new interface to the timecounter layer in a future commit. Based on FreeBSD r303387. Discussed with mpi@ and visa@. ok visa@
2019-01-19jmatthew@ got my crappy ixl code to work, so I'm pretending to beDavid Gwynne
useful by writing the man page. suggested by jmatthew@
2019-01-18Add missing types, and fix incorrect names.Visa Hankala
2019-01-18add missing .Vt markupIngo Schwarze
2019-01-17clarify and docuement what happens when a tv or ts exceeps INT_MIN ticks.Ted Unangst
with some help from cheloha and schwarze
2019-01-16Document ruby26 FLAVORJeremy Evans