summaryrefslogtreecommitdiff
path: root/share
AgeCommit message (Collapse)Author
2019-02-11remove a few words to improve flow. ok schwarzeTed Unangst
2019-02-11During build, delete all old library relink files to save disk space.Theo de Raadt
It is not typical for "make build" to do pruning of the base system, but ... not sure where else we can do this ok kettenis
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-07add LIBELFJonathan Gray
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-28Switch i386 to use lld as the default linker.Christian Weisgerber
ok deraadt@
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-22Make zoneinfo directories have permissions 0755 instead of 0555Theo Buehler
so this matches the entries in 4.4BSD.dist that ware changed a while ago. from deraadt
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
2019-01-15correct CODE REFERENCES: kern_clock.c -> kern_tc.c; ok kn@ jmc@ visa@cheloha
2019-01-14mention WN821N v5, capitalise TP-LINK consistentlyJonathan Matthew
2019-01-14hint that kern.clockrate is the userland sysctl name by referring toTed Unangst
KERN_CLOCKRATE instead of the returned type.
2019-01-12Add a manual page for octgpio(4).Visa Hankala
2019-01-11some consistency fixes, and add abcrtc to iic; ok patrickJason McIntyre
2019-01-11we removed the . in the spec long agoMarc Espie
2019-01-11Add manpage for imxsrc(4)Patrick Wildt
2019-01-11Add manpage for abcrtc(4)Patrick Wildt
Requested by kettenis@
2019-01-09Add LRV, NGD and UNIDaniel Jakots
2019-01-08Add BBA:Balmaceda, Aysen, ChileTheo de Raadt
2019-01-06mention that tun is a point-to-point interface so that we know whatTed Unangst
word to search for in ifconfig(4). from claudio