Commit Graph

412 Commits

Author SHA1 Message Date
sheldonh
244b8ead7d Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
sheldonh
329223e6f2 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-02 09:14:21 +00:00
ps
c3800346ab Add MAP_NOCORE to mmap(2), and MADV_NOCORE and MADV_CORE to madvise(2).
This
This feature allows you to specify if mmap'd data is included in
an application's corefile.

Change the type of eflags in struct vm_map_entry from u_char to
vm_eflags_t (an unsigned int).

Reviewed by:	dillon,jdp,alfred
Approved by:	jkh
2000-02-28 04:10:35 +00:00
dillon
7a2987cf94 Fix null-pointer dereference crash when the system is intentionally
run out of KVM through a mmap()/fork() bomb that allocates hundreds
    of thousands of vm_map_entry structures.

    Add panic to make null-pointer dereference crash a little more verbose.

    Add a new sysctl, vm.max_proc_mmap, which specifies the maximum number
    of mmap()'d spaces (discrete vm_map_entry's in the process).  The value
    defaults to around 9000 for a 128MB machine.  The test is scaled for the
    number of processes sharing a vmspace (aka linux threads).  Setting
    the value to 0 disables the feature.

PR: kern/16573
Approved by: jkh
2000-02-16 21:11:33 +00:00
chris
47ff3cea33 Replace .Os BSD' which caused a troff error with .Bx' which also
happens to be the correct macro to use in this situation.
2000-02-14 01:34:15 +00:00
obrien
098aba5560 Document the support in the kernel for hardware debug registers on the
ix86 platform which allows for hardware watchpoints, etc...

