Commit Graph

366 Commits

Author SHA1 Message Date
Mike Pritchard 8a951d305e 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 Wunsch b6e3808f9b 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 Costello 1d71a557cc Document ENOSYS error.
PR:		docs/13290
1999-08-23 11:07:29 +00:00
Mike Pritchard 74804d58a0 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 Costello e5721f2fd3 Change reference to mount(1) to mount(8) 1999-08-14 06:17:24 +00:00
Chris Costello 2d3a25e901 Change reference from kldload(3) to kldload(2) 1999-08-13 21:02:39 +00:00
Bruce Evans 176ef327fa Fixed $Id$.
Removed POSIX.1/NetBSD markup (braces) for NAME_MAX, etc.  We don't
define this.  Most FreeBSD man pages hard-code the limits; in fact,
utimes.2 recently became the only file in libc/sys/*.2 that mentions
NAME_MAX.  There probably should be mandoc macros for this.
1999-07-31 22:29:17 +00:00
Bruce Evans fbcc97c9d2 Removed a duplicate reference to System V.4. 1999-07-31 22:14:46 +00:00
Bruce Evans 1c8deedd38 Fixed syntax error in previous commit. 1999-07-31 22:10:17 +00:00
Bruce Evans d3ac30dd5e FIxed disordering in previous commit. Fixed some old disorder. 1999-07-31 22:00:09 +00:00
Nik Clayton 83f7951bfc Document that writev(2) can fail with ENOBUFS.
Text is a compromise based on messages from Wes Peters, Ville-Pertti
Keinonen, and Matt Dillon.

PR:             docs/10512
Submitted by:   Howard Goldstein <hgoldst@mpcs.com>
1999-07-30 21:20:09 +00:00
Mike Pritchard 6a8edfca23 Use the .At macro when referencing versions of AT&T UNIX.
Note: you need to install the current groff tmac macros for these
man pages to format correctly.  Specifically, rev 1.21 of
contrib_groff/tmac/doc-syms in -current, or rev 1.17.24 for 3.2-stable
1999-07-30 12:45:20 +00:00
Mike Pritchard afb7dc43a9 Document the getdents(2) system call. The documentation was
added to the getdirentries(2) man page because 95%+ of that
man page comprised the text of the getdents(2) man page
I obtained from NetBSD.
1999-07-30 11:32:08 +00:00
Mike Pritchard 07677e5025 Document the lchmod(2) system call.
Pointed-out-by: bde
1999-07-30 10:08:21 +00:00
Mike Pritchard 38cf40702d Add a manual page for getdents(2). This was taken from NetBSD, but
still needs some cleanup which is why it hasn't been added to the
Makefile yet.

Obtained from:	NetBSD
Pointed-out-by: bde
1999-07-30 09:26:50 +00:00
Mike Pritchard db58ff7d87 Document the lutimes() and futimes() system calls.
PR:		kern/11213
Obtained from:	NetBSD w/some minor changes by me
1999-07-30 09:01:45 +00:00
Mike Pritchard 4f8d723376 Mdoc cleanup. 1999-07-30 07:45:40 +00:00
Sheldon Hearn 4a9e5bd0db Correct HISTORY section, according to CVS logs.
PR:	12810
Submitted by:	Alex Perel <veers@disturbed.net>
1999-07-26 09:37:47 +00:00
Nick Hibma ebec760f9a Update the manpage for the number of symlinks in ELOOP
PR:		12634 (partial)
Submitted by:	Julian H. Stacey jhs@FreeBSD.ORG
1999-07-24 16:45:57 +00:00
Hidetoshi Shimokawa f2fd63aff2 Make profil() 64bit-safe for alpha.
uintfptr_t may be better for offset, but we must wait until
the definition of uintfptr_t moves from machine/profile.h.

Reviewed by: bde
1999-07-16 06:28:55 +00:00
Jonathan Lemon 9a670a9a6c Reference correct sysctl: kern.maxsockbuf --> kern.ipc.maxsockbuf 1999-07-15 17:15:24 +00:00
Nik Clayton fbc400a67a Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:50:10 +00:00
Poul-Henning Kamp 38edd9beb9 Clarify an explanation a little bit. 1999-07-09 21:35:37 +00:00
Mike Pritchard 4343edfe20 Nuke the BUGS sections of these man pages because they are not appropriate. 1999-07-01 21:13:06 +00:00
Mike Pritchard ec8dae7070 Fix typos/spelling errors. 1999-07-01 21:09:57 +00:00
Wes Peters 96f31ff872 Add mising aio_* man pages. Fixed a minor typo in aio_read.2,
and "corrected" statement of Posix conformance.
1999-07-01 19:58:12 +00:00
Kris Kennaway c47148499f Spelll 'asynchronous' coriectly 1999-07-01 13:31:30 +00:00
Sheldon Hearn 940b9c82a0 Fix the NAME section of the kldload.2 manpage, which made reference to
kldunload. Add proper cross-references to the whole family.

PR:	12472
Submitted by:	Chris Costello <chris@calldei.com>
1999-07-01 12:16:06 +00:00
Bill Fumerola 71ed709ce2 Clarify what happens if fd is set to -1
Submitted by:	Alfred Perlstein <bright@rush.net>
1999-06-29 16:32:22 +00:00
Mike Pritchard f858a016d8 Document that mlock() and munlock() can return EPERM if the
caller is not the super-user.  Also document that we do not
currently support the per-process RLIMIT_MEMLOCK limit.

PR:		doc/11607
1999-06-27 00:28:55 +00:00
Ruslan Ermilov ac88d62d8f Typo in previous commit. 1999-06-18 10:41:13 +00:00
Ruslan Ermilov ca9807fc17 Mention that pid 1 is not affected by kill(-1, SIGXXX) too. 1999-06-18 10:24:12 +00:00
Brian Feldman bdf43556fe Minor English corrections were made; SEE ALSO was also fixed (no commas). 1999-06-17 23:43:35 +00:00
Mark Murray 1bcd27ee72 Improvement in the description of what this does.
Prompted by (and thanks to): W Richard Stevens
1999-06-10 22:48:27 +00:00
Justin M. Seger 20e36bb38b Update of intro(2)/errno(2) in the ongoing effort of the Programmer's
Documentation Project <http://home.wxs.nl/~asmodai/pdp.html>

Submitted by:	Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
PR:		docs/12030
1999-06-06 14:15:14 +00:00
Pierre Beyssac 8f823235a9 Typo.
PR:		docs/11832
Submitted by:	Ralf S. Engelschall <rse@engelschall.com>
1999-05-25 11:52:30 +00:00
Poul-Henning Kamp d8bd3ac418 $ brucify -deblunder 1999-05-16 10:51:52 +00:00
Guy Helmer a2b79fbea1 writev(2) can return EDESTADDRREQ when attempting to write to a
UNIX domain socket on which connect(2) had been used to set a destination
address and the destination goes away.

PR:		docs/10451
1999-05-04 20:07:44 +00:00
Guy Helmer badc7a22e9 Show "#include <machine/param.h>" in SYNOPSIS to get declaration of
PAGE_SIZE for sys/shm.h.

PR:		docs/8464
1999-05-04 17:59:29 +00:00
Guy Helmer ce423e99c5 Note the effect of close(2) on fcntl(2) record locks.
PR:		docs/3522
1999-05-04 17:45:12 +00:00
Guy Helmer 275d1ee30b The accept(2) call can fail with EINTR (at least in the threaded context).
PR:		docs/8858
1999-04-29 20:32:54 +00:00
Poul-Henning Kamp 75c1354190 This Implements the mumbled about "Jail" feature.
This is a seriously beefed up chroot kind of thing.  The process
is jailed along the same lines as a chroot does it, but with
additional tough restrictions imposed on what the superuser can do.

For all I know, it is safe to hand over the root bit inside a
prison to the customer living in that prison, this is what
it was developed for in fact:  "real virtual servers".

Each prison has an ip number associated with it, which all IP
communications will be coerced to use and each prison has its own
hostname.

Needless to say, you need more RAM this way, but the advantage is
that each customer can run their own particular version of apache
and not stomp on the toes of their neighbors.

It generally does what one would expect, but setting up a jail
still takes a little knowledge.

A few notes:

   I have no scripts for setting up a jail, don't ask me for them.

   The IP number should be an alias on one of the interfaces.

   mount a /proc in each jail, it will make ps more useable.

   /proc/<pid>/status tells the hostname of the prison for
   jailed processes.

   Quotas are only sensible if you have a mountpoint per prison.

   There are no privisions for stopping resource-hogging.

   Some "#ifdef INET" and similar may be missing (send patches!)

If somebody wants to take it from here and develop it into
more of a "virtual machine" they should be most welcome!

Tools, comments, patches & documentation most welcome.

Have fun...

Sponsored by:   http://www.rndassociates.com/
Run for almost a year by:       http://www.servetheweb.com/
1999-04-28 11:38:52 +00:00
Joerg Wunsch a44388523d Mention that you can only create a block or char special file using
mknod(2).
1999-04-28 10:04:48 +00:00
Tim Vanderhoek e21de373a2 Mention that set-id bits are not honoured for shell scripts and
filesystems with the "nosuid" option.  Mention that syscall tracing
is disabled sometimes.

PR:		misc/11328
1999-04-27 03:56:10 +00:00
Dmitrij Tejblum 88874fcfe6 Document pread() and pwrite().
Obtained from:	NetBSD (mostly)
1999-04-11 21:14:40 +00:00
Nik Clayton 3ef0a1c27c Contains the para
Unlike other filesystem objects, symbolic links do not have an owner,
  group, access mode, times, etc.  Instead, these attributes are taken from
  the directory that contains the link.  The only attributes returned from
  an lstat() that refer to the symbolic link itself are the file type
  (S_IFLNK), size, blocks, and link count (always 1).

This is bogus, and disagrees with the implementation and symlink(7).

Removed it.

PR:		docs/10269
Submitted by:	Tolik <tolik@sibptus.tomsk.ru>
1999-04-10 20:49:27 +00:00
Bruce Evans 1dc547e7a9 Fixed missing include in synopsis.
Fixed some mdoc usage errors.
1999-04-09 14:31:59 +00:00
Bruce Evans 940b0c98ca Fixed disordering in previous 2 commits. Fixed an English error. 1999-04-05 07:38:07 +00:00
Dmitrij Tejblum 1b30ac5124 Add wrappers for pread and pwrite syscalls. 1999-04-04 21:46:24 +00:00
Doug Rabson 67022433f8 Manpages for the KLD system calls.
PR:		docs/10412
Submitted by:	Chris Costello <chris@calldei.com>
1999-04-04 12:29:31 +00:00