Commit Graph

720 Commits

Author SHA1 Message Date
gmcgarry c4efdd0999 rasctl(2) 2002-08-28 09:31:26 +00:00
wiz f11f240ebb -1 -> \-1. 2002-08-20 16:42:35 +00:00
wiz 777c402952 Refer setpgid, not setpgrp, since the former is POSIX and the latter is
just there for compatibility.
2002-08-20 16:30:30 +00:00
yamt 9c03214612 - write updates st_[cm]time.
- a minor fix
from openbsd.
2002-08-18 05:55:24 +00:00
yamt 8b91a33de9 add a portablility note. from openbsd. 2002-08-18 05:34:34 +00:00
yamt b3b13795b1 bring in a note about portability from openbsd. 2002-08-17 18:41:36 +00:00
yamt b77d0176be bring in HISTORY from openbsd. 2002-08-17 18:38:46 +00:00
yamt 514d4ffd02 note that setgid doesn't change supplementary groupids.
from openbsd.
2002-08-17 18:22:21 +00:00
yamt 572225a82f document RB_POWERDOWN.
from OpenBSD.
2002-08-17 17:52:54 +00:00
yamt dbb4e0d985 - move return values info into RETURN VALUES section.
- note that O_SHLOCK and O_EXLOCK are not portable.
from OpenBSD.
2002-08-17 17:25:37 +00:00
wiz 03b08c2f0d Remove duplicate lines. 2002-08-12 21:52:37 +00:00
soren 6ca2d9ac81 Catch up to struct dirent. 2002-08-12 21:26:27 +00:00
soren 7b0d231778 Sort struct members. 2002-08-12 21:18:25 +00:00
soren e4a72452ec Take formatting fixes and note about deleted files from getdents.2. 2002-08-12 21:14:12 +00:00
yamt d536e5ccae add RETURN VALUES section.
from OpenBSD.
2002-08-11 14:44:33 +00:00
yamt e8cb4f166c bump .Dd . 2002-08-11 14:43:52 +00:00
yamt 03664cd132 - detail protections.
- add RETURN VALUES section.
from OpenBSD.
2002-08-11 14:36:33 +00:00
yamt 1c708a4b08 bring in RETURN VALUES from openbsd. 2002-08-11 13:17:35 +00:00
yamt e52744d883 - document generic ioctls.
- mention EFAULT.
from OpenBSD.
2002-08-11 12:40:46 +00:00
yamt a63161243b more description from openbsd. 2002-08-11 12:22:48 +00:00
yamt eaf49dbcad backout previous partly:
we don't check if processes are in the same session or not.
2002-08-11 12:12:54 +00:00
yamt 74b1a91d8e bring in ERRORS from openbsd. 2002-08-11 12:09:11 +00:00
yamt 906f41fac5 - include typical uses.
from openbsd.
2002-08-11 12:04:25 +00:00
yamt 731cbc6eb3 bring in warnings from freebsd via openbsd. 2002-08-11 11:46:21 +00:00
yamt a86e2e3273 note that child should use _exit instead of exit.
from OpenBSD.
2002-08-11 10:35:48 +00:00
yamt b09419c060 bump .Dd . 2002-08-11 10:28:23 +00:00
yamt 740bfa56b7 document a hack about setuid programs and fd 0, 1 and 2.
from OpenBSD.
2002-08-11 10:27:49 +00:00
wiz 707834f3b2 Remove an unnecessary .Ns. 2002-08-10 01:18:18 +00:00
itojun 583dd2affa bring in openbsd BUGS section (modulo some strong wording). nroff nits 2002-08-10 01:04:19 +00:00
briggs 6f6fd08e8a Add stubs to new system calls for performance monitoring interface. 2002-08-07 04:51:12 +00:00
wiz 0161d54450 Fix Fn (separate arguments). 2002-08-06 12:54:18 +00:00
soren 819df08c48 stat(2) can return ENXIO. 2002-08-02 08:08:26 +00:00
yamt 62d438e597 reflect current value of MAXSYMLINKS. from FreeBSD. 2002-07-20 17:56:28 +00:00
jdolecek 65822e1b55 Remove sa_sigaction member of struct sigaction, accidentaly added here
in rev. 1.26.
Problem pointed out by Antti Kantee.
2002-07-15 07:48:57 +00:00
wiz 0b7a1dde4c Use Fn instead of Xr to ourselves in one place. 2002-07-10 23:37:19 +00:00
wiz f2dd6f768a Remove Xr to ourselves from SEE ALSO. 2002-07-10 23:37:03 +00:00
wiz d0cb86c2c8 Markup improvement. 2002-07-10 22:24:32 +00:00
yamt 673cbedc13 import CAVEATS sections from OpenBSD.
with little tweak by me.
2002-07-10 14:37:12 +00:00
thorpej c061e6bf8b Enable the libc-provided signal trampoline. The old __sigaction14
entry point has been replaced by the new __sigaction14() which is a
wrapper around the __sigaction_sigtramp system call (which is itself
not directly exposed outside of libc).

