Commit Graph

929 Commits

Author SHA1 Message Date
drochner 954d4024f6 sigreturn14 is just for compatibility, not referenced by any new code 2004-03-26 19:31:05 +00:00
wiz 5f31e2f50a Use Aq instead of \*[Lt]\*[Gt]; \- for a minus; remove
superfluous comma.
2004-03-25 01:13:32 +00:00
wiz f3fef0b660 Increase width in tables so this displays more nicely. 2004-03-24 16:14:36 +00:00
mrg 3b66f6e642 clean up my copyright 2004-03-21 05:47:44 +00:00
yamt 936455ecbc "Upcall handlers should be registered" -> "An upcall handler ..."
as only one handler can be registered.
2004-03-14 23:05:09 +00:00
wiz 60f9cb09db Begin sentences with uppercase letters. 2004-03-14 20:57:49 +00:00
snj ae6d7048fe Spelling fix. 2004-03-14 10:36:09 +00:00
snj 63b1d00163 Fix macro usage and a slight English problem. 2004-03-14 10:22:06 +00:00
snj cd1f209f54 English fix. 2004-03-14 10:21:22 +00:00
snj 2fdc7bef13 English improvements. 2004-03-14 10:20:43 +00:00
snj 4e8e4580a2 Fix macro usage, use Dv for SA_FLAG_STACKINFO, and English nits. 2004-03-14 10:19:59 +00:00
snj bcba66f310 Minor English nits. 2004-03-14 10:18:33 +00:00
yamt e71ca4ef99 some manpages of scheduler activation syscalls. 2004-03-14 09:18:45 +00:00
lukem 6dbd72c053 MAKEVERBOSE messages 2004-02-08 22:52:41 +00:00
wiz 9af86fc6f2 Fix two typos, and remove a superfluous comma. 2004-01-30 16:03:50 +00:00
wiz 7fcc4d6c6b Sort SEE ALSO. 2004-01-30 15:38:47 +00:00
christos fa6c746b59 cross reference sticky(7) 2004-01-30 15:31:27 +00:00
tsarna 72489e1ea0 uuidgen(2) syscall. Originally from FreeBSD, ported by John Franklin in
PR#23470, with minor updates by me. This is only the syscall support
from that PR, for now.

Changes: port over fix from FreeBSD for multicast address generation.
Changed bcopy to memcpy.  For now, #ifdef notyet the portions of
kern_uuid.c that are meant to be used by (currently nonexistent) other
things in the kernel.  Added syscall to COMPAT_FREEBSD as well, though
that's currently not useful, as any program new enough to use this call
also uses other syscalls we don't (yet) emulate.
2004-01-29 02:00:02 +00:00
mrg 3c36c70c82 fix a typo 2004-01-11 16:05:27 +00:00
wiz 6807f73559 Fix some spacing nits, an Xref section, and a long line.
Bump date for previous.
2004-01-08 09:12:57 +00:00
christos 46f02625cb - Describe all system threads.
- Mention all MI threads that are not device specific; i.e. mention scsibus,
usb, raidframe, nfs, but not pms.
2004-01-07 16:26:23 +00:00
christos 8a293ad181 Document F_MAXFD, F_CLOSEM 2004-01-05 00:34:34 +00:00
cl 90e89977d4 - libc.so.12.109 and libpthread.so.0.4
- add ssize_t stackinfo_offset argument to sa_register syscall
- remove sa_unblockyield syscall
- make __sigprocmask14 syscall weak
- in pthread__sa_start: catch up with 4-argument sa_register syscall
2004-01-02 18:56:39 +00:00
jmmv 8ab300d124 Fix typo; from Aidan Kehoe in PR lib/23951. 2004-01-02 17:06:21 +00:00
wiz ef1b175332 Bump date for previous (hi christos!). 2003-12-17 23:04:33 +00:00
christos 4c4fa74153 Say what happens with pgrp == 0. 2003-12-17 21:05:30 +00:00
augustss af68367011 Reference kfilter_register(9) rather than the non-existent kfilter_register(2). 2003-12-09 19:49:53 +00:00
keihan 39d96c1f34 netbsd.org -> NetBSD.org
NetBSD.ORG -> NetBSD.org

