Commit Graph

342 Commits

Author SHA1 Message Date
kleink 6e2ca95213 Update: the setuid and setgid bits will be cleared only if the caller is
not the super-user.
1997-12-21 17:58:27 +00:00
mikel f5098db92a sync struct statfs with <sys/mount.h> 1997-12-18 07:22:58 +00:00
mrg 701bf906ba note that MAP_SHARED or MAP_PRIVATE must be specified. 1997-12-15 04:00:08 +00:00
kleink 5d7a8f4a16 Modify the recent sigaltstack() interface change to use the __RENAME() scheme;
add __sigaltstack14().
1997-11-29 18:38:20 +00:00
mikel ae21562ab9 fix typos, use -mdoc macros where useful, replace blank lines with .Pp 1997-11-27 10:24:44 +00:00
mikel 335c5b7630 s/EACCESS/EACCES/, from Brian Evans via OpenBSD 1997-11-27 07:36:24 +00:00
kleink 5abc2c37ce Update sigaltstack() to use stack_t parameters. 1997-11-26 16:51:12 +00:00
tv b934dcf21f Typo fix: the umount call is no longer called umount, it is now called
unmount.
1997-11-26 14:46:44 +00:00
lukem 0e3b290810 fix .Nx usage (use 1.0 instead of 0.9a, etc), and other minor cleanups 1997-11-24 06:28:50 +00:00
kleink ffd48267c2 Update for nfds_t. 1997-11-21 18:30:49 +00:00
mrg 6be07a674c add missing .Nm calls and MLINKS. from spz@serpens.swb.de 1997-11-12 00:47:32 +00:00
cgd 6a1e9744f2 sh makelintstub, rather than trying to execute it directly 1997-11-06 22:34:01 +00:00
fair 382aed35d9 correct documentation: lock contention returns EAGAIN, not EACCES, per PR#4369 and UTSL. 1997-11-06 10:44:09 +00:00
cgd 023cd79c6b lint stubs for functions which ports use assembly versions. When using
an assembly version of a function, add the right lint stub to the Makefile.inc
which specifies the source to build the function (see the
arch/i386/*/Makefile.inc).  Can't just lint the normal C versions of these
functions, because some of them don't _have_ normal C versions and if
that were done dependencies would get messed up.
1997-11-06 00:51:04 +00:00
cgd 435c105d59 lint stubs for assembly routines. 1997-11-05 23:37:06 +00:00
cgd 446696d688 include sys/types.h rather than sys/param.h+sys/systm.h 1997-11-05 21:40:21 +00:00
thorpej 66abcf57d6 Instead of creating a .ln for each syscall stub, create one (big) .ln
per class of syscall stubs.  This is much more efficient (though it's still
pretty inefficient).

This also fixes a problem with syscall.h and DESTDIR which was pretty
well buried in the old implementation.

From Chris Demetriou <cgd@pa.dec.com>.
1997-11-05 05:46:18 +00:00
kleink ae0ad1a554 Per XPG4.2, move mknod() prototype from <unistd.h> to <sys/stat.h>. 1997-11-02 17:16:48 +00:00
mycroft d03bb60a87 Minor wording changes, and update the date. 1997-11-01 07:44:29 +00:00
mycroft 3f4f06cc2c Refer to sigaltstack(2), not sigstack(2).
Do not refer to siginterrupt(3), which is part of the old sigvec interface.
Various other formatting and wording fixes.
1997-11-01 07:29:50 +00:00
mycroft 71c121c6af Nuke trailing comma in SEE ALSO section. 1997-11-01 06:37:47 +00:00
lukem d0e23d974a - use CPPFLAGS instead of CFLAGS
- use ${COMPILE.C} ... instead of ${CC} ${CFLAGS} -c ...
1997-10-22 23:14:04 +00:00
fvdl 21e1e24df3 New hacks to make libc work painlessly without bumping the major number:
use type func(arg1s) asm("emitted_name") gcc mechanism.
Suggested by Bill Sommerfeld.
1997-10-22 00:51:45 +00:00
thorpej 139064efd8 Fix an oversight in the previous. 1997-10-21 18:56:44 +00:00
thorpej 14cd99880c Fix the shared library versioning snafu caused by the recent changes
to the stat(2) family and msync(2).  This uses a primitive function
versioning scheme.

This reverts the libc shared library major version from 13 to 12, and
adds a few new interfaces to bring us to libc version 12.20.

From Frank van der Linden <fvdl@NetBSD.ORG>.
1997-10-20 22:05:06 +00:00
christos 473c5739fd Bring back swapon and getdirentries from libcompat. 1997-10-20 16:04:24 +00:00
enami 8f9f7c1f69 Fix typo; MLINKS are always constructed from pair of link src and dst.
- delete the line `MLINKS += swapctl.2'.
1997-10-18 12:27:08 +00:00
christos 14d765b9a0 caddr_t -> void *
PR/4269: Chris Demetriou: Add MS_* to msync()
1997-10-16 23:21:47 +00:00
christos b2e230c1c7 caddr_t -> void *
PR/4269: Chris Demetriou: Add MS_* to msync()
1997-10-16 23:21:44 +00:00
christos a111587eb8 caddr_t -> void *
PR/4269: Chris Demetriou: Add MS_* to msync()
1997-10-16 23:21:39 +00:00
christos 4fede91695 Reflect current reality. 1997-10-16 23:19:50 +00:00
christos 19acefc360 Remove swapon remnants 1997-10-16 23:13:24 +00:00
christos 84abd9f33b swapon migrated to libcompat 1997-10-16 23:12:30 +00:00
fvdl d9bc7315c5 Create getdirentries man page seperately now. 1997-10-12 23:06:53 +00:00
enami b9a2bf91c7 Sort SEE ALSO list. 1997-10-11 03:34:00 +00:00
enami 405926920b - Don't use capital letter for function name and argument.
- Sort SEE ALSO list.
1997-10-11 03:33:25 +00:00
enami 2f07ed897a Don't use capital letter for function name and argument. 1997-10-11 03:31:01 +00:00
enami 07caf92eec - Don't use captial letter for function name or function args even if
it is at the beginning of a sentence.
- In SYNOPSIS, rename function argument ``file'' to ``path'', since it is
  refered as ``path'' in DESCRIPTION.
- Use ``Fa path'' instead of ``Xr File'', since probably use of Xr is a typo,
  and now function argument is called ``path''.
1997-10-11 03:27:59 +00:00
enami 9c02ab376e Don't start function name with capital letter even if it is beginning
of a sentence.
1997-10-11 03:19:39 +00:00
enami baf66c5d60 Remove description about behaviour of 4.4BSD symlink. 1997-10-11 03:18:11 +00:00
mrg 55c881fbd2 when creating the per-device extent, use from 0 to nblks, and then
extent_alloc_region() any skipped space.  this is (basically) what
the previous swap code did (with rmaps rather than extents).
1997-10-10 13:16:24 +00:00
mrg 74f573d85d remove advertising clause from all my licenses. 1997-10-10 05:39:47 +00:00
fvdl e03a6d4d3e Add new getdents() syscall, provide compat code for old getdirentries. 1997-10-10 02:15:44 +00:00
mycroft 7348dd86b1 Document that the time zone is obselete, add an xref to localtime(3), and
update the HISTORY section.
1997-10-09 05:05:56 +00:00
enami f67a987e2d Acutally, lchmod, lchown and lutimes may set errno to ELOOP. 1997-10-06 08:22:58 +00:00
enami e61b385cbb Add C library interface for new system call lchmod, lchown and lutimes. 1997-10-06 01:12:06 +00:00
enami 435d770085 Add C library interface for new system call lchmod, lchown and lutimes. 1997-10-06 01:12:04 +00:00
enami 67aed4b601 Add C library interface for new system call lchmod, lchown and lutimes. 1997-10-06 01:12:02 +00:00
hubertf 560cebec0a s/Path/Dirname/; closes PR lib/4155 1997-09-27 19:33:20 +00:00
hubertf f19d449a84 Typo: qetext -> etext; closes PR lib/4156 reported by entropy@tardis.bernstein.com 1997-09-27 19:23:34 +00:00
mikel e13ea50bb5 RCSid police 1997-09-20 04:16:40 +00:00
mikel 42c4fcf3eb reference SS_* constants, not SA_* constants; from der Mouse in PR lib/4117
add some whitespace
1997-09-20 02:49:43 +00:00
cgd 8359b5d27b "int filedes[2]" is more correct than "int *filedes" in synopsis. 1997-09-17 23:50:08 +00:00
jtc 5b466bef97 Changed order of STANDARDS and HISTORY subheads to conform with
specification in mdoc(7).
1997-09-09 07:26:02 +00:00
chuck 1a99278044 import minherit from OpenBSD 1997-09-08 18:42:43 +00:00
mikel abec49ea56 add HISTORY line for swapon(), and eliminate all reference to libc
major numbers.
1997-08-27 07:31:36 +00:00
mikel 45b9cc41fd feed makelintstub to sh, don't rely on x-bits 1997-08-25 05:07:43 +00:00
mikel 080f345dd2 fix numerous typos, some found by <entropy@tardis.bernstein.com> (PR
lib/4016) and others found by myself.  make Dt macro (document title)
  match filename.
1997-08-20 05:17:39 +00:00
mikel 3694683be8 add link from swapon(2) to swapctl(2); from
<entropy@tardis.bernstein.com> in PR lib/4015
while I'm here, also move swapon.c to a more appropriate spot
1997-08-20 04:58:41 +00:00
mikel 0dd6f777c8 fix typo; from <entropy@tardis.bernstein.com> in PR lib/4006 1997-08-19 04:40:03 +00:00
mikel 43cdfeec3e xref setpgid(2), not nonexistent setpgid(3) 1997-07-22 05:59:58 +00:00
phil f7b40c4b07 Try to make man page refelect reality. EINVAL for "operation" argument,
EOPNOTSUPP for an fd not talking about a v-node (file in man page).
Closes PR2602.
1997-07-17 18:20:48 +00:00
mikel 93d703eed2 xref setgid(2) not nonexistent setgid(3), sort xrefs 1997-07-16 07:09:14 +00:00
mikel 48fbbaa026 xref quotactl(2) not nonexistent quota(2) 1997-07-16 06:05:58 +00:00
mikel 9c10bd8647 xref killpg(3) not obsolete killpg(2), sort xrefs 1997-07-15 07:13:29 +00:00
mikel 5a13994cb6 xref mmap(2), not self; xref mlock(2); sort xrefs 1997-07-15 06:52:43 +00:00
mikel 8312548282 xref getpagesize(3) not getpagesize(2), sort xrefs 1997-07-15 06:47:38 +00:00
mikel 1bc886dbc0 kadb(4) is dead, long live ddb(4)
remove obsolete BUGS section (hp300 supports RB_KDB, and apparently
  nothing uses RB_DFLTROOT anymore)
1997-07-15 03:04:56 +00:00
kleink c213a3af8b Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION
to 199009L, bump existing statements to 1003.1-1990.
1997-07-14 23:19:39 +00:00
christos 3ad08ca2f9 Fix RCSID's 1997-07-13 20:25:30 +00:00
perry 07c4b8d6ac nuke reference to nonexistant MAP_WRITE flag, per Brian Grayson, pr-3698 1997-07-12 18:44:48 +00:00
perry f7512395e6 document EFTYPE error return (from der Mouse, pr-3476) 1997-07-12 18:38:06 +00:00
mikel 6d9c162fda xref gethostid(3) not gethostid(2) 1997-07-11 08:05:51 +00:00
mikel 9431a9e7b2 xref getdtablesize(3) not getdtablesize(2) 1997-07-11 08:00:52 +00:00
mikel 68d5856411 xref _exit(2) or exit(3) instead of exit(2) 1997-07-10 07:54:12 +00:00
mikel d61bcdd8e8 xref execve(2), getdtablesize(3) instead of execv(2), getdtablesize(2) 1997-07-10 07:44:49 +00:00
kleink 2d5034e643 EPERM is returned when the file to be removed is a directory and the file
system containing it does not permit the use of unlink(2) on a directory.
Add a missing comma.
1997-07-01 09:52:53 +00:00
phil 1c1a1ceb84 Update for reality. vfork differes only in the suspension of the parent.
(Closes PR 2713.)
1997-06-30 18:42:51 +00:00
lukem 76b5bb5198 fix a couple of typos 1997-06-21 07:02:40 +00:00
mrg 2989e9f477 actually document swapctl(2). 1997-06-20 05:47:58 +00:00
mrg 7bc62c9a2d move swapon() stub here 1997-06-12 22:39:15 +00:00
mrg 552af779d2 bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:46:19 +00:00
mikel cfbba2e092 getdtablesize(2) -> getdtablesize(3) 1997-06-06 04:03:19 +00:00
cjs ce91a5dfce Back out BUILDDIR change. 1997-05-31 22:38:59 +00:00
kleink 1dd65e81d9 DESTDIR -> BUILDDIR 1997-05-30 21:36:26 +00:00
cgd c917dfb5b2 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
	.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
	.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
jonathan 7a5244ba6c Delete hanging .if left by patch. 1997-05-24 03:02:12 +00:00
jonathan 346af6eeff More table-driven changes: split CPICFLAGS into separate flags, to
support the two different incompatible rules for build .so files from
.S source on both NetBSD and binutils toolchains:

	 ${CPP} | ${AS} for syscalls
	 ${CC}   	for non-syscalls
for which the different toolchains's ${AS}  requires diffferent flags.
1997-05-24 01:42:36 +00:00
pk ddc2d9d857 MNAMELEN is 90. 1997-05-21 21:48:47 +00:00
kleink f41ec7b2ac Add/update 1003.1 conformance notice. 1997-05-16 16:03:53 +00:00
kleink 733adc6801 Add/update 1003.1 conformance notice. 1997-05-16 15:31:01 +00:00
kleink 645ac6dfe5 Update standards conformance. 1997-05-16 15:19:40 +00:00
kleink eaf8e7e2ee Note 1003.1 conformance. 1997-05-16 15:18:22 +00:00
kleink b1f98ac0f2 Update standards conformance. 1997-05-15 17:05:18 +00:00
kleink 05aaaac188 Precede the dependency on /usr/include/sys/syscall.h with ${DESTDIR};
fixes PR/3595 from dave@comp.vuw.ac.nz (Dave Sainty).
1997-05-14 13:33:23 +00:00
kleink 244f0cc5f2 Update to the new `chown(2) vs. (S_ISUID|S_ISGID)' world order. 1997-05-13 17:45:16 +00:00
mikel a9f44d3e01 xrefs need section numbers 1997-05-13 03:15:40 +00:00
mikel 7c0be96cf7 xref sigprocmask(2), not obsolete sigsetmask(2). 1997-05-12 07:46:33 +00:00
kleink 3cfcf494cd Use PSEUDO_NOERROR() for _exit(): it never returns. 1997-05-02 18:16:50 +00:00
kleink 1cacd20927 Note that fchown(2) also implies clearing the set-{group,user}-id bits;
update standards conformance.
1997-04-30 19:35:33 +00:00