summaryrefslogtreecommitdiffstats
path: root/share/man/man9
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-02-032-47/+136
|\
| * MFC r293346:kib2016-01-282-47/+136
| | | | | | | | Provide yet another KPI for cdev creation, make_dev_s(9).
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-01-253-8/+58
|\ \ | |/
| * MFC 286974,291653:jhb2016-01-231-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 286974: Remove reference to non-existent kern_openat(9). 291653: The cdevpriv_dtr_t typedef was not able to be used in a function prototype like the various d_*_t typedefs since it declared a function pointer rather than a function. Add a new d_priv_dtor_t typedef that declares the function and can be used as a function prototype. The previous typedef wasn't useful outside of the cdevpriv implementation, so retire it. The name d_priv_dtor_t was chosen to be more consistent with cdev methods since it is commonly used in place of d_close_t even though it is not a direct pointer in struct cdevsw.
| * MFC 292669:jhb2016-01-192-3/+54
| | | | | | | | | | | | | | Add accessor methods to fetch the BAR holding the MSI-X table and PBA. While here, explicitly note the requirement that the BAR(s) must be allocated prior to calling pci_alloc_msix().
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-12-221-2/+2
|\ \ | |/
| * MFC 292038:jhb2015-12-181-2/+2
| | | | | | | | | | Fix a copy and paste bug when this page was first written by copying from BUS_BIND_INTR.9.
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-12-142-2/+3
|\ \ | |/
| * MFH: r291957brueffer2015-12-141-2/+2
| | | | | | | | | | | | | | Fix a comment typo in the code example. PR: 203497 Submitted by: chadf@triularity.org
| * MFH: r291954brueffer2015-12-141-0/+1
| | | | | | | | | | | | | | Add an MLINK for m_collapse. PR: 204205 Submitted by: avos
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-12-101-6/+7
|\ \ | |/
| * MFC r284527,r284528,r284608,r285219,r291166,r291167:ngie2015-12-041-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r284527 (by imp): Update style.9 to reflect consensus on developer's mailing list allowing redundant braces. Differential Revision: https://reviews.freebsd.org/D2842 r284528 (by imp): Bump date. Submitted by: Xin Li r284608 (by imp): Back out contested change until dispute is resolved. This proved to be more contentious than I expected. r285219 (by imp): The results of the vote are in. This reflects that vote. Single line statements inside of braces is recognized as an acceptable style. http://reviews.freebsd.org/V3 As always, this isn't license for wholesale change, etc. r291166: Recommend cc -Wall instead of gcc -Wall r291167: Bump .Dd
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-11-163-4/+84
|\ \ | |/
| * MFC r289195:ngie2015-11-151-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrate the tests from lib/libarchive, usr.bin/cpio, and usr.bin/tar in to the FreeBSD test suite functional_test.sh was ported from bin/sh/tests/functional_test.sh, as a small wrapper around libarchive_test, bsdcpio_test, and bsdtar_test provided by upstream. A handful of testcases in lib/libarchive/tests have been disabled as they were failing when run with kyua test (see BROKEN_TESTS in lib/libarchive/tests/Makefile) As a sidenote: this removes the check/test targets from the Makefiles as they don't match the pattern used in the rest of the FreeBSD test suite. Sponsored by: EMC / Isilon Storage Division Conflicts: lib/libarchive/test usr.bin/cpio/test
| * MFC r290428:bdrewery2015-11-141-1/+1
| | | | | | | | remove \, it confuses things.
| * MFC 290414,290415:jhb2015-11-142-3/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Additional PCI helper functions. 290414: Add helper routines for PCI device drivers to read, write, and modify PCI-Express capability registers (that is, PCI config registers in the standard PCI config space belonging to the PCI-Express capability register set). Note that all of the current PCI-e registers are either 16 or 32-bits, so only widths of 2 or 4 bytes are supported. 290415: Add a new helper function for PCI devices to locate the upstream PCI-express root port of a given PCI device.
* | Merge branch 'stable/10' into develRenato Botelho2015-11-032-7/+0
|\ \ | |/
| * MFC r288295,r288298:ngie2015-10-252-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r288295: Posthumously remove all references to MFREE(9) The macro was removed in r90227 Sponsored by: EMC / Isilon Storage Division r288298: Remove MLINKS to more non-existent mbuf(9) macros Sponsored by: EMC / Isilon Storage Division
* | MFC r275732:Luiz Otavio O Souza2015-10-201-8/+18
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some new modes to OpenCrypto. These modes are AES-ICM (can be used for counter mode), and AES-GCM. Both of these modes have been added to the aesni module. Included is a set of tests to validate that the software and aesni module calculate the correct values. These use the NIST KAT test vectors. To run the test, you will need to install a soon to be committed port, nist-kat that will install the vectors. Using a port is necessary as the test vectors are around 25MB. All the man pages were updated. I have added a new man page, crypto.7, which includes a description of how to use each mode. All the new modes and some other AES modes are present. It would be good for someone else to go through and document the other modes. A new ioctl was added to support AEAD modes which AES-GCM is one of them. Without this ioctl, it is not possible to test AEAD modes from userland. Add a timing safe bcmp for use to compare MACs. Previously we were using bcmp which could leak timing info and result in the ability to forge messages. Add a minor optimization to the aesni module so that single segment mbufs don't get copied and instead are updated in place. The aesni module needs to be updated to support blocked IO so segmented mbufs don't have to be copied. We require that the IV be specified for all calls for both GCM and ICM. This is to ensure proper use of these functions. Obtained from: p4: //depot/projects/opencrypto Relnotes: yes Sponsored by: FreeBSD Foundation Sponsored by: NetGate TAG: IPSEC-HEAD Issue: #4841
* MFC r288271:bdrewery2015-10-082-0/+95
| | | | Document bus_get_resource(9).
* MFC r281785vangyzen2015-10-021-1/+2
| | | | | | | | | | | | | | Always send log(9) messages to the message buffer. It is truer to the semantics of logging for messages to *always* go to the message buffer, where they can eventually be collected and, in fact, be put into a log file. This restores the behavior prior to r70239, which seems to have changed it inadvertently. Submitted by: Eric Badger <eric@badgerio.us> Obtained from: Dell Inc.
* MFC r288278:markj2015-09-301-1/+4
| | | | Document the interface for applying advice up to the end of a file.
* MFC r286513, r286784alc2015-09-271-53/+76
| | | | | | | | | | | | | | | Revise the text about the atomicity of the defined operations across multiple processors. In particular, clearly state that the operations are always atomic when they are applied to the default memory type that is used by the kernel (and applications). Stop describing an acquire operation as a read barrier and a release operation as a write barrier. That description has never been correct, and it has caused confusion. Also, explicitly say that a thread doesn't see its own accesses being reordered. The reordering of a thread's accesses is only (potentially) visible to another thread.
* MFC r286966:bdrewery2015-08-271-0/+1
| | | | Add link for rw_unlock(9) to rwlock(9).
* MFC r285873:trasz2015-08-021-16/+1
| | | | | | | Update Capsicum and Mandatory Access Control manual pages to no longer claim they are experimental. Sponsored by: The FreeBSD Foundation
* MFC r285173:kib2015-07-281-1/+3
| | | | | Document the locking context for the directly dispatched callouts. Cross-reference timeout(9).
* MFC r284646:kib2015-06-271-3/+7
| | | | | The barriers, provided by _acq and _rel atomics, are acquire and release barriers, not read and write barriers.
* MFC, r284192:ken2015-06-161-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r284192 | ken | 2015-06-09 15:39:38 -0600 (Tue, 09 Jun 2015) | 102 lines Add support for reading MAM attributes to camcontrol(8) and libcam(3). MAM is Medium Auxiliary Memory and is most commonly found as flash chips on tapes. This includes support for reading attributes and decoding most known attributes, but does not yet include support for writing attributes or reporting attributes in XML format. libsbuf/Makefile: Add subr_prf.c for the new sbuf_hexdump() function. This function is essentially the same function. libsbuf/Symbol.map: Add a new shared library minor version, and include the sbuf_hexdump() function. libsbuf/Version.def: Add version 1.4 of the libsbuf library. libutil/hexdump.3: Document sbuf_hexdump() alongside hexdump(3), since it is essentially the same function. camcontrol/Makefile: Add attrib.c. camcontrol/attrib.c: Implementation of READ ATTRIBUTE support for camcontrol(8). camcontrol/camcontrol.8: Document the new 'camcontrol attrib' subcommand. camcontrol/camcontrol.c: Add the new 'camcontrol attrib' subcommand. camcontrol/camcontrol.h: Add a function prototype for scsiattrib(). share/man/man9/sbuf.9: Document the existence of sbuf_hexdump() and point users to the hexdump(3) man page for more details. sys/cam/scsi/scsi_all.c: Add a table of known attributes, text descriptions and handler functions. Add a new scsi_attrib_sbuf() function along with a number of other related functions that help decode attributes. scsi_attrib_ascii_sbuf() decodes ASCII format attributes. scsi_attrib_int_sbuf() decodes binary format attributes, and will pass them off to scsi_attrib_hexdump_sbuf() if they're bigger than 8 bytes. scsi_attrib_vendser_sbuf() decodes the vendor and drive serial number attribute. scsi_attrib_volcoh_sbuf() decodes the Volume Coherency Information attribute that LTFS writes out. sys/cam/scsi/scsi_all.h: Add a number of attribute-related structure definitions and other defines. Add function prototypes for all of the functions added in scsi_all.c. sys/kern/subr_prf.c: Add a new function, sbuf_hexdump(). This is the same as the existing hexdump(9) function, except that it puts the result in an sbuf. This also changes subr_prf.c so that it can be compiled in userland for includsion in libsbuf. We should work to change this so that the kernel hexdump implementation is a wrapper around sbuf_hexdump() with a statically allocated sbuf with a drain. That will require a drain function that goes to the kernel printf() buffer that can take a non-NUL terminated string as input. That is because an sbuf isn't NUL-terminated until it is finished, and we don't want to finish it while we're still using it. We should also work to consolidate the userland hexdump and kernel hexdump implemenatations, which are currently separate. This would also mean making applications that currently link in libutil link in libsbuf. sys/sys/sbuf.h: Add the prototype for sbuf_hexdump(), and add another copy of the hexdump flag values if they aren't already defined. Ideally the flags should be defined in one place but the implemenation makes it difficult to do properly. (See above.) Sponsored by: Spectra Logic Corporation ------------------------------------------------------------------------
* MFC 281887:jhb2015-06-0213-13/+13
| | | | | Reassign copyright statements on several files from Advanced Computing Technologies LLC to Hudson River Trading LLC.
* MFC r281915:markj2015-05-292-2/+7
| | | | | | | Make vpanic() externally visible. MFC r281916: Fix DTrace's panic() action.
* MFH: r283114julian2015-05-261-5/+6
| | | | | | | | | | Fixup to the kern_psignal manpage r283105 misspelled kern_psignal as kernel_psignal in one occurrence, and added trailing whitespace. While here, change 'call' to the more standard 'function', and say why the name was changed (taken from the commit message for r225617).
* MFH: r283105julian2015-05-261-5/+18
| | | | | Only several years late, catch the psignal man page up to the fact that psignal has been renamed to kern_psignal since 9.0.
* MFC r282574:bdrewery2015-05-212-18/+1
| | | | Remove references to Giant in namei(9). This was removed in r241896.
* r281955 removed M_FLOWID which could cause problems for old drivers still usinghiren2015-05-111-6/+6
| | | | | | | | | | | | | | | | | the field. It cannot be removed from stable/10 so restore it. Change M_HASHTYPE_GET() and M_HASHTYPE_SET() to do the right thing when M_FLOWID exists. Also bumping the FreeBSD version to note the fact that M_FLOWID is brought back in stable/10. (Just a note that M_FLOWID has been removed from -head.) Spotted by: np Suggested by: hans Reviewed by: hans, tuexen (earlier version) Helped by: jhb, delphij, gjb Sponsored by: Limelight Networks
* MFC 281701:markj2015-05-051-1/+31
| | | | | | SDT(9): add a section on SDT providers, mentioning the "sdt" provider. Add examples demonstrating how one can list available providers and the DTrace probes provided by a provider.
* MFC r275358 r275483 r276982 - Removing M_FLOWID by hps@hiren2015-04-241-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r275358: Start process of removing the use of the deprecated "M_FLOWID" flag from the FreeBSD network code. The flag is still kept around in the "sys/mbuf.h" header file, but does no longer have any users. Instead the "m_pkthdr.rsstype" field in the mbuf structure is now used to decide the meaning of the "m_pkthdr.flowid" field. To modify the "m_pkthdr.rsstype" field please use the existing "M_HASHTYPE_XXX" macros as defined in the "sys/mbuf.h" header file. This patch introduces new behaviour in the transmit direction. Previously network drivers checked if "M_FLOWID" was set in "m_flags" before using the "m_pkthdr.flowid" field. This check has now now been replaced by checking if "M_HASHTYPE_GET(m)" is different from "M_HASHTYPE_NONE". In the future more hashtypes will be added, for example hashtypes for hardware dedicated flows. "M_HASHTYPE_OPAQUE" indicates that the "m_pkthdr.flowid" value is valid and has no particular type. This change removes the need for an "if" statement in TCP transmit code checking for the presence of a valid flowid value. The "if" statement mentioned above is now a direct variable assignment which is then later checked by the respective network drivers like before. r275483: Remove M_FLOWID from SCTP code. r276982: Remove no longer used "M_FLOWID" flag from mbuf.h and update the netisr manpage. Note: The FreeBSD version has been bumped. Reviewed by: hps, tuexen Sponsored by: Limelight Networks
* MFC r279776:dchagin2015-03-251-3/+7
| | | | | Add a cred parameter to the VOP_VPTOCNP(9) manpage. While here fix igor warning about new line.
* MFC r278135,r278202:ngie2015-03-241-1/+6
| | | | | | | | | | | | | | | | | r278135 (by amdmi3): - Remove more files when MK_USB == no Reviewed by: ngie Approved by: ngie Differential Revision: D1600 r278202: Clean up more usb related files when MK_USB == no when dealing with manpages, libraries, and binaries Sponsored by: EMC / Isilon Storage Division
* MFC r279896:markj2015-03-191-1/+17
| | | | Document m_collapse().
* MFC r279802: Don't specify a function name in the example SDT(9) probe.markj2015-03-121-7/+7
|
* MFC r277793:kib2015-02-031-22/+118
| | | | Rewrite pmap_enter(9) man page.
* MFC r275045: callout(9): add sbt flavors of callout_scheduleavg2014-12-082-4/+23
| | | | Not applicable to earlier releases.
* Merge the fueword(9) and casueword(9). In particular,kib2014-11-184-19/+171
| | | | | | | | | | | | | | | | | | | | | | | MFC r273783: Add fueword(9) and casueword(9) functions. MFC note: ia64 is handled like arm, with NO_FUEWORD define. MFC r273784: Replace some calls to fuword() by fueword() with proper error checking. MFC r273785: Convert kern_umtx.c to use fueword() and casueword(). MFC note: the sys__umtx_lock and sys__umtx_unlock syscalls are not converted, they are removed from HEAD, and not used. The do_sem2*() family is not yet merged to stable/10, corresponding chunk will be merged after do_sem2* are committed. MFC r273788 (by jkim): Actually install casuword(9) to fix build. MFC r273911: Add type qualifier volatile to the base (userspace) address argument of fuword(9) and suword(9).
* MFC r273966:kib2014-11-161-2/+25
| | | | | | | | Fix two issues with lockmgr(9) LK_CAN_SHARE() test, related to the exclusive locker starvation. MFC r273986: Fix the build with ADAPTIVE_LOCKMGRS kernel option.
* MFC r271992lwhsu2014-11-052-44/+8
| | | | | | | | | | | | | Reflect the chanages in sleepqueue.h and subr_sleepqueue.c - Priority argument is introduced to sleepq_*wait* in r177085 - sleepq_calc_signal_retval is removed from implementation - sleepq_catch_signals is internal now MFC r272475 - Bump .Dd Approved by: kevlo
* MFC 268369,268817,272771,272772:jhb2014-10-171-276/+436
| | | | | | | | Rewrite timeout(9) to be callout(9)-centric instead. Move the description of timeout(9) to the end and mark it prominently as deprecated. Document somewhat how times are specified for the 'sbt' variants. Better explain how using callout_init_*() to associate a lock with a callout resolves common races.
* MFC r271802:smh2014-10-101-1/+3
| | | | | | | | | | | | Add dtrace probe support for zfs SET_ERROR(..) MFC r271873: Fix static kernel build with options ZFS MFC r271819: Remove sys/types.h include as per style (9) Sponsored by: Multiplay
* MFC 271761:trasz2014-10-041-1/+2
| | | | | | Add missing link to TIMEOUT_TASK_INIT(9). Sponsored by: The FreeBSD Foundation
* MFC 271759:trasz2014-10-041-0/+6
| | | | | | Add missing links to taskqueue(9). Sponsored by: The FreeBSD Foundation
* Merge r270251 from head:gavin2014-09-031-2/+3
| | | | | | | | Fix return type of callout_init_rm() and add return type to callout_deactivate(). PR: 192520 Submitted by: ngie
OpenPOWER on IntegriCloud