Commit Graph

540 Commits

Author SHA1 Message Date
jdolecek 07506ce5eb update to match current common implementation on NetBSD - [f]truncate()
normally lengtens the file if it's shorter than specified length
also change wording slighly, to match wording in SUS

XXX someone should check how much of SUS truncate(2) specification is true
XXX on NetBSD and update this manpage accordingly
2000-05-28 09:41:52 +00:00
perseant 7438415348 Add man pages for LFS syscalls 2000-05-24 21:54:59 +00:00
itojun 273595e782 add PF_INET6. 2000-05-22 05:06:20 +00:00
fair 098894016b A little nroff clean up, since I was here to deal with PR 9727,
but someone beat me to it, and didn't log that...
2000-05-17 10:24:13 +00:00
soda 91c450a0e1 ARG_MAX is bumped from 20KB to 256KB since Jan 16 1994 (revision 1.7 of <sys/syslimits.h>). i.e. before NetBSD-1.0 release.
pointed out by NAKAJIMA Yoshihiro and Tanaka Akira on fj.os.bsd.netbsd newsgroup.
2000-05-08 10:15:17 +00:00
minoura 8bffa1abc1 issetugid(2) manpage. 2000-04-21 16:39:23 +00:00
minoura 52de0c47aa FreeBSD's issetugid(2) manpage. 2000-04-21 16:35:05 +00:00
minoura 599d65f132 New syscall issetugid. 2000-04-21 16:24:22 +00:00
mrg a6f7a7855f implement lchflags(2), which does the chflags(2) dance without following
symlinks, and thus can operate on symlinks.  remove a bogus comment in
chflags(1) that claims symlinks do not have file flags.

XXX: todo -- make chflags(1) use lchflags(2) when given the right options.
2000-04-17 14:31:21 +00:00
tsarna a32696c2de Death to nfsiod!
It is replaced by kernel threads that do the same thing. The number of
kernel threads used is set with the vfs.nfs.iothreads sysctl.
2000-04-15 21:14:48 +00:00
simonb e28dc2c70b We return EIDRM if the msg queue is removed, not EINVAL. 2000-04-12 13:03:52 +00:00
fvdl bfb0ad4a93 Clarify that page alignment only happens for the internal, kernel notion
of the break value.
2000-04-04 08:41:45 +00:00
kleink 7e35a43e67 In mmap(), bail out with EOVERFLOW when mapping a regular file and the file
offset plus mapping length cannot be represented in an off_t.
2000-03-28 18:45:19 +00:00
kleink 69043b3644 Note EILSEQ. 2000-03-14 19:14:29 +00:00
kleink c9b0caf509 Sync the description of errno with reality; fixes PR lib/9496. 2000-03-14 19:11:24 +00:00
soren 89c5a767f8 Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
enami 6e362668c4 Note that this system call now creates kernel thread. 2000-03-10 01:34:35 +00:00
enami 823f836758 Document some recently added user visible mount option. Addresses PR#6577.
While I'm here, I reorderd SEE ALSO section properly.
2000-03-06 09:11:14 +00:00
enami f8796b1a66 Remove reference to config(8) from SEE ALSO list. 2000-02-28 14:32:53 +00:00
enami 61b07296fe With SEE ALSO list, add swapctl(2) and swapctl(8) and remove config(8). 2000-02-28 14:30:54 +00:00
enami 354b4bc5c1 Sync wi/ reality. 2000-02-28 14:21:46 +00:00
christos f9be3e6b20 Explain why we don't want to pass structs and unions to syscalls, and
how to find the proper args for a syscall.
2000-01-31 15:15:07 +00:00
christos 618e1b5628 Add a userland stub to do the union semun -> union semun * redirection. 2000-01-31 15:14:19 +00:00
itojun e5a959ce39 EINVAL may be returned when address family mismatches. (from openbsd) 2000-01-26 10:43:36 +00:00
mycroft 605490369c Delint.
Remove trailing ; from uses of __weak_alias().  The macro inserts this if
needed.
2000-01-22 22:19:07 +00:00
mycroft e568b4cf30 Delint. 2000-01-22 21:19:29 +00:00
ad 902637d2e4 swapctl(SWAP_OFF, ...) now works. 2000-01-13 12:11:30 +00:00
tron eec7b963e1 Correct typo reported by Jens Nilsson in PR misc/9069. 1999-12-29 21:19:36 +00:00
mjl 67b9836fda Fix typo. 1999-12-28 02:51:17 +00:00
msaitoh 3b476f4adb use .Er 1999-12-11 19:35:48 +00:00
kleink 15be242b3a Add a LIBRARY section to system call manual pages. While it's clear that the
libraries contain stubs only (with minor exceptions a la pipe(2)), the purpose
of this section is to provide linkage information.
1999-12-02 21:42:35 +00:00
lukem e0c4130ae6 use .Fn appropriately 1999-11-07 01:26:02 +00:00
is cff7bedd54 Actually profile system calls.
Problem and most of the fix reported by Anders Hjalmarsson in PR 4976; libposix
mentioned by Chris G. Demetriou.
1999-10-27 14:58:28 +00:00
erh 4cb911b098 Add ENXIO error for FIFOs. 1999-10-21 19:40:22 +00:00
jdolecek 1baa9b08ef remove the list of signals and xref signal(7) instead 1999-10-06 17:17:26 +00:00
jdolecek 7db4bda538 xref signal(7) 1999-10-06 17:16:56 +00:00
jdolecek 1124973cb5 Add SEE ALSO section and xref sigaction(2) and signal(7) 1999-10-06 17:14:55 +00:00
jdolecek edf12166ba xref signal(7) 1999-10-06 17:14:02 +00:00
bouyer 510907ed01 Document CTL_PROC, the core filename format it core(5), and xref sysctl(8),
sysctl(3), core(5) in various place.
Document 'options DEFCORENAME' inj options(4) and $defcorename in rc.conf(5).
1999-09-28 14:52:32 +00:00
jdolecek 8eb5a4184d xref symlink(7) 1999-09-26 21:18:53 +00:00
jdolecek 7d96f3efd3 xref symlink(7) 1999-09-26 21:00:25 +00:00
sommerfeld 4a22cb272c Correct the reference to the current value of MAXLOGNAME to reflect reality 1999-09-24 19:55:15 +00:00
thorpej df6731425c Update for XSH5. 1999-08-25 21:12:54 +00:00
thorpej 72b1756c5a Update for XSH5. 1999-08-25 20:55:35 +00:00
thorpej e9fc9322cc Update for XSH5. 1999-08-25 20:30:05 +00:00
thorpej 30dca7f7db Add __msgctl13(), __semctl13(), and __shmctl13() (symbols are __RENAME()'d
in their respective header files).  Add PSEUDO stubs for the old versions
of these system calls.