Now src/lib is done.
2003-12-04 23:39:18 +00:00
christos 22a07298e9 - Document NO_DEFER
- Turn sa_flags into a list to make it easier to find/read
- Sort the sa_flags lists.
2003-11-25 21:09:14 +00:00
kleink 1d408df31d Catch up with namei: An empty string is not a valid pathname.
Noted by SAITOH Akinori in PR misc/23565.
2003-11-25 15:33:58 +00:00
wiz c09770cac0 Use Rv for return values section; bump date. 2003-11-19 16:50:09 +00:00
pooka cce38fddc2 document RETURN VALUES 2003-11-19 15:20:32 +00:00
wiz faedb5db06 Fix typo in previous. 2003-11-18 08:49:18 +00:00
thorpej 137c808bb8 Userland portion of fsync_range(2), written by Bill Studenmund, and
contributed by Wasabi Systems, Inc.
2003-11-18 00:56:56 +00:00
kleink 661f76699f POSIX: when attempting to fdatasync(2) a file which is not open for
writing, fail with EBADF.
2003-10-25 01:18:01 +00:00
wiz 538e6e3e1e Move siginfo(5) and ucontext(5) to siginfo(2) and ucontext(2) resp.,
and fix references.
Per a discussion on source-changes around Sep 14 2003.
2003-10-14 14:59:03 +00:00
wiz 8295081a25 & -> \*[Am]; mark up FD_SETSIZE; bump date for previous. 2003-10-14 07:44:43 +00:00
itojun 5435c421a0 note that programs that use rpc(3) cannot bump FD_SETSIZE. 2003-10-14 07:08:45 +00:00
agc b2b49933f4 Move Matt Green's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22396 by Joel Baker, the changes
were confirmed to the board by Matt Green.
2003-10-13 14:22:20 +00:00
thorpej 8655c7d7eb Add a MAP_WIRED flag to mmap(2), which causes the new mapping to be
wired as if by mlock(2).
2003-10-07 00:17:09 +00:00
christos 3e10887300 Pass -D_LIBC 2003-09-30 22:30:16 +00:00
cl 5c40d56471 fix SA/pthread pagefault failure:
- prevent BLOCKED upcalls on double page faults and during upcalls
- make libpthread handle blocked threads which hold locks
- prevent UNBLOCKED upcalls from overtaking their BLOCKED upcall
this adds a new syscall sa_unblockyield
see also http://mail-index.netbsd.org/tech-kern/2003/09/15/0020.html
2003-09-16 13:51:31 +00:00
wiz d46db7b926 In is only to be used in SYNOPSIS; Aq Pa is better for other places.
Problem noticed by kleink.
2003-09-14 09:15:23 +00:00
wiz 5a12b7062e Various fixes. 2003-09-14 09:02:49 +00:00
kleink b9f1052a4d Fix some typos, attempt some markup normalization, align wording a little
more with other manual pages.
2003-09-13 23:00:38 +00:00
christos 8694ace9bd forgot to install timer_settime. 2003-09-13 22:50:21 +00:00
christos 960ffa78a4 Fix markup. 2003-09-13 22:44:23 +00:00
kleink 9865e7ff1d Sprinkle restrict into timer_{create,settime}(2). 2003-09-13 22:31:04 +00:00
christos 226b4082f4 Add timer man pages. Hi Nathan! 2003-09-13 22:22:29 +00:00
christos e4a907f72e we only have it if __HAVE_SIGINFO is not defined. 2003-09-11 15:29:10 +00:00
wiz fb114e34c8 Add semicolons when enumerating variables (looks more natural);
new sentence, new line; sort SEE ALSO.
2003-09-10 14:27:22 +00:00
christos a3c9529278 Reflect reality after siginfo changes. 2003-09-10 14:13:07 +00:00
wiz dca9ccd375 Use St -isoC-9X instead of St -isoC9X, to be in sync with groff. 2003-09-08 17:54:31 +00:00
drochner bae50cfb57 correct an assertion about minimum stack size: MINSIGSTKSZ is sufficient 2003-08-11 13:25:30 +00:00
agc eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
salo 99410184e7 netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
cb 9b28f9c625 Mark __clockctl_fd close-on-exec to avoid unintentionally leaking
time setting privileges across an exec.
2003-07-16 19:42:11 +00:00
wiz 22c09256dd cpu -> CPU, from jmc@openbsd. 2003-07-14 08:58:57 +00:00
wiz 0ea2a4723e Bump date for last. 2003-07-04 12:42:05 +00:00
wiz b0e8e1d6c7 SYNOPSIS is not a good place for C comments;
also, simplify macro usage.
2003-06-27 12:04:36 +00:00
wiz 73d12a57ca Fix typo in macro. 2003-06-26 09:50:49 +00:00
christos 40e148ef6b PR/21948: Todd Vierling: Implement MAP_TRYFIXED for linux emulation. 2003-06-23 21:32:33 +00:00
wiz a484727e05 Adapt to current sys/socket.h. Noted by MAEKAWA Masahide in PR 21849. 2003-06-11 07:11:09 +00:00
kleink 9d85c4a5f8 Add ETIME, per POSIX-2001. 2003-05-27 22:37:33 +00:00
wiz 14cddbf770 Point to IPC tutorials in /usr/share/doc/psd, update names, and add authors.
Bump date.
Suggested by kleink.
2003-05-15 09:52:08 +00:00
kleink a6eebba1f8 Rather than printing the definition of struct sigaction literally,
change the description to name its members.  This has the effect
of discouraging (non-portable) structure assignments of struct
sigaction, as well as making life easier when sa_sigaction is added.
2003-05-11 19:22:18 +00:00
kleink 88841ddec8 As prompted by Thomas Klausner, add a sentence on sigset_t and sigsetops()
to the introduction.
2003-05-11 18:04:42 +00:00
lukem 4fc1a075d0 O_NOFOLLOW is another non-standard extension 2003-05-08 23:20:38 +00:00
christos 9e0fed3d86 USE ${HOST_SH} 2003-05-08 13:19:44 +00:00
wiz b12c87185e a -> an from jmc@openbsd. Add a comma while here. 2003-05-01 14:03:39 +00:00
gmcgarry c46e7f6852 Mention EINVAL. From PR#17921. 2003-05-01 08:45:20 +00:00
wiz 287057db85 Bump date for last. 2003-04-24 12:19:06 +00:00
wiz aa1781ae4b Drop trailing space. 2003-04-24 12:17:49 +00:00
christos 3630d7f233 PR/7572: John F. Woods: document EINVAL caused by bogus flags in struct
sigaction.
2003-04-20 23:20:52 +00:00
christos f09dab76ee PR/7004: Jonathan Stone: Document that sendto(2) can fail with EISCONN 2003-04-20 22:53:01 +00:00
david fbd076d8ce Grammar. 2003-04-20 17:40:45 +00:00
wiz e2b9f7144c Use .In instead of .Fd. 2003-04-16 16:09:04 +00:00
wiz 472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz 3c88fe4c61 Bump date, remove an article. 2003-04-14 08:45:51 +00:00
jdolecek e75e2e6438 seteuid() and setegid() were adopted in IEEE Std 1003.1-2001 + X/Open
portability guide issue 6, adjust headers to expose the function
prototypes with appropriate _POSIX_C_SOURCE/_XOPEN_SOURCE defines
fixes standards/21136 by MAEKAWA Masahide
2003-04-14 08:12:11 +00:00
wiz 550ed62a35 Add a comma after e.g. 2003-04-10 18:32:34 +00:00
atatat 6c903bbeb1 Document the new MAP_ALIGNED() flag/macro, be more specific about what
values for fd are acceptable when using MAP_ANON, and add a short
paragraph describing (in short) the relationship between mmap()
allocations and the break.