No shared library version change is necessary; no new symbols
are exposed outside of libc.
2002-07-10 04:29:05 +00:00
bjh21 fcbf1cae9e Mention lchflags in the NAME section. 2002-07-07 14:59:49 +00:00
wiz 0f085a5188 Add Xrefs to ipcs(1) and ipcrm(1). 2002-06-16 22:39:32 +00:00
christos 1d4eb17d96 Remove the cross reference of fileno(3). It is more appropriate to
cross reference this from fopen(3). After discussion with John Heasley
in PR/17224.
2002-06-13 18:02:38 +00:00
wiz e2451b5981 Add Xr to fileno(3), as request in lib/17224. 2002-06-12 09:20:48 +00:00
wiz 143cf52f81 __STDC__ is always defined on NetBSD. 2002-05-26 16:53:30 +00:00
wiz 44086ebfde Remove duplicate that. lib/16849 by John Heasley. 2002-05-16 21:23:31 +00:00
wiz d30d25dc1a Spelling fixes, from Sergey Svishchev in kern/16650. 2002-05-12 15:48:36 +00:00
simonb eb0846961e Remove <sys/types.h> from synopsis, as per latest SUS/Posix specs. 2002-04-29 01:41:43 +00:00
nathanw cb713e892d The PT_IO operations are named PIOD_{READ,WRITE}_{I,D}, not
PIOD_OP_{READ,WRITE}_{I,D}.
2002-04-06 04:07:13 +00:00
jdolecek a4f9b6e45e s/are are/are/ 2002-04-01 11:19:41 +00:00
thorpej 8295f2e0b4 Document PT_IO. 2002-03-17 17:14:58 +00:00
wiz a50cd7c5cd Add SYNOPSIS. 2002-03-06 14:25:42 +00:00
tv d26369c142 Historic typo: "unfo" -> "undo" 2002-03-05 21:29:32 +00:00
ross dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
ross 814f296b77 Generate <>& symbolically. 2002-02-07 07:00:09 +00:00
fair 94125ab8df Add a reference to dir(5) per PR 14291 2002-02-03 08:05:12 +00:00
wiz 44a7a8492a Whitespace nit. 2002-01-31 00:21:31 +00:00
simonb 346fc0519d Implement the CLOCK_MONOTONIC clock for the posix/opengroup realtime
clock_() functions.  This simply returns the kernel mono_time variable.
As discussed on tech-kern.
2002-01-31 00:13:07 +00:00
ross c9774e0427 Note #include <unistd.h> in SYNOPSIS 2002-01-30 09:22:48 +00:00
tv 128278661c Don't even put Lint*.c in DPSRCS if MKLINT=no. 2002-01-29 19:01:18 +00:00
simonb 89b7d6e768 Fix tyop, noticed by Allen Briggs. 2002-01-26 15:04:16 +00:00
thorpej ac8c1c29e9 * Add WSYSCALL() to SYS.h, which creates a system call with an
internal name and a weak alias for the name.
* Add a WEAKASM syscall list, and process it.
* Make sysarch() have an internal name (_sysarch()).
2002-01-14 00:55:55 +00:00
yamt 72f7deb4ee fix a typo.
(syper -> super)
2002-01-12 02:11:03 +00:00
christos 59e608be9f document that ptrace() will return EAGAIN if the process that we are trying
to ptrace is currently in execve().
2002-01-11 21:17:30 +00:00
wiz f8f6c72444 Improve grammar. 2002-01-04 01:31:10 +00:00
jdolecek b3b35b86aa Add a note that POLLIN event is returned rather than POLLHUP when
remote end of a socket is closed.
Adresses kern/5486 by Ignatios Souvatzis.
2002-01-03 22:18:09 +00:00
tron d3de7d0eb7 Reference variable "ap" in lint dummy code to avoid warning about
unnecessary assignment.
2002-01-03 16:13:11 +00:00
thorpej 9e65d921df Don't assign semun if __lint__. 2002-01-03 01:55:49 +00:00
manu 8429e82f30 - Changed clocktl interface to use syscallargs structures
- Implemented keep-state so that we don't have to open /dev/clockctl each time.
2001-12-09 16:11:45 +00:00
ross c73d16d227 grammar 2001-11-29 23:00:43 +00:00
jdolecek 14f44ebcdd comment out the STANDARDS section for now 2001-11-24 02:40:05 +00:00
wiz 147717c2f0 Two punctuation-vs.-macro improvements, and a grammar fix. 2001-11-23 20:21:49 +00:00
jdolecek 1c36ca124c document new error cases
state standard conformancy - besides RLIMIT_AS (which is not supported
currently), getrlimit()/setrlimit() conform to SUSv2
use more standard description cookie for error return in RETURN VALUES
mention also ulimit of sh(1), besides limit of csh(1)
2001-11-23 19:50:13 +00:00
jhawk 62d68d1c31 Grammar nit from 1.14.
Dd from 1.5.
2001-11-23 19:23:43 +00:00
jdolecek ac3668b158 remove the list of Berkeley-specific signals from STANDARDS
section, the whole list is available in signal(7)
2001-11-23 18:19:42 +00:00
christos 66a8284d66 mention that we ignore negative fds. 2001-11-14 18:48:11 +00:00
tv 7df9c95b77 Only put LintSys*.c in DPSRCS; the others are static files. 2001-11-13 19:16:41 +00:00
tv c750bb2e19 Clean up a little more (DPSRCS already goes in CLEANFILES; reduce
redundancy of DPSRCS).
2001-11-13 18:57:47 +00:00
tv 75b1d2a008 No need for the .for in this case (holdover from earlier noncommitted
version of the simplification).
2001-11-13 18:46:17 +00:00
tv 68e6fca807 Make this match the new .S extension of syscalls. 2001-11-13 18:39:10 +00:00
tv f4381c7fc4 Make previous a bit cleaner, too: just refer to all these files by the
.S extension; no need to do all the :.o=.S transforms.
2001-11-13 16:03:53 +00:00
tv c22bb3e6fb Fix backslash typo in previous. 2001-11-13 15:20:34 +00:00
tv 2eb12ec596 Make the generation of syscall stubs a lot more reliable by generating real
`.S' files and letting <bsd.sys.mk> and <bsd.lib.mk> compile them like every
other .S file.  The compilation options passed to ${CC} are still correct.

Also make sure LintSysPseudoNoerr.c gets removed on "make clean".
2001-11-13 15:12:01 +00:00
kleink ed4867ab7e Reduce the ties to `inode'. 2001-10-23 09:26:59 +00:00
mycroft 78cb33d965 Should have done this years ago...
Add a warning about the separability of the PROT_* flags.
2001-10-23 02:10:23 +00:00
kleink 38c46d1f11 Sprinkle some __restrict into <sys/socket.h>. 2001-10-22 20:59:02 +00:00
kleink 481b132673 Remove inclusion of <sys/types.h> from synopsis; it is no longer needed. 2001-10-16 20:09:59 +00:00
wiz bc1b53873f Boring whitespace or punctuation fixes. 2001-10-16 16:08:55 +00:00
kleink 4d9619365d Clean up synopsis somewhat:
* only associate S/G interfaces with <sys/uio.h> (and only that header);
* drop <sys/types.h> entirely, as it is no longer needed.
2001-10-16 16:03:35 +00:00
sommerfeld 40dd2b9373 Clarify that you may get a signal instead of EFAULT. 2001-10-02 02:55:41 +00:00
thorpej a46d6c9e4f Need string.h for memcpy() prototype. 2001-09-17 23:52:14 +00:00
thorpej 836962fe0b Need string.h for memcpy() prototype. 2001-09-17 23:42:09 +00:00
thorpej bb80a7f9fc Pull in <string.h> for memcpy() prototype. 2001-09-17 23:32:33 +00:00
tsutsui a50a963c06 Include string.h for memcpy(). 2001-09-17 14:25:43 +00:00
manu 54c0ce6119 Added support to use the clockctl driver if present for adjtime(),
clock_settime(), ntp_adjtime() and settimeofday(). The super-user still
always use the plain system call.
Approved by Christos
2001-09-16 07:41:56 +00:00
wiz 53d84b5c61 Sort sections, sort SEE ALSO, punctuation and miscellanous fixes. 2001-09-16 02:13:26 +00:00
wiz dfcfff97f3 Boring whitespace fixes. 2001-09-16 01:38:59 +00:00
christos 3282ceb944 Add __clone.S
XXX: This breaks the x86_64 port. Frank are you there?
2001-09-08 00:55:00 +00:00
wiz a957c5e39e Follow a hint by Simon Burge (first part of diff), and comment in
a xref to hz(9) now that it exists (second part).
2001-09-07 23:46:03 +00:00
wiz 728ad2926a Add ntp_adjtime(2) and ntp_gettime(2) man page. 2001-09-06 00:18:18 +00:00
simonb 7e448d13f5 Don't need <sys/types.h> or <sys/time.h> before <sys/resource.h>.
References: SUSv2
2001-09-01 02:01:48 +00:00