Note that __semctl13() doesn't require the extra stub that the old
semctl()/__semctl() did, as the SUSv2 version takes variable arguments,
and thus does not require the extra indirection.
1999-08-25 05:09:27 +00:00
mrg 62db67a0e1 add a note that these requests were ignored in pre-1.5 1999-08-24 08:58:54 +00:00
tron 04cfded216 Revert last change after Ross Harvey fixed "mandoc". 1999-08-23 21:22:27 +00:00
tron d483ef81c6 Use correct "mandoc" macro for concatenating "or" and "ing".
Fixes PR misc/8236 by "Wiz".
1999-08-23 21:12:55 +00:00
ross 2dfc8c4533 Note that nice +19 and nice +20 guarantee exclusion w.r.t. priority <= 0. 1999-08-20 19:58:20 +00:00
sommerfeld a1caf9578c Fix PR8208, this time to the correct location.. 1999-08-18 19:46:00 +00:00
is b9243cdc97 repair edito in BUGS session. 1999-08-16 14:10:06 +00:00
enami 2d400d39d4 Copy the definition of MADV_FREE from sys/mman.h. 1999-08-16 07:55:20 +00:00
christos acef34de33 Add note that only the super-user may set or reset any flags on block
and character devices. [Commit by cjs.]
1999-07-31 03:30:44 +00:00
perry 72ec01bc0e Restore some information about the page rounding behavior of these
functions, with a little bit of a caution that the page rounding
behavior isn't mentioned in standards documents that mention brk/sbrk.
Klaus removed this before, but I'm not sure why, and I've been unable
to reach him about the matter after trying for several days. The
information about the behavior has always been in the page and is
important for developers to know about.
1999-07-14 16:24:48 +00:00
kleink e79a283e47 XSH5: change function signature to `void *sbrk(intptr_t)'. 1999-07-12 21:55:19 +00:00
kleink d6127eeb14 Remove a paragraph from previous. 1999-07-12 14:51:10 +00:00
perry 0c91d3d222 Note that you can find out the system page size with sysconf(3). 1999-07-09 14:41:26 +00:00
perry f31cd6341c note in BUGS that the prototype of our sbrk is not standards compliant
and will need fixing.
1999-07-06 23:12:04 +00:00
perry eeebdec53e Clean up this mess a lot. I believe we still have the following
issues (at least):

1) sbrk is defined as returning char *, which violates XPG
2) I'm not clear on what happens if you try to sbrk() on a negative
incr that is less than the page size. I'm guessing "nothing", but we
should document this behavior.
3) XPG says some interesting things about whether new pages are
guaranteed zeroed. We say nothing about this. We should document our
behavior.
4) It isn't clear if *we* guarantee that malloc and sbrk can be mixed
in our API (I've documented that it isn't universally portable.)

We really should clean these up, too.
1999-07-06 16:36:15 +00:00
darrenr b1319ee5b3 EOPNOTSUPP was incorrectly spelt as EOPNOSUPPORT
add ENFILE to list of errors.
1999-07-06 14:39:56 +00:00
sommerfeld 311927221b Build system call stubs using system includes from ${DESTDIR}/usr/include
if DESTDIR is set.
This allows you to build a working libc which include syscall stubs
for new syscalls not defined in /usr/include/sys/syscall.h
1999-07-04 15:46:10 +00:00
wrstuden 1d74ac18fa Give fhopen, fhstat, and fhstatfs a man page. 1999-06-30 01:32:14 +00:00
wrstuden e401af6e26 Add fhopen, fhstat, and fhstatfs syscall stubs. 1999-06-29 22:22:06 +00:00
sommerfeld 8f37bce679 fix PR/7855 1999-06-26 04:12:45 +00:00
tron adb46f40b2 Add missing reference to setsockopt(2) to "SEE ALSO" section. 1999-06-24 20:16:31 +00:00
thorpej 9b9494844a MCL_FUTURE is now implemented. 1999-06-18 05:37:30 +00:00
thorpej 01d1ebf115 Note that MCL_FUTURE is not yet fully implented in the BUGS section. 1999-06-16 23:32:17 +00:00
thorpej 9fdf52a910 Note POSIX 1003.1b-1993. 1999-06-16 23:30:28 +00:00
thorpej 6cb6c24690 The (incorrect) nesting behavior of mlock(2) no longer exists. 1999-06-16 23:14:59 +00:00
thorpej 694cc23026 Add mlockall(2)/munlockall(2). 1999-06-15 23:31:19 +00:00
thorpej e479f407c4 Fill out the mincore(2) manual page a little; define the NetBSD call
to be like the Solaris call.
1999-06-07 01:42:30 +00:00
kleink c5dce7b8ff Note that an EFAULT condition cannot be guaranteed to be detected (i.e. in the
MD implementation of pipe(2)); addresses PR kern/7720.
1999-06-06 22:50:26 +00:00
ross c034f9952a See the incredible, morphing, fcntl(2) parameter #3 change again!
This time, it actually matches the prototype and the 1003.1 definition.
1999-05-24 23:06:00 +00:00
sommerfe db94801270 s/sigstack/sigaltstack/ in ERRORS section 1999-05-12 18:42:43 +00:00
christos 9d88908dad use a local vfork declaration to avoid symbol renaming. 1999-05-04 13:53:11 +00:00
ross 1ba353b02e Spelling. 1999-04-26 04:10:35 +00:00
kleink 28904498f5 Fix incorrect reference in ERRORS section; from Paul Wain in PR misc/7405. 1999-04-17 10:15:34 +00:00
kleink 6896db3b93 Remove duplicate section header; from NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
in PR lib/7320.
1999-04-09 14:11:57 +00:00
cgd b22750720f change:
.Sh "SEE ALSO"
to:
	.Sh SEE ALSO
The doc macros check for the latter (actually just for 'SEE' as the first
argument to .Sh) to set the section header SEE ALSO flag, which modifies
some behaviour (e.g. references done with .Rs/.Re).
1999-04-06 04:54:19 +00:00
sommerfe d70c7c2004 Document new chroot-related restrictions on fchdir, chroot, and ptrace
made possible by the kernel getcwd infrastructure
1999-03-26 23:37:27 +00:00
perry d4076f1ce9 argument is void *, not char * (at least, to the extent that it is a pointer. 1999-03-25 18:48:16 +00:00
perry 3601ed9448 fix to note that arg is void * but is used by some commands as an int 1999-03-25 18:37:06 +00:00
mycroft 1b0b50098d Fix a few things that were out of date or just plain wrong, and clean up some
formatting glitches.
1999-03-24 16:36:10 +00:00
hubertf eb5057aab5 Better explain possible EBADF causes.
Patches submitted by Greg A. Woods <woods@planix.com> in PR lib/7206.
1999-03-24 13:40:51 +00:00
mycroft 68d6f4bf44 Remove spurious .ne's. 1999-03-24 06:27:49 +00:00
lukem 0a10e5dd4b document new bind() restrictions 1999-03-23 10:59:11 +00:00
garbled 38c96853cf Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Wheee!
1999-03-22 19:44:33 +00:00
kleink 61c3516908 Introduce _PC_FILESIZEBITS. 1999-03-22 19:14:22 +00:00
kleink 29fc254df0 Bump the date. 1999-03-22 19:11:16 +00:00
kleink 4d282292e2 Introduce EOVERFLOW. 1999-03-22 19:03:38 +00:00
sommerfe 60a179e6aa Build fchroot and __getcwd syscall stubs 1999-03-22 17:56:42 +00:00
mrg 32783bf7e7 -> <sys/swap.h> 1999-03-18 04:48:03 +00:00
kristerw c068cca51b EACESS -> EACCES. From OpenBSD. 1999-03-14 20:15:40 +00:00
hubertf 4e308589b1 Fix RB_STRING, per PR 7147 by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-14 01:30:16 +00:00
kleink 65a39c939e Sync with declaration in <unistd.h>. 1999-03-10 09:52:54 +00:00
kleink 1f173d29a8 Fix a .Fa vs. .Fn bogon, and clarify somewhat. 1999-03-09 20:35:18 +00:00
kleink e2a4add9f7 brk(2) actually returns an int indicating success (0) or failure (-1). Also,
change its argument to void *.  (Both XSH5).
1999-03-09 20:33:22 +00:00
erh bdfd2b2770 Add missing .El lines. 1999-03-09 19:45:09 +00:00
ross 53dc7656a3 More missing .El's. 1999-03-09 03:58:14 +00:00