Addresses PR kern/7935 and PR lib/20803.
2003-04-10 18:22:47 +00:00
kleink 27d8588746 Change the strerror() string for ERANGE consistently to "Result too
large or too small" and reword its intro(2) description to reflect
the present use for non-numerical out-of-range errors; resolves
Andrew Brown's PR standards/21004, the discussion of which was
dramatically sped up by repeated whipping from Perry Metzger. :-)
2003-04-09 21:36:28 +00:00
wiz 07d13217f3 Some e.g. cleanup: replace "eg" with "e.g.,". From Igor Sobrado in PR 19692. 2003-04-07 06:56:38 +00:00
perry 73d8247707 avaliable->available (Igor Sobrado, PR misc/19810) 2003-03-31 03:05:43 +00:00
perry 59dbd74ed6 enforcable->enforceable (Igor Sobrado, PR misc/19731) 2003-03-31 03:02:59 +00:00
perry e1308f9cb1 semanics->semantics (Igor Sobrado, PR misc/19731) 2003-03-31 03:02:22 +00:00
dsl 5360d5b4c3 FIONASYNC should be FIOASYNC 2003-03-20 11:53:29 +00:00
wiz 9e95578da3 Mention namelen in DESCRIPTION. From Todd C. Miller/OpenBSD. 2003-03-18 06:44:22 +00:00
wiz 7ae24b8852 Fix capitalisation of "indicates". From Todd C. Miller/OpenBSD. 2003-03-18 06:41:19 +00:00
wiz 83de4abed2 Use "its" instead of "it's" where appropriate.
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
jhawk d935301e6f Xr vfork(2); not worth a Dd bump 2003-03-15 22:06:34 +00:00
nathanw 022a762c83 Make execve a weak syscall. 2003-03-14 22:26:13 +00:00
wiz 7958a68a71 Grammar improvements and some minor mdoc fixes. 2003-03-03 07:00:57 +00:00
jmmv d1855421e5 Add missing .Pp 2003-03-02 14:41:11 +00:00
bjh21 22ebd2b34b Add _Exit(), for C99 and POSIX-2001.
Proposed on tech-userlevel to a resounding silence in April last year.
2003-03-01 15:59:02 +00:00
tron c05c218b69 After "sys/event.h" was fixed "sys/types.h" doesn't need to be included
manually any more.
2003-02-16 09:52:40 +00:00
jdolecek af3d346a8c add POSIX sigtimedwait(), sigwaitinfo(), sigwait() - wait for queued signals
note these are for non-threaded programs only - libpthread will provide
it's own thread-aware wrapper
2003-02-15 21:11:47 +00:00
jdolecek 481fdf60df for WEAKSM list, use leading tab, rather than spaces on the continuation lines 2003-02-13 14:29:04 +00:00
perry 8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
jdolecek d644334729 update copyright dates and .Dd 2003-02-04 09:07:20 +00:00
jdolecek ebec5a4dfb Introduce EVFILT_TIMER, which allows a process to establish an
arbitrary number of timers, both oneshot and periodic.