Submitted by:	Brian Dean <brdean@unx.sas.com>
2000-02-12 18:33:54 +00:00
guido
f0ee13b810 We _do_ support MS_ASYNC
Reviewed by:	Matthew Dillon <dillon@apollo.backplane.com>
2000-01-24 18:35:16 +00:00
alfred
18f642a248 Clarify that we don't offer hard realtime.
Split timeval options into 3 paragraphs, it's easier on my eyes.
2000-01-24 02:13:21 +00:00
sheldonh
960ecfb171 Add HISTORY.
Submitted by:	obrien
2000-01-18 12:50:13 +00:00
bde
cc85ed5238 Fixed missing backslash in previous commit. Adding setresuid.2 has taken
4 commits and 2 world breakages so far.
2000-01-18 05:38:05 +00:00
sheldonh
ab8476344d Fix line too long style bug in the previous commit (which, by the
way, unbroke world).
2000-01-18 05:15:26 +00:00
ache
92d07f2587 add setresuid.2 2000-01-18 04:37:21 +00:00
sheldonh
e6afbccaac Add manual pages for the newly added setres[ug]id system calls. 2000-01-17 15:01:42 +00:00
kris
1e78bc825f Sync contents of struct nfsd_svrargs 2000-01-09 01:54:35 +00:00
bde
1ab948f6cc Fixed wrong #include in synopsis. 1999-12-23 16:48:57 +00:00
bde
df20178dd3 Fixed missing `const' in synopsis. 1999-12-23 16:46:34 +00:00
bde
a7653abdc4 Fixed missing installation of a link to getlogin_r.3. This is the first
example of section 2 and section 3 interfaces sharing a man page.  It's
probably a bad example.
1999-12-23 16:12:24 +00:00
asmodai
70260fd3cb Fix a typo which I cannot believe I missed after rereading this text
about 6-7 times prior to commit.

Reported by: sheldonh
1999-12-21 11:55:44 +00:00
asmodai
fc6ea6bcd8 Properly manify this manpage.
Fix some spelling mistakes and typo's inspired by Nicholas' initial
PR submission.

PR:		docs/15597
Submitted by:	Nicholas Esborn <nick@flatlan.net>
1999-12-21 11:19:32 +00:00
cracauer
eda32af3b4 Document SA_SIGINFO
Reviewed by:	Sheldon Hearn <sheldonh@uunet.co.za>
1999-12-15 16:51:35 +00:00
dillon
b66fb2c648 Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to
madvise().

    This feature prevents the update daemon from gratuitously flushing
    dirty pages associated with a mapped file-backed region of memory.  The
    system pager will still page the memory as necessary and the VM system
    will still be fully coherent with the filesystem.  Modifications made
    by other means to the same area of memory, for example by write(), are
    unaffected.  The feature works on a page-granularity basis.

    MAP_NOSYNC allows one to use mmap() to share memory between processes
    without incuring any significant filesystem overhead, putting it in
    the same performance category as SysV Shared memory and anonymous memory.

Reviewed by: julian, alc, dg
1999-12-12 03:19:33 +00:00
archie
d7553d3a9a Add reference to netgraph(4) in the 'see also' section. 1999-12-06 23:35:40 +00:00
green
06557349e2 Add RLIMIT_SBSIZE here, too. 1999-12-03 23:25:14 +00:00
wes
7cf3e9fa26 Document the getlogin_r function. 1999-11-28 22:41:50 +00:00
phk
2431275ac4 General clean-up of socket.h and associated sources to synchronise up
with NetBSD and the Single Unix Specification v2.

This updates some structures with other, almost equivalent types and
effort is under way to get the whole more consistent.

Also removes a double definition of INET6 and some other clean-ups.

Reviewed by: green, bde, phk
Some part obtained from: NetBSD, SUSv2 specification
1999-11-24 20:49:04 +00:00
chris
6b4352eb7f Properly document what ENOENT really means for kldfind(2). 1999-11-14 18:15:33 +00:00
nik
6fc7a68ebf Document that bind(2) can fail with EAGAIN.
PR:             docs/14173 docs/14181
Submitted by:   Charles Randall <crandall@matchlogic.com>
Submitted by:   Kelly Yancey <kbyanc@posi.net>
1999-11-01 19:43:07 +00:00
wes
6af4cfa2bb Correct the description of the timeout argument. I've examined
the code, which seems to implement the POSIX requirements, and
have described the behavior here.  Basically, it behaves the same
as select(2).

Noticed by: John Polstra
1999-10-09 01:35:58 +00:00
wes
216c6b2821 Fixed a typo (well, format-o) in yesterday's edits.
Spotted by:	John Polstra <jdp@polstra.com> (again)
1999-09-21 17:30:43 +00:00
wes
fc37cb4477 Fixed the description of when and why aio_suspend returns.
Also spelled out the return values and conditions a little
better.

Noticed by:	John Polstra <jdp@polstra.com>
1999-09-20 18:30:55 +00:00
phk
d879133e0b Add a version number field to the jail(2) argument so that future changes
can be handled intelligently.
1999-09-19 08:36:03 +00:00
alfred
61e17cfe0e Add FreeBSD history in 'HISTORY'
Pointed out by: obrien
1999-09-11 21:07:14 +00:00
bde
8466686260 Fixed disordering in previous commit. 1999-09-11 14:20:18 +00:00
alfred
44374643d1 Document fhopen, fhstat, and fhstatfs syscalls.
Obtained from:	NetBSD
1999-09-11 00:49:10 +00:00
alfred
3e3c6eb3dd sync with src/sys/sys/mount.h 1999-09-10 09:12:24 +00:00
billf
d475da4456 Add aio_{cancel,error,return,suspend,write} into the mix.
Submitted by:	Dan Nelson <dnelson@emsphone.com>
Forgotten by:	mpp
1999-09-09 19:06:57 +00:00
phantom
3253dfed5c Some style and "look" fixes
Reviewed by:	mpp
1999-09-05 07:02:22 +00:00
phantom
189bace3d7 Name Description (.Nd macro) added.
Style and punctuation errors fixes.
ERRORS section included to RETURN VALUES because it's
describing return values instead of errors and their handling.

Reviewed by:	mpp
1999-09-05 06:59:34 +00:00
phantom
8ee1c94698 mdoc(7) style fix.
Correct RB_* values list bounds.

Reviewed by:	mpp
1999-09-05 06:50:49 +00:00
phantom
f02290dd56 mdoc(7) style fix: FreeBSD -> .Fx
Reviewed by:	mpp
1999-09-05 06:47:01 +00:00
phantom
de4332c719 Remove useless .Fn macro suffix
Reviewed by:	mpp
1999-09-05 06:41:49 +00:00
phantom
68a54f2ec3 mdoc style fix.
Reviewed by:	mpp
1999-09-05 06:39:22 +00:00
phantom
89a80b07ca mdoc(7) style fixes
Reviewed by:	mpp
1999-09-05 06:37:01 +00:00
peter
76f0c923fe $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mpp
927ac7949b Remove some 4.3BSDish anacronisims that stated that it was an
error for a pathname to contain a character with the high-order
bit set.

Inspired by:  joerg's previous commit
1999-08-27 20:21:18 +00:00
joerg
a1c1e7ab1a Remove a 4.3BSDish anachronism that claimed EPERM for an attempt to
mknod() a pathname containg a ``character with the high-order bit
set''.
1999-08-27 14:25:00 +00:00
chris
7cded4bfc5 Document ENOSYS error.
PR:		docs/13290
1999-08-23 11:07:29 +00:00
mpp
b813f67e2a Various man page cleanup:
- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlines in mdoc(7)
- Other misc mdoc cleanup.

PR:		doc/13144
Submitted by:	Alexy M. Zelkin <phantom@cris.net>
1999-08-15 09:51:25 +00:00
chris
10cf770b18 Change reference to mount(1) to mount(8) 1999-08-14 06:17:24 +00:00
chris
39920aa6d9 Change reference from kldload(3) to kldload(2) 1999-08-13 21:02:39 +00:00