summaryrefslogtreecommitdiffstats
path: root/share/man/man9
Commit message (Collapse)AuthorAgeFilesLines
* Check the device name validity on device registration.jh2010-10-071-7/+16
| | | | | | | | | | | | | | | | A new function prep_devname() sanitizes a device name by removing leading and redundant sequential slashes. The function returns an error for names which already exist or are considered invalid. A new flag MAKEDEV_CHECKNAME for make_dev_p(9) and make_dev_credf(9) indicates that the caller is prepared to handle an error related to the device name. An invalid name triggers a panic if the flag is not specified. Document the MAKEDEV_CHECKNAME flag in the make_dev(9) manual page. Idea from: kib Reviewed by: kib
* I believe the majority of Gregorian calendars would agree the currentgjb2010-09-121-1/+1
| | | | | | | | year is 2010, not 2005. Approved by: keramida (mentor) Pointy hat to: gjb MFC after: 1 week
* Bump date from r212440.gjb2010-09-121-1/+1
| | | | | Approved by: keramida (mentor) MFC after: 1 week
* Add RETURN VALUES section to devclass_get_maxunit(9).gjb2010-09-101-0/+13
| | | | | | | | PR: 149979 Submitted by: gcooper Patch by: gcooper Approved by: keramida (mentor) MFC after: 1 week
* Replace sbuf_overflowed() with sbuf_error(), which returns any errormdf2010-09-102-8/+13
| | | | | | code associated with overflow or with the drain function. While this function is not expected to be used often, it produces more information in the form of an errno that sbuf_overflowed() did.
* Add drain functionality to sbufs. The drain is a function that ismdf2010-09-092-7/+100
| | | | | | | | | | | | | | | | | called when the sbuf internal buffer is filled. For kernel sbufs with a drain, the internal buffer will never be expanded. For userland sbufs with a drain, the internal buffer may still be expanded by sbuf_[v]printf(3). Sbufs now have three basic uses: 1) static string manipulation. Overflow is marked. 2) dynamic string manipulation. Overflow triggers string growth. 3) drained string manipulation. Overflow triggers draining. In all cases the manipulation is 'safe' in that overflow is detected and managed. Reviewed by: phk (the previous version)
* Fix small errors in the sbuf(9) man page.mdf2010-09-091-4/+9
|
* Document MAKEDEV_ETERNAL.kib2010-09-051-1/+14
| | | | MFC after: 3 days
* rmlock(9) two additions and one change/fix:mlaier2010-09-013-3/+37
| | | | | | | | | | | | - add rm_try_rlock(). - add RM_SLEEPABLE to use sx(9) as the back-end lock in order to sleep while holding the write lock. - change rm_noreadtoken to a cpu bitmask to indicate which CPUs need to go through the lock/unlock in order to synchronize. As a side effect, this also avoids IPI to CPUs without any readers during rm_wlock. Discussed with: ups@, rwatson@ on arch@ Sponsored by: Isilon Systems, Inc.
* Fix incorrect usage of 'assure' and 'insure'.brucec2010-08-282-2/+2
| | | | Approved by: rrs (mentor)
* s/ithread/interrupt thread/trasz2010-08-241-2/+2
|
* Add missing mlink for insmntque1().ed2010-08-221-0/+1
| | | | MFC after: 1 week
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whilejoel2010-08-169-17/+17
| | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
* Fixed a typo.brueffer2010-08-151-1/+1
| | | | | | PR: 148701 Submitted by: Glen Barber <glen.j.barber@gmail.com> MFC after: 1 week
* Tie up some loose ends r88509 left behind:brueffer2010-08-152-3/+3
| | | | | | | | | | - chooseproc() is long gone, MLINK choosethread instead - Update NAME section for choosethread - Mark chooseproc.9 for removal PR: 149549 Submitted by: pluknet MFC after: 1 week
* Rework memguard(9) to reserve significantly more KVA to detectmdf2010-08-111-31/+87
| | | | | | | | | | | | | | | | | use-after-free over a longer time. Also release the backing pages of a guarded allocation at free(9) time to reduce the overhead of using memguard(9). Allow setting and varying the malloc type at run-time. Add knobs to allow: - randomly guarding memory - adding un-backed KVA guard pages to detect underflow and overflow - a lower limit on the size of allocations that are guarded Reviewed by: alc Reviewed by: brueffer, Ulrich Spörlein <uqs spoerlein net> (man page) Silence from: -arch Approved by: zml (mentor) MFC after: 1 month
* Document the MEXTADD macro.des2010-08-071-2/+55
| | | | MFC after: 2 weeks
* Add links for destroy_dev_drain, destroy_dev_sched, destroy_dev_sched_cb,stefanf2010-08-061-1/+6
| | | | make_dev_cred and make_dev_credf.
* Fix typos and spelling mistakes.joel2010-08-063-4/+4
|
* Correct function name.pjd2010-08-011-1/+1
| | | | MFC after: 3 days
* Fix a bunch of typos and spelling mistakes.joel2010-07-313-4/+4
|
* Spelling fixes.joel2010-07-318-9/+9
|
* Missing IFCAP_* macro descriptions in ifnet(9).simon2010-07-271-0/+25
| | | | | | PR: docs/148952 Submitted by: Lars Hartmann <lars@chaotika.org> MFC after: 2 weeks
* Fix taskqueue_drain(9) to not have false negatives. For threadedmdf2010-07-221-10/+0
| | | | | | | | | | | | | | taskqueues, more than one task can be running simultaneously. Also make taskqueue_run(9) static to the file, since there are no consumers in the base kernel and the function signature needs to change with this fix. Remove mention of taskqueue_run(9) and taskqueue_run_fast(9) from the taskqueue(9) man page. Reviewed by: jhb Approved by: zml (mentor)
* Extend the kernel unit number allocator for allocating specific unitjh2010-07-052-1/+12
| | | | | | | | | | | numbers. This change adds a new function alloc_unr_specific() which returns the requested unit number if it is free. If the number is already allocated or out of the range, -1 is returned. Update alloc_unr(9) manual page accordingly and add a MLINK for alloc_unr_specific(9). Discussed on: freebsd-hackers
* Improve the comment and man page for vm_page_alloc(). Specifically,alc2010-07-031-21/+28
| | | | | | | | document one of the optional flags; clarify which of the flags are optional (and which are not), and remove mention of a restriction on the reclamation of cached pages that no longer holds since version 7. MFC after: 1 week
* Note that internal_underscores should be used in identifier names rathercperciva2010-06-271-0/+3
| | | | | | | | than camelCase or TitleCase. According to grep and my checked-out source tree, we're currently at 3733379 internal_underscores, 93024 camelCases, and 80831 TitleCases; so this commit is merely documenting existing practice.
* Update vfs_busy(9) and vfs_unbusy(9) manual pages to better match thejh2010-06-142-18/+11
| | | | | | current behaviour of the functions. Discussed with: attilio
* mdoc nitpicking: the title argument shall be uppercaseuqs2010-06-114-4/+4
|
* mdoc cleanupuqs2010-06-021-3/+3
| | | | | | | Garbage collect unused sections, macros and arguments. Fix prologue and remove empty lines. Found by: mdocml
* mdoc: Garbage collect unused/unneeded macrosuqs2010-05-271-1/+0
|
* These features will first appear in 8.1, soon to be releaseduqs2010-05-241-1/+1
| | | | MFC after: 3 days
* mdoc: consistently spell our email addresses <foo@FreeBSD.org>uqs2010-05-197-7/+7
| | | | Reviewed by: ru
* mdoc: move remaining sections into consistent orderuqs2010-05-132-16/+16
| | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru
* mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to theuqs2010-05-132-6/+6
| | | | | | | | | | | bottom of the manpages and order them consistently. GNU groff doesn't care about the ordering, and doesn't even mention CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put them. Found by: mdocml lint run Reviewed by: ru
* Document MAKEDEV_NOWAIT flag for make_dev_credf(9).kib2010-05-061-1/+10
| | | | | Reviewed by: jh MFC after: 2 weeks
* Couple of fixes from DragonFly (typos).rpaulo2010-04-282-5/+5
| | | | Obtained from: DragonFlyBSD
* - Rework the underlying ALQ storage to be a circular buffer, which amongst otherlstewart2010-04-261-77/+262
| | | | | | | | | | | | | | | | | | | | | | | things allows variable length messages to be easily supported. - Extend KPI with alq_writen() and alq_getn() to support variable length messages, which is enabled at ALQ creation time depending on the arguments passed to alq_open(). Also add variants of alq_open() and alq_post() that accept a flags argument. The KPI is still fully backwards compatible and shouldn't require any change in ALQ consumers unless they wish to utilise the new features. - Introduce the ALQ_NOACTIVATE and ALQ_ORDERED flags to allow ALQ consumers to have more control over IO scheduling and resource acquisition respectively. - Strengthen invariants checking. - Document ALQ changes in ALQ(9) man page. Sponsored by: FreeBSD Foundation Reviewed by: gnn, jeff, rpaulo, rwatson MFC after: 1 month
* mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-04-1486-86/+86
| | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors)
* Remove extraneous '>'.emaste2010-04-071-1/+1
|
* Fix references.trasz2010-03-295-13/+21
|
* Correct the type for uio_resid.kib2010-03-211-2/+2
| | | | MFC after: 3 days
* vfs_mount.9: drop cross-reference to a removed manualavg2010-03-191-2/+1
| | | | MFC after: 3 days
* Fix several typos in macros or macro misusage.uqs2010-03-121-3/+2
| | | | | | Found by: make manlint Reviewed by: ru Approved by: philip (mentor)
* Remove C99 initializer, since dominant style is to use non-C99 initializers.glebius2010-03-031-3/+3
| | | | Requested by: jhb
* The NetBSD Foundation has granted permission to remove clause 3 and 4 fromjoel2010-03-027-49/+0
| | | | | | their software. Obtained from: NetBSD
* - Add missing includes to make example "compilable".glebius2010-03-021-6/+8
| | | | | - Use C99 initializer just in case if driver_t may change in future. - Use NULL for pointer arguments instead of 0.
* Update man page for vm_page_alloc(9).kib2010-02-271-9/+31
| | | | | Based on the submission by: Giovanni Trematerra <giovanni.trematerra gmail com> MFC after: 3 days
* Add several necessary .El's.delphij2010-02-275-1/+5
| | | | MFC after: 2 weeks
* Fix spelling of EACCES.jhb2010-02-241-1/+1
| | | | | | PR: docs/144112 Submitted by: Alexander Best MFC after: 3 days
OpenPOWER on IntegriCloud