Commit Graph

222 Commits

Author SHA1 Message Date
Bruce Evans 22301c4b46 Fixed spelling of EACCES. 1997-11-23 17:58:55 +00:00
John Polstra 3359c58c41 Add cross-references to rfork(2). 1997-11-18 03:59:30 +00:00
Julian Elischer 52bf64c787 Reviewed by: hackers@freebsd.org in general
Obtained from: Whistle Communications tree

Add an option to the way UFS works dependent on the SUID bit of directories
This changes makes things a whole lot simpler on systems running as
fileservers for PCs and MACS. to enable the new code you must
1/ enable option SUIDDIR on the kernel.
2/ mount the filesystem with option suiddir.
hopefully this makes it difficult enough for people to
do this accidentally.
see the new chmod(2) man page for detailed info.
1997-11-13 00:28:51 +00:00
Julian Elischer b1f4a44b03 Reviewed by: various.
Ever since I first say the way the mount flags were used I've hated the
fact that modes, and events, internal and exported, and short-term
and long term flags are all thrown together. Finally it's annoyed me enough..
This patch to the entire FreeBSD tree adds a second mount flag word
to the mount struct. it is not exported to userspace. I have moved
some of the non exported flags over to this word. this means that we now
have 8 free bits in the mount flags. There are another two that might
well move over, but which I'm not sure about.
The only user visible change would have been in pstat -v, except
that davidg has disabled it anyhow.
I'd still like to move the state flags and the 'command' flags
apart from each other.. e.g. MNT_FORCE really doesn't have the
same semantics as MNT_RDONLY, but that's left  for another day.
1997-11-12 05:42:33 +00:00
KATO Takenori 45d4f12362 Describe MNT_NOCLUSTER{R,W} flags.
Pointed out by:		bde
1997-11-09 03:36:26 +00:00
John-Mark Gurney f668085d2d changed prototype to match text
changed sysctl to lsvfs as "sysctl vfs" doesn't return a listing of
possible filesystem names
1997-11-05 10:09:33 +00:00
Joerg Wunsch 56728a2905 Document EINVAL as a possible return value from open(2). 1997-10-22 07:29:13 +00:00
Bruce Evans b966cc2394 Sorted lists. 1997-10-21 08:41:15 +00:00
Masafumi Max NAKANE d39b43a399 Proper spacing in the Synopsis. 1997-10-16 01:19:15 +00:00
Bruce Evans c81c89b410 Include the machine-dependent Makefile.inc for sys in the correct place. 1997-10-15 16:29:14 +00:00
Bruce Evans 2bc3b4d735 Removed the subdirectory paths from the definitions of MAN[1-9]. They
were a workaround for limitations in bsd.man.mk that were fixed about
2 years ago.
1997-10-15 16:16:41 +00:00
John Dyson 44f203cb96 Add the AIO/LIO to libc. They aren't fully done yet, but have been in the
kernel for a few months.
1997-10-10 05:48:16 +00:00
Wolfram Schneider bf5cbf3551 Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
Mike Smith 378a2883fe Typo fix 1997-09-28 03:28:34 +00:00
Poul-Henning Kamp 27262cac33 Add __getcwd() syscall, and have getcwd() take a shot at it.
If your kernel doesn't support __getcwd() or if __getcwd() cannot
deliver because of cache expiry, it does the canonical thing.
1997-09-14 16:57:27 +00:00
Peter Wemm 16115af153 A poll(2) manpage.
Obtained from: NetBSD
1997-09-14 05:44:35 +00:00
Peter Wemm b52c91dd7e Generate poll syscall stub 1997-09-14 03:29:55 +00:00
Joerg Wunsch dbf4898f6c Document SA_NOCLDWAIT.
Make all the SA_* flags go into a tagged list, to improve readability.
1997-09-13 19:43:24 +00:00
Bruce Evans 065bebee55 Removed superfluous quoting of function args. 1997-09-07 04:10:35 +00:00
Bruce Evans f12d1f0bf6 Fixed style bug in pseudocode. 1997-09-07 04:01:27 +00:00
Steve Price da0a2ddec5 Reference the correct version of BSD at the bottom of the
manpage.

