summaryrefslogtreecommitdiffstats
path: root/share/man/man9
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix a leak of the wired pages when unwiring of the PROT_NONE-mappedkib2014-09-013-3/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wired region. Rework the handling of unwire to do the it in batch, both at pmap and object level. All commits below are by alc. MFC r268327: Introduce pmap_unwire(). MFC r268591: Implement pmap_unwire() for powerpc. MFC r268776: Implement pmap_unwire() for arm. MFC r268806: pmap_unwire(9) man page. MFC r269134: When unwiring a region of an address space, do not assume that the underlying physical pages are mapped by the pmap. This fixes a leak of the wired pages on the unwiring of the region mapped with no access allowed. MFC r269339: In the implementation of the new function pmap_unwire(), the call to MOEA64_PVO_TO_PTE() must be performed before any changes are made to the PVO. Otherwise, MOEA64_PVO_TO_PTE() will panic. MFC r269365: Correct a long-standing problem in moea{,64}_pvo_enter() that was revealed by the combination of r268591 and r269134: When we attempt to add the wired attribute to an existing mapping, moea{,64}_pvo_enter() do nothing. (They only set the wired attribute on newly created mappings.) MFC r269433: Handle wiring failures in vm_map_wire() with the new functions pmap_unwire() and vm_object_unwire(). Retire vm_fault_{un,}wire(), since they are no longer used. MFC r269438: Rewrite a loop in vm_map_wire() so that gcc doesn't think that the variable "rv" is uninitialized. MFC r269485: Retire pmap_change_wiring(). Reviewed by: alc
* Merge r268725 from head:gavin2014-08-131-2/+2
| | | | | Since r202933, kthread_suspend_check() takes no arguments. Update the example to match.
* MFC r269289, r269290, r269291, r269292, r269293:gjb2014-08-041-1/+1
| | | | | | | | | | | | | | | | | | | r269289: sort(1): Remove trailing '.' from See Also section. r269290: acpi_wmi(4): Remove trailing comma from standalone Xref. r269291: hptiop(4): Remove trailing comma from ending Xref. r269292: pf.conf(5): Remove trailing comma from ending Xref. r269293: kernel_mount(9): Remove trailing comma from ending Xref. Sponsored by: The FreeBSD Foundation
* MFC r268780truckman2014-08-011-9/+4
| | | | | | | | | | | | | | | | | | Nuke the never-used RF_TIMESHARE feature, reducing the complexity of the code. The consensus on arch@ is that this feature might have been useful in the distant past, but is now just unnecessary bloat. The int_rman_activate_resource() and int_rman_deactivate_resource() functions become trivial, so manually inline them. The special deferred handling of RF_ACTIVE is no longer needed in reserve_resource_bound(), so eliminate the associated code at the end of the function. These changes reduce the object file size by more than 500 bytes on i386. Update the rman.9 man page to reflect the removal of the RF_TIMESHARE feature.
* MFC r269160:kib2014-07-303-117/+0
| | | | | | | Remove man page for non-existent VOPs. MFC r269240 (by pluknet): Add VOP_GETVOBJECT.9 to obsolete files, un-xref.
* MFC r269159:kib2014-07-301-11/+8
| | | | | | | | Correct the locking statement. MFC r269161: Explicitely mention that inactivated or reclaimed vnode is locked exclusively.
* MFC r264363:markj2014-07-291-3/+3
| | | | | Update the SDT(9) example to reflect the removal of the sname parameter in r258622.
* MFC r267854:kib2014-06-301-0/+7
| | | | Add fpu_kern.9 man page to the install.
* MFC r267768:kib2014-06-301-0/+195
| | | | | | | Add documentation for the fpu_kern(9) interfaces. MFC r267785 (by brueffer): Several small fixes.
* MFC 264019, 264041, 264048, 264049, 264050, 264051ian2014-05-171-1/+18
| | | | | | | | | | | | | | Add support for event timers whose clock frequency can change while running. Apparently all ARM configs build kern_et.c, but only a few of them also build kern_clocksource.c, un-break the build by not referencing functions in kern_clocksource if NO_EVENTTIMERS is defined. Add variable-frequency support to the arm mpcore eventtimer driver. mpcore_timer: Disable the timer and clear any pending bit, then setup the new counter register values, then restart the timer. Also re-nest the parens properly for casting the result of converting time and frequency to a count.
* MFC r265285,265320:pluknet2014-05-122-0/+108
| | | | Documented the pget(9) system kernel interface.
* MFC r261908 by ian: Fix a typo, C_ALSOLUTE -> C_ABSOLUTE.emaste2014-05-061-1/+1
|
* Merge r263203: garbage collect long time obsoleted (or never used) stuffglebius2014-04-091-2/+0
| | | | from routing API.
* MFC r263271asomers2014-03-311-1/+1
| | | | | | share/man/man9/counter.9 Fix logic error in the description of counter_u64_alloc: the command may fail only if M_NOWAIT is specified, not M_WAITOK.
* MFC r263289: Update NetBSD Foundation copyrights to 2-clause BSDemaste2014-03-242-14/+0
| | | | | | | | | | | The NetBSD Foundation states "Third parties are encouraged to change the license on any files which have a 4-clause license contributed to the NetBSD Foundation to a 2-clause license." This change removes clauses 3 and 4 from copyright / license blocks that list The NetBSD Foundation as the only copyright holder. Sponsored by: The FreeBSD Foundation
* Merge r262763, r262767, r262771, r262806 from head:glebius2014-03-211-14/+17
| | | | | | | | | | - Remove rt_metrics_lite and simply put its members into rtentry. - Use counter(9) for rt_pksent (former rt_rmx.rmx_pksent). This removes another cache trashing ++ from packet forwarding path. - Create zini/fini methods for the rtentry UMA zone. Via initialize mutex and counter in them. - Fix reporting of rmx_pksent to routing socket. - Fix netstat(1) to report "Use" both in kvm(3) and sysctl(3) mode.
* Merge 261595: simplify the SYSCTL_COUNTER_U64() macro.glebius2014-03-041-3/+3
|
* Merge 261593 from head:glebius2014-03-041-1/+38
| | | | | Provide macros that allow easily export uma(9) zone limits and current usage via sysctl(9).
* MFC r261800:wblock2014-02-181-8/+5
| | | | Remove obsolete vnode(9) man page references.
* MFC r258713,262062: add taskqueue_drain_allavg2014-02-172-2/+78
|
* MFC r260444:kevlo2014-02-171-1/+1
| | | | | | | | | | | | | Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED. The origin of WEP comes from IEEE Std 802.11-1997 where it defines whether the frame body of MAC frame has been encrypted using WEP algorithm or not. IEEE Std. 802.11-2007 changes WEP to Protected Frame, indicates whether the frame is protected by a cryptographic encapsulation algorithm. Reviewed by: adrian, rpaulo
* MFC r260581: Add sglist_append_bio(9) to append a struct bio's data tobryanv2014-01-182-1/+13
| | | | a sglist
* MFC r258622: dtrace sdt: remove the ugly sname parameter of SDT_PROBE_DEFINEavg2014-01-171-29/+28
|
* Add manpages for VOP_ADVISE() and VOP_ALLOCATE().jhb2013-10-074-0/+176
| | | | Approved by: re (gjb)
OpenPOWER on IntegriCloud