des
a5ab2dd958
A negative offset means "get it all".
2003-01-22 17:52:27 +00:00
maxim
67e1984f47
Remove EOL whitespaces.
2003-01-20 11:30:08 +00:00
maxim
81c42fccd4
o Fix a typo.
...
o Prepend a function name by .Fn macro.
Reviewed by: archie
2003-01-20 11:28:41 +00:00
jmallett
ade073ea23
Store not only the current cylinder group in the series (i.e. next that needs
...
to be read in) but also the last cylinder group in the series (i.e. what is
stored in the structure).
2003-01-19 05:46:23 +00:00
ache
c60183cc58
Add (unsigned char) cast to ctype macros
...
Handle NULL return from malloc and strdup
2003-01-19 03:05:01 +00:00
jmallett
70c14dc49d
Don't crash when utilities are dumb and try to read less than the disk block
...
size (dumpfs may try to read the cylinder size (or is is sector size?) by way
of bread). Prevents a bounds error.
2003-01-19 01:39:53 +00:00
jmallett
445adec218
Add facility to read one, or a string of, cylinger groups.
2003-01-19 01:31:26 +00:00
obrien
8af24a10fd
Sync with NetBSD -- sl_add() now returns an int.
2003-01-19 01:16:01 +00:00
jmallett
0a0a65bb42
Hunt for a disk to operate on, if we're passed a partition mountpoint, etc.
...
Concept reviewed by: phk
2003-01-19 00:43:17 +00:00
obrien
6f344674a0
Use __FBSDID.
2003-01-19 00:17:03 +00:00
obrien
a390eae40f
We don't need our own personal definition of __CONCAT.
2003-01-18 23:26:04 +00:00
jmallett
291746d562
Fix typo.
2003-01-18 05:06:07 +00:00
jmallett
7284e7e47f
Nuke dumb error reporting code, people can just use disk::d_error. Unify the
...
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.
2003-01-18 04:22:14 +00:00
tmm
0e609c0eb3
Document that listen() can return EINVAL now.
2003-01-17 19:25:27 +00:00
tjr
7516bf2b45
Do a better job of documenting mincore(2), esp. the MINCORE_* flags.
2003-01-17 04:06:57 +00:00
mbr
3262ba2f01
Fix memleak.
...
Reviewed by: rwatson
MFC after: 2 weeks
2003-01-16 16:43:58 +00:00
mbr
f209ccb0fd
Implement non-blocking tcp-connections.
...
Reviewed by: rwatson
Obtained from: NetBSD
MFC after: 1 day
2003-01-16 07:13:51 +00:00
johan
989f4676c5
realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX.
...
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
2003-01-15 21:22:55 +00:00
tjr
2ddffe4aa0
Add a missing word.
2003-01-15 09:48:15 +00:00
tjr
ad1ea71c7a
Document the named semaphore functions. This could still use a bit
...
of polishing.
2003-01-15 03:07:40 +00:00
chris
5a653c8876
Actually add mac_prepare.3.
...
Sponsored by: DARPA, Network Associates Laboratories
2003-01-15 03:05:21 +00:00
chris
c099a91124
Cross-reference mac(4)
...
Sponsored by: DARPA, Network Associates Laboratories
2003-01-15 03:03:05 +00:00
chris
5b68d68d2e
s/SEE_ALSO/SEE ALSO/
...
Cross-reference mac(4) and mac(9)
Sponsored by: DARPA, Network Associates Laboratories
2003-01-15 03:02:30 +00:00
chris
200d3a3d43
o Document mac_prepare() and associated functions
...
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
2003-01-15 00:45:31 +00:00
chris
541ffd166f
o Remove clause #3
...
o Document mac_set_link().
Sponsored by: DARPA, Network Associates Labs
2003-01-14 23:20:40 +00:00
tjr
da4176c74d
Back out previous; sharing semaphores between processes only works
...
in certain special cases.
2003-01-14 07:14:06 +00:00
tjr
8f97c15f80
Sharing semaphores between processes works now, so remove the stale comments
...
about it always returning EPERM. Document that ENFILE occurs when the
limit on kernel semaphores is reached.
2003-01-14 04:12:33 +00:00
tjr
113303550d
Cross reference sem(4) so users know which kernel options are required
...
to use these semaphore functions.
2003-01-14 03:39:09 +00:00
tjr
fc5f7e9a8b
Add the newly created semaphore to the named semaphore list in sem_open()
...
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.
2003-01-14 03:36:45 +00:00
tjr
2715581ca4
Including <time.h> before <aio.h> has not been necessary for a while now.
2003-01-14 02:37:06 +00:00
joerg
d0082e294c
Mention the oddities and requirements for mount operations executed by
...
non-root users.
PR: docs/42651
Submitted by: Thomas Seck <tmseck@netcologne.de>
MFC after: 3 days
2003-01-13 19:42:21 +00:00
tjr
e47bfa0079
Refer to 1003.1 instead of 1003.2 in the Standards section.
2003-01-13 10:37:11 +00:00
tjr
9adc11de8a
Lock the stream before calling __sfileno() to retrieve the file descriptor.
...
1003.1-2001 requires that fileno() behave as if it locks the stream.
2003-01-13 02:58:18 +00:00
tjr
7c6b8aca67
Add missing word to "Return Values" section.
2003-01-13 01:29:14 +00:00
mike
9a78589653
Fix struct iovec documentation to match reality.
...
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
2003-01-12 15:18:47 +00:00
tjr
727a92d7cb
Add a manual page for the lio_listio() syscall. Still needs a bit
...
of polishing.
2003-01-12 09:28:16 +00:00
marcel
e2486fdf1a
Implement missing fpgetround() and fpsetround().
2003-01-11 07:24:54 +00:00
dillon
7060fb8de0
Remove all use of the LOG2() macro/inline, undoing some non-optimal cruft
...
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
2003-01-11 01:09:51 +00:00
deischen
3155dbd99c
Increase the scheduler stack to 4 pages. This should prevent a stack
...
overflow when dumping thread info (generated by receipt of SIGINFO).
Reported by: jmallet
2003-01-11 00:43:20 +00:00
jhb
5fc7b42391
Use the fstype obtained from the GEOM dumpconf output to set the fstype
...
of BSD part chunks when opening a disk.
Reviewed by: phk
MFC after: 2 days
2003-01-10 19:45:10 +00:00
jhb
533d214b96
- Make New_Disk() non-static so it can be used in Create_Chunk_DWIM().
...
- 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
2003-01-10 19:25:38 +00:00
nectar
44a92fbc06
About September 2001, I consulted with all the previous authors of
...
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.
2003-01-10 13:38:44 +00:00
tjr
92b8a62ce5
The macro versions of putc() and putchar() are gone.
2003-01-10 07:47:12 +00:00
tjr
1728522b0e
There is no macro version of getc() anymore.
2003-01-10 07:45:24 +00:00
tjr
bd44cebe6a
Bring the list of function-like macros up to date with reality.
2003-01-10 07:38:38 +00:00
alfred
90d9ad7de5
spell multiple correctly.
2003-01-10 06:52:19 +00:00
tjr
5e6eecbdf0
Document clearerr_unlocked(), feof_unlocked(), ferror_unlocked()
...
and fileno_unlocked().
2003-01-10 06:22:28 +00:00
tjr
87092eb373
Add a manual page for flockfile(), ftrylockfile(), and funlockfile().
2003-01-10 05:34:11 +00:00
tjr
f07524edbc
Document getc_unlocked(), getchar_unlocked(), putc_unlocked(),
...
and putchar_unlocked().
2003-01-10 04:56:20 +00:00
tjr
b4a40863e5
Add function versions of getchar_unlocked(), getc_unlocked(),
...
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.
2003-01-10 04:35:08 +00:00