PR:		docs/3735
1997-08-23 21:32:50 +00:00
Bruce Evans 1ae93414c3 Fixed off by 1 error. 1997-08-21 19:44:41 +00:00
Peter Wemm 04b8783cda Manpage for getsid(2). 1997-08-19 07:19:43 +00:00
Peter Wemm 4ff76833b4 Forgot to mention what getpgid(0) does. 1997-08-19 07:04:43 +00:00
Peter Wemm ff31b5e404 Manpage for getpgid(2), wording taken from NetBSD. 1997-08-19 07:00:53 +00:00
Peter Wemm 38fed76f7f Syscall stubs for getpgid()/getsid(). 1997-08-19 06:23:45 +00:00
Steve Price 51cc902b40 Reflect reality of sticky bits and UFS-based filesystems.
PR:		docs/4198
Submitted by:	Ada T. Lim <ada@not-enough.bandwidth.org>
1997-08-17 00:19:28 +00:00
Steve Price 449a542231 Describe the QCMD macro and its parameters.
PR:		docs/4261
1997-08-17 00:08:40 +00:00
Andrey A. Chernov 422ff09040 Explicitly point that it_value == 0 disables timer regardles of
it_interval value. It is backward-compatible with previous usage
and SunOS-compatible now.
1997-08-14 08:26:25 +00:00
Andrey A. Chernov 3ece8e2b27 Describe itimerfix upper limit 1997-08-14 07:57:58 +00:00
Steve Price 312ecb009a Default size for FD_SETSIZE is 1024 not 256.
PR:		bin/4177
Submitted by:	Wolfgang Helbig <helbig@MX-BA.Stuttgart.De>
1997-08-11 01:31:30 +00:00
Adam David ccb277de1a execve of interpreter files
reword for grammar/clarity
1997-07-08 18:27:38 +00:00
Steve Price 681e5e7a09 Show the real revision date and not the date that this
manpage is being viewed.
1997-06-23 04:03:49 +00:00
Julian Elischer 50dab48a5b Submitted by: Whistle Communications (archie Cobbs)
These changes add the ability to specify that a UFS file/directory
cannot be unlinked. This is basically a scaled back version
of the IMMUTABLE flag. The reason is to allow an administrator
to create a directory hierarchy that a group of users
can arbitrarily add/delete files from, but that the hierarchy
itself is safe from removal by them.
If the NOUNLINK definition is set to 0
then this results in no change to what happens normally.
(and results in identical binary (in the kernel)).
It can be proven that if this bit is never set by the admin,
no new behaviour is introduced..
Several "good idea" comments from reviewers plus one grumble
about creeping featurism.

This code is in production in 2.2 based systems
1997-06-02 06:24:52 +00:00
Peter Wemm 5c4722ca2f Add xref to signanosleep(2) 1997-06-01 10:34:39 +00:00
Peter Wemm 34147a3e8f Doc signanosleep, add to links 1997-06-01 09:47:06 +00:00
Peter Wemm 63f35faf52 Generate signanosleep(2) syscall wrapper 1997-06-01 09:20:30 +00:00
Eivind Eklund 6ad98044a1 `it's'' -> `its'' where appropriate and typo fixes in time2posix.3.
Closes PR docs/3612.

Submitted by:	Josh Gilliam <soil@quick.net>
1997-05-19 16:33:27 +00:00
Peter Wemm cbe0c2e4af Add clock_* and nanosleep manpages and links. 1997-05-12 12:18:14 +00:00
Peter Wemm 5995c83796 manpage for nanosleep(2)
Obtained from: NetBSD  (I think jtc@netbsd.org wrote it)
1997-05-12 12:15:35 +00:00
Peter Wemm 6bc1aaa0d8 Man pages for clock_{get/set}time() and clock_getres().
Obtained from: kstailey@openbsd.org via OpenBSD sources
1997-05-12 12:13:10 +00:00
Peter Wemm 85c2765219 Create the clock_settime(), clock_gettime(), clock_getres() and nanosleep()
syscall functions.
1997-05-12 09:59:25 +00:00
Doug Rabson e8ec170c35 Add syscalls for kernel linker. 1997-05-07 18:12:14 +00:00
John Birrell 870039320f Changed all paths to be relative to src/lib instead of src/lib/libc
so that all these makefiles can be used to build libc_r too.

Added .if ${LIB} == "c" tests to restrict man page builds to libc
to avoid needlessly building them with libc_r too.

Split libc Makefile into Makefile and Makefile.inc to allow the
libc_r Makefile to include Makefile.inc too.
1997-05-03 03:50:06 +00:00
Andrey A. Chernov d4192bac8e Add vfork(2) to SEE ALSO 1997-04-25 14:41:55 +00:00
Bruce Evans 3d56ef8c48 Generate .S files for syscalls. This has many advantages:
- dependencies actually work (I need this to propagate some fixes
  in <machine/asm.h>)
- the cpp pipeline goes away, so errors can't leak out of it and
  an ANSI cpp is automatically used.
- it's simpler - standard rules get used instead of repetitive
  special rules.  (This showed bugs in the strip steps in the
  standard rules.  The wrong strip flag was also used for *.po
  here.)

Removed some ${ECHO}s and `@'s.  Normal make echoing of what is
being done is now not much more verbose than the echo messages
were, and is more useful.
1997-04-23 10:49:54 +00:00
Bruce Evans 11663637b8 Fixed missing const. Include <unistd.h> so that the function type gets
checked.
Submitted by:	partly by roberto
1997-04-14 15:14:58 +00:00
Bruce Evans e37d0e2391 Fixed #includes in synopsis. 1997-04-13 13:48:43 +00:00
Bruce Evans cc2680f7dd Updated the LOCK_* #defines in the synopsis to be lexically identical
with the (Lite1) ones in fcntl.h).
1997-04-13 13:43:06 +00:00
Bruce Evans b60f740fec Fixed missing #include in synopsis. 1997-04-11 18:57:26 +00:00