from FreeBSD
2003-02-04 09:05:42 +00:00
jdolecek 6034a0fc70 use right function name in HISOTRY, this is not _lwp_create(2) 2003-01-31 22:06:45 +00:00
thorpej 2dcac9e4eb Make the generated .S files depend on ${.CURDIR}/sys/Makefile.inc. 2003-01-28 00:33:23 +00:00
nathanw c316063660 Move accept and connect stubs to WEAKASM so that they can be overridden. 2003-01-27 20:55:56 +00:00
kleink 35a8bdf8fa While we're here, document EPERM. 2003-01-22 15:28:37 +00:00
kleink 75adcdd6f1 Add a STANDARDS section; requested by Thomas Klausner. 2003-01-22 15:24:03 +00:00
kleink a26c2fe5e2 A function wrapper cannot be used for getcontext(), so error out
if neither weak aliases nor indirect references are available.
2003-01-21 19:15:05 +00:00
christos 111839200d Add _ksem stubs. 2003-01-20 20:09:27 +00:00
jdolecek 3d8d8663b9 g/c the NEXTRELEASE comment tag now that the next version number is decided 2003-01-19 20:12:31 +00:00
wiz 29192bf866 Fix typo. 2003-01-19 19:31:10 +00:00
wiz 65d34efcf9 Drop trailing comma in SEE ALSO. 2003-01-19 19:15:36 +00:00
wiz 0163abbccb Bx Open -> Ox. 2003-01-19 19:14:22 +00:00
thorpej 3fdac2b8c5 Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
tsarna 350f955e57 There is no adjust(), so adjust adjtime(2) to adjust for adjust really
being adjtime.
2003-01-14 21:01:03 +00:00
wiz 6d8cbf7e43 descriptor with a c. 2003-01-06 12:14:26 +00:00
wiz e3594b05a2 Drop trailing spaces; sort SEE ALSO. 2003-01-02 09:39:34 +00:00
wiz e2c6da385c Drop trailing spaces. 2003-01-02 09:38:34 +00:00
sommerfeld 2a819818a1 In EINTR description, add a crossreference to sigaction(2).
Put reference to "slow device" back in since filesystem & disk I/O, doesn't get
EINTR while pipes, sockets, ttys, etc., can.
2002-12-30 12:38:59 +00:00
grant 9fdbbfc8ba add EINTR.
From Kevin P. Neal in PR bin/19402.
2002-12-30 05:45:41 +00:00
grant 43fecd8fa4 clarify EINTR.
From Kevin P. Neal in PR misc/19603.
2002-12-30 05:42:18 +00:00
christos 9ae526c1f6 Provide O_NOFOLLOW with compatibility with the joneses. 2002-12-06 22:39:54 +00:00
wiz 0883a2f66a Drop trailing whitespace. 2002-11-13 12:16:07 +00:00
manu 3a24fac219 Explain how WIF* macros use the status value instead of the pointer to the status value as wait() does. We use the name 'status' both as the argument to wait() and WIF* macros, this is misleading. 2002-11-12 22:48:40 +00:00
kleink a9e83bfe48 Review oversight: ENOSR: resource -> resources, which is what the
standard says, and which fits the resource allocation failure better.
Also, bump the date.
2002-11-12 10:30:42 +00:00
skrll b207990164 Add the missing errno symbols that are defined in IEEE Std 1003.1-2001.
The language message files need updating.

Change reviewed and OK'd by Klaus Klein.
2002-11-12 08:20:02 +00:00
thorpej 358b1841ab Make sure there is a newline at the end of CPP input. 2002-11-11 00:54:57 +00:00
jdolecek 3d73192560 struct kevent's udata is actually intptr_t 2002-11-04 22:14:46 +00:00
jdolecek 196f994fd8 use .Nx 2.0 consistently in HISTORY section
add .\" NEXTRELEASE tag before the .Nx to make it possible to quickly
  find version references in case this would need to be changed
2002-10-23 09:44:35 +00:00
jdolecek abf732873b update HISTORY - kqueue branch was merged
bump date
2002-10-23 09:35:24 +00:00
jdolecek be222a44cd 'data' field of struct kevent is actually int64_t nowadays 2002-10-23 09:27:46 +00:00
jdolecek d5259d0266 make support for kqueue(2) and kevent(2) unconditional, the kqueue branch
was merged
2002-10-23 09:25:48 +00:00
jdolecek 4639b217b6 no more BUGS; EVFILT_{VNODE,READ} is supported also for other filesystems
than FFS
2002-10-13 07:37:39 +00:00
jdolecek f28ce54243 if WITH_KQUEUE is defined and <sys/event.h> exists in DESTDIR, compile
support for kqueue(2) and kevent(2) in

this is temporary measure to ease testing of kqueue branch; the support
  will be made unconditional once kqueue branch would be merged
2002-10-12 17:41:20 +00:00
itojun d75d1b17a8 backout previous (3rd arg type), as it does not meet with getdirentries.c.
(which standard dictates the function prototype?)
2002-10-08 05:54:05 +00:00
jdolecek 1798df2a86 COMPAT_43 getdirentries(2) actually has u_int 'nbytes' argument 2002-10-03 06:17:33 +00:00
wiz 772e37cacf argument with g, operation with e. 2002-10-02 10:42:34 +00:00
wiz 931e4cc745 corrseponding -> corresponding, filesystem -> file system. 2002-10-02 10:42:19 +00:00
wiz 038265af56 Correct various misspellings. 2002-10-02 10:36:44 +00:00
wiz 456b189823 deprecated, not depreciated. 2002-10-01 19:53:09 +00:00
wiz a0c86ddf62 New sentence, new line. 2002-10-01 19:51:26 +00:00
wiz 19c353844e Remove some \f* cruft. 2002-10-01 19:50:36 +00:00
wiz f6bcf9642e New sentence, new line. From Robert Elz. 2002-10-01 18:10:43 +00:00
wiz 3bee357a2d Expand abbreviation. 2002-10-01 17:35:41 +00:00
christos 54de5d06a7 Revise wording to say that setting the argument vector is not mandatory.
>xs@kittenz.org:
>susv3 agrees with this, since in the rationale, susv3 states the
>requirement of argc >= 1 was removed recently following iso c. it
>is now only a "should."
2002-09-26 12:08:10 +00:00
wiz 968f39c890 Drop trailing whitespace, and some mdoc fixes and improvements. 2002-09-25 00:55:16 +00:00
wiz 2781a62f10 Drop trailing space. 2002-09-25 00:08:00 +00:00
wiz 8b0828d5b2 Better mdoc. 2002-09-24 23:58:54 +00:00
jdolecek e8c4ae6edb also need <sys/uio.h> 2002-09-24 20:01:43 +00:00