summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove EOL whitespaces.maxim2003-01-201-2/+2
|
* o Fix a typo.maxim2003-01-201-2/+3
| | | | | | o Prepend a function name by .Fn macro. Reviewed by: archie
* Store not only the current cylinder group in the series (i.e. next that needsjmallett2003-01-193-0/+3
| | | | | to be read in) but also the last cylinder group in the series (i.e. what is stored in the structure).
* Add (unsigned char) cast to ctype macrosache2003-01-191-13/+31
| | | | Handle NULL return from malloc and strdup
* Don't crash when utilities are dumb and try to read less than the disk blockjmallett2003-01-191-1/+1
| | | | | size (dumpfs may try to read the cylinder size (or is is sector size?) by way of bread). Prevents a bounds error.
* Add facility to read one, or a string of, cylinger groups.jmallett2003-01-194-1/+87
|
* Sync with NetBSD -- sl_add() now returns an int.obrien2003-01-192-9/+23
|
* Hunt for a disk to operate on, if we're passed a partition mountpoint, etc.jmallett2003-01-192-2/+41
| | | | Concept reviewed by: phk
* Use __FBSDID.obrien2003-01-1928-42/+66
|
* We don't need our own personal definition of __CONCAT.obrien2003-01-181-4/+1
|
* Fix typo.jmallett2003-01-181-1/+1
|
* Nuke dumb error reporting code, people can just use disk::d_error. Unify thejmallett2003-01-187-104/+45
| | | | | DEBUG and d_error initialisation into an ERROR macro, which can both trace and set the d_error field. Much a more meaningful thing, I should say.
* Document that listen() can return EINVAL now.tmm2003-01-171-0/+2
|
* Do a better job of documenting mincore(2), esp. the MINCORE_* flags.tjr2003-01-171-14/+46
|
* Fix memleak.mbr2003-01-161-2/+8
| | | | | Reviewed by: rwatson MFC after: 2 weeks
* Implement non-blocking tcp-connections.mbr2003-01-165-62/+437
| | | | | | Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day
* realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX.johan2003-01-152-9/+9
| | | | | | | | This also reverts the PATH_MAX -> MAXPATHLEN part of rev 1.3 of src/bin/realpath/realpath.c Requested by: imp Reviewed by: imp, bde
* Add a missing word.tjr2003-01-152-2/+2
|
* Document the named semaphore functions. This could still use a bittjr2003-01-152-36/+330
| | | | of polishing.
* Actually add mac_prepare.3.chris2003-01-151-0/+85
| | | | Sponsored by: DARPA, Network Associates Laboratories
* Cross-reference mac(4)chris2003-01-155-0/+5
| | | | Sponsored by: DARPA, Network Associates Laboratories
* s/SEE_ALSO/SEE ALSO/chris2003-01-152-2/+5
| | | | | | Cross-reference mac(4) and mac(9) Sponsored by: DARPA, Network Associates Laboratories
* o Document mac_prepare() and associated functionschris2003-01-158-33/+61
| | | | | | | | | | o Link mac_get_pid.3 to mac_get.3 o Update SEE ALSO to refer to mac_prepare, and added missing references o Remove clause #3 on my work o Update mac_get.3 for the updated MAC API Sponsored by: DARPA, Network Associates Laboratories Obtained from: TrustedBSD Project
* o Remove clause #3chris2003-01-141-5/+9
| | | | | | o Document mac_set_link(). Sponsored by: DARPA, Network Associates Labs
* Back out previous; sharing semaphores between processes only workstjr2003-01-142-16/+32
| | | | in certain special cases.
* Sharing semaphores between processes works now, so remove the stale commentstjr2003-01-142-32/+16
| | | | | about it always returning EPERM. Document that ENFILE occurs when the limit on kernel semaphores is reached.
* Cross reference sem(4) so users know which kernel options are requiredtjr2003-01-1410-10/+20
| | | | to use these semaphore functions.
* Add the newly created semaphore to the named semaphore list in sem_open()tjr2003-01-142-2/+4
| | | | | | so that multiple opens of the same semaphore without an intervening sem_close() return the same object, and so that sem_close() does not segfault while trying to remove the item from the list.
* Including <time.h> before <aio.h> has not been necessary for a while now.tjr2003-01-141-1/+0
|
* Mention the oddities and requirements for mount operations executed byjoerg2003-01-131-3/+16
| | | | | | | | non-root users. PR: docs/42651 Submitted by: Thomas Seck <tmseck@netcologne.de> MFC after: 3 days
* Refer to 1003.1 instead of 1003.2 in the Standards section.tjr2003-01-136-6/+6
|
* Lock the stream before calling __sfileno() to retrieve the file descriptor.tjr2003-01-131-2/+10
| | | | 1003.1-2001 requires that fileno() behave as if it locks the stream.
* Add missing word to "Return Values" section.tjr2003-01-131-0/+1
|
* Fix struct iovec documentation to match reality.mike2003-01-122-2/+2
| | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Add a manual page for the lio_listio() syscall. Still needs a bittjr2003-01-122-1/+177
| | | | of polishing.
* Implement missing fpgetround() and fpsetround().marcel2003-01-113-2/+84
|
* Remove all use of the LOG2() macro/inline, undoing some non-optimal cruftdillon2003-01-111-2/+2
| | | | | | | that crept in recently. GCC will optimize the divides and multiplies for us. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 1 day
* Increase the scheduler stack to 4 pages. This should prevent a stackdeischen2003-01-111-1/+1
| | | | | | overflow when dumping thread info (generated by receipt of SIGINFO). Reported by: jmallet
* Use the fstype obtained from the GEOM dumpconf output to set the fstypejhb2003-01-101-1/+1
| | | | | | | of BSD part chunks when opening a disk. Reviewed by: phk MFC after: 2 days
* - Make New_Disk() non-static so it can be used in Create_Chunk_DWIM().jhb2003-01-103-3/+21
| | | | | | | | | | | | | | - In Create_Chunk_DWIM(), if there is a freebsd chunk that has no children chunks, then trying to add a child part chunk will fail even though there is free space. Handle this special case by adding an unused chunk the full size of the freebsd chunk as a child of the freebsd chunk before adding the new part chunk. This situation can happen when changing the type of an existing slice to be a FreeBSD slice type or when installing onto a blank disk on Alpha (which has no slices.) Reviewed by: phk MFC after: 2 days
* About September 2001, I consulted with all the previous authors ofnectar2003-01-101-163/+13
| | | | | | pam_krb5 to consolidate the copyright texts. The semi-official pam_krb5 module has been distributed with this new license text ever since, but I'm just now getting around to updating the text here.
* The macro versions of putc() and putchar() are gone.tjr2003-01-101-9/+3
|
* There is no macro version of getc() anymore.tjr2003-01-101-2/+1
|
* Bring the list of function-like macros up to date with reality.tjr2003-01-101-28/+20
|
* spell multiple correctly.alfred2003-01-101-1/+1
|
* Document clearerr_unlocked(), feof_unlocked(), ferror_unlocked()tjr2003-01-102-3/+38
| | | | and fileno_unlocked().
* Add a manual page for flockfile(), ftrylockfile(), and funlockfile().tjr2003-01-102-1/+106
|
* Document getc_unlocked(), getchar_unlocked(), putc_unlocked(),tjr2003-01-103-6/+68
| | | | and putchar_unlocked().
* Add function versions of getchar_unlocked(), getc_unlocked(),tjr2003-01-102-1/+96
| | | | | | putchar_unlocked(), putc_unlocked(), feof_unlocked(), ferror_unlocked(), clearerr_unlocked(), and fileno_unlocked(). The first four are required by POSIX. The rest are provided for consistency.
* Avoid a memory leak by using reallocf() instead of realloc().tjr2003-01-101-1/+1
|
OpenPOWER on IntegriCloud