summaryrefslogtreecommitdiff
path: root/share/man/man9
AgeCommit message (Collapse)Author
2021-01-18Introduce new function if_unit(9). This function returns a pointer themvs
interface descriptor corresponding to the unique name. This descriptor is guaranteed to be valid until if_put(9) is called on the returned pointer. if_unit(9) should replace already existent ifunit() which returns descriptor not safe for dereference when context was switched. This allow us to avoid some use-after-free issues in ioctl(2) path. Also this unifies interface descriptor usage. ok claudio@ sashan@
2021-01-16Fix prototype for rw_assert_wrlock() function.mvs
ok anton@ kn@
2021-01-15zap trailing periodanton
2021-01-15add myself as the authoranton
2020-12-12Rename the macro MCLGETI to MCLGETL and removes the dead parameter ifp.jan
OK dlg@, bluhm@ No Opinion mpi@ Not against it claudio@
2020-11-14remove macro instances from arbitrary string width specifiers. for exampleJason McIntyre
-width ".Dv BOB" -> -width "BOB" although they are not errors, they are misleading and probably should not get pasted around
2020-10-09Kill unused IEEE80211_RADIOTAP_HWQUEUE.Martin Pieuchot
Its value is conflicting with an effort to standardize TX flags fields of the radiotap header from Mathy Vanhoef. This flag used to indicate the presence of a specific hardware queue used by WME but is unchecked. ok sthen@, kn@
2020-10-03Mention that kcov_remote_enter() and kcov_remote_leave() can now beanton
called from interrupt context.
2020-09-25documentation should say pool_init, not pmap_initTheo de Raadt
2020-09-01Document sysctl_bounded_args(9)gnezdo
Remove obsolete sysctl_int_arr documentation. Looks good, deraadt@ reads ok, jmc@
2020-08-28Fix a few more typos in man9. Pointed out by jmc@, thanks!Frederic Cambus
2020-08-27Fix a bunch of typos in various man pages.Frederic Cambus
2020-08-10minor polishing: fix typos, add HISTORY and AUTHORS, a few wordingIngo Schwarze
simplifications, add missing markup, and break an overlong line
2020-08-08No longer prevent TCP connections to IPv6 anycast addresses.Florian Obser
RFC 4291 dropped this requirement from RFC 3513: o An anycast address must not be used as the source address of an IPv6 packet. And from that requirement draft-itojun-ipv6-tcp-to-anycast rightly concluded that TCP connections must be prevented. The draft also states: The proposed method MUST be removed when one of the following events happens in the future: o Restriction imposed on IPv6 anycast address is loosened, so that anycast address can be placed into source address field of the IPv6 header[...] OK jca
2020-08-07timeout(9): remove unused interfaces: timeout_add_ts(9), timeout_add_bt(9)cheloha
These two interfaces have been entirely unused since introduction. Remove them and thin the "timeout" namespace a bit. Discussed with mpi@ and ratchov@ almost a year ago, though I blocked the change at that time. Also discussed with visa@. ok visa@, mpi@
2020-08-05Document the p argument of vgonel(9) and vrecycle(9).Tim van der Molen
Spotted by schwarze@, discussed with kn@ and schwarze@
2020-08-03replace the excessively long, barely readable .Fn macros lines inIngo Schwarze
the SYNOPSIS with the modern .Fo idiom; no output change
2020-08-03put the descriptions of the different list types under subsection headings.David Gwynne
it reads better to me. it might be worth considering this for queue(3) too.
2020-08-03document SMR_{SLIST,LIST,TAILQ}_ENTRY by copying queue(3) bits.David Gwynne
2020-08-03add a missing a wordDavid Gwynne
2020-08-02The difference between vgone(9) and vgonel(9) has changed after theTim van der Molen
removal of the vnode interlock in 2007. Reported by and original diff from Dominik Schreilechner. OK jmc@
2020-08-02Catch up sysctl_int.9 to the updated signaturegnezdo
OK kn@, "fine" deraadt@
2020-08-01tweak previous; ok antonJason McIntyre
2020-08-01Add support for remote coverage to kcov. Remote coverage is collectedanton
from threads other than the one currently having kcov enabled. A thread with kcov enabled occasionally delegates work to another thread, collecting coverage from such threads improves the ability of syzkaller to correlate side effects in the kernel caused by issuing a syscall. Remote coverage is divided into subsystems. The only supported subsystem right now collects coverage from scheduled tasks and timeouts on behalf of a kcov enabled thread. In order to make this work `struct task' and `struct timeout' must be extended with a new field keeping track of the process that scheduled the task/timeout. Both aforementioned structures have therefore increased with the size of a pointer on all architectures. The kernel API is documented in a new kcov_remote_register(9) manual. Remote coverage is also supported by kcov on NetBSD and Linux. ok mpi@
2020-07-06make a very quick and dirty pass on a manpage for the kstat api.David Gwynne
2020-06-26In earlier commit, time_second.9 was removed from this directory.Stuart Henderson
Remove it from the Makefile too, unbreaking the tree.
2020-06-26timecounting: deprecate time_second(9), time_uptime(9)cheloha
time_second(9) has been replaced in the kernel by gettime(9). time_uptime(9) has been replaced in the kernel by getuptime(9). New code should use the replacement interfaces. They do not suffer from the split-read problem inherent to the time_* variables on 32-bit platforms. The variables remain in sys/kern/kern_tc.c for use via kvm(3) when examining kernel core dumps. This commit completes the deprecation process: - Remove the extern'd definitions for time_second and time_uptime from sys/time.h. - Replace manpage cross-references to time_second(9)/time_uptime(9) with references to microtime(9) or a related interface. - Move the time_second.9 manpage to the attic. With input from dlg@, kettenis@, visa@, and tedu@. ok kettenis@
2020-06-22timecounting: add gettime(9), getuptime(9)cheloha
time_second and time_uptime are used widely in the tree. This is a problem on 32-bit platforms because time_t is 64-bit, so there is a potential split-read whenever they are used at or below IPL_CLOCK. Here are two replacement interfaces: gettime(9) and getuptime(9). The "get" prefix signifies that they do not read the hardware timecounter, i.e. they are fast and low-res. The lack of a unit (e.g. micro, nano) signifies that they yield a plain time_t. As an optimization on LP64 platforms we can just return time_second or time_uptime, as a single read is atomic. On 32-bit platforms we need to do the lockless read loop and get the values from the timecounter. In a subsequent diff these will be substituted for time_second and time_uptime almost everywhere in the kernel. With input from visa@ and dlg@. ok kettenis@
2020-06-21new sentence, new line;Jason McIntyre
2020-06-21wireguard is taking over the gif mbuf tag.David Gwynne
gif used its mbuf tag to store it's interface index so it could detect loops. gre also did this, and i cut most of the drivers (including gif) over to using the gre tag. so the gif tag is unused. wireguard uses the tag to store peer information between different contexts the packet is processed in. it also needs a bit more space to do that. from Matt Dunwoodie and Jason A. Donenfeld ok deraadt@
2020-06-21document mq_push()David Gwynne
2020-06-19stoeplitz_to_key takes a void * now.David Gwynne
2020-06-18Add entry for wsfont_init.9 in man9 Makefile.Frederic Cambus
OK deraadt@, jmc@, mpi@
2020-06-17put pci_intr_establish_cpu() in, but commented out for now.David Gwynne
it's only available on amd64 (and i386), so don't really want to encourage it's use just yet.
2020-06-17mark up an argument with Fa, not VaDavid Gwynne
2020-06-17have a go at documenting pci_intr_map_msix.David Gwynne
i feel like ive used the word vector too much, but hopefully someone who is good with english will check this and fix it.
2020-06-17replace a long and wrapped Fn line with Fo Fa FcDavid Gwynne
2020-06-17tweak previous;Jason McIntyre
2020-06-17make intrmap_cpu return a struct cpu_info *, not a "cpuid number" thing.David Gwynne
requested by kettenis@ discussed with jmatthew@
2020-06-17manpage for the bits of intrmap we're using at the moment.David Gwynne
2020-06-16typosChristian Weisgerber
2020-06-16tweak previous; ok dlgJason McIntyre
2020-06-16how do you use the stoeplitz stuff?David Gwynne
2020-06-08taskq_barrier is less restricted now.David Gwynne
but the implementation is so much more complicated.
2020-06-05tweak previous;Jason McIntyre
2020-06-05spell if_rxr_livelocked properlyDavid Gwynne
2020-06-05add a small manpage for ifiq functions that drivers care about.David Gwynne
2020-05-29add_random() died years ago. additionally, remove other mistruths orTheo de Raadt
repetitive statements.
2020-05-29fix "STYLE: whitespace at end of input line"David Gwynne
2020-05-28people can't know ifq_deq_begin is discouraged unless it's actually stated.David Gwynne