Kirk McKusick
fb36a3d847
Change utimes to set the file creation time (for filesystems that
...
support creation times such as UFS2) to the value of the
modification time if the value of the modification time is older
than the current creation time. See utimes(2) for further details.
Sponsored by: DARPA & NAI Labs.
2002-07-17 02:03:19 +00:00
Giorgos Keramidas
1f2cec106f
The .Fn function.
2002-07-15 20:59:12 +00:00
Giorgos Keramidas
ab7e1a5712
The .Fn function
2002-07-15 20:50:16 +00:00
Giorgos Keramidas
68a8e8a9f3
Add a missing 'function' word.
...
Use .Vt to mark up `struct stat' when it is a variable type.
2002-07-15 20:07:09 +00:00
Giorgos Keramidas
e812f24f6d
The .Fn function
2002-07-15 19:56:24 +00:00
Giorgos Keramidas
ce9fa5fcb2
Fix whitespace in .Bd -literal display of S_IXXX constants.
...
Noticed by: jmallett
2002-07-15 08:58:16 +00:00
Maxime Henrion
193d036860
Typo fix: Setlogin() -> setlogin().
...
Submitted by: Olivier Houchard <cognet@ci0.org>
2002-07-08 20:16:15 +00:00
Mike Barcroft
f71e6a5243
Bring poll.h up to conformance with POSIX.1-2001 by adding some
...
visibility conditionals, adding the nfds_t type, and changing the
poll() prototype a little. Update the manual to match.
2002-07-08 16:37:35 +00:00
Daniel Harris
883d00eb92
s/unavilable/unavailable/
...
PR: 39446
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 1 day
2002-07-07 18:08:51 +00:00
Chris Costello
00c3b17e1e
Correct a call to fcntl(F_SETFD) to use FD_CLOEXEC' instead of 1'.
2002-07-03 08:15:55 +00:00
Chris Costello
32f9f49908
Add a SECURITY CONSIDERATIONS example: make note that access to open
...
file descriptors does not change upon dropping privilege, and include
a likely case of `setuid(non_superuser); exec(...);'.
Sponsored by: DARPA, NAI Labs
Obtained from: TrustedBSD Project
2002-07-03 08:13:25 +00:00
Mark Peek
3aaa96958d
Fix typo (SIGEV_EVENT -> SIGEV_KEVENT).
2002-07-02 21:05:08 +00:00
Chris Costello
de19436f24
Rename CAVEAT' to SECURITY CONSIDERATIONS' and move it up to
...
the correct location--this section consists solely of security
considerations information.
Sponsored by: DARPA, NAI Labs
Obtained from: TrustedBSD Project
2002-07-01 14:41:05 +00:00
Mike Barcroft
9c85a5ca25
Add mdoc bits for the new waitpid() WCONTINUED option, and
...
WIFCONTINUED macro.
2002-06-01 18:38:58 +00:00
Ruslan Ermilov
6c3079ad7f
mdoc(7) police: kill hard sentence break.
2002-05-30 12:04:36 +00:00
Ruslan Ermilov
ab955c15c1
mdoc(7) police: markup nits.
2002-05-29 15:53:01 +00:00
Ruslan Ermilov
90b0150f1d
mdoc(7) police: bump document date on behalf of previous delta.
2002-05-29 15:47:24 +00:00
Ruslan Ermilov
3d6cab6043
mdoc(7) police: sort xrefs.
2002-05-29 15:45:54 +00:00
Marcel Moolenaar
52183d0145
Add uuidgen(2) and uuidgen(1).
...
The uuidgen command, by means of the uuidgen syscall, generates one
or more Universally Unique Identifiers compatible with OSF/DCE 1.1
version 1 UUIDs.
From the Perforce logs (change 11995):
Round of cleanups:
o Give uuidgen() the correct prototype in syscalls.master
o Define struct uuid according to DCE 1.1 in sys/uuid.h
o Use struct uuid instead of uuid_t. The latter is defined
in sys/uuid.h but should not be used in kernel land.
o Add snprintf_uuid(), printf_uuid() and sbuf_printf_uuid()
to kern_uuid.c for use in the kernel (currently geom_gpt.c).
o Rename the non-standard struct uuid in kern/kern_uuid.c
to struct uuid_private and give it a slightly better definition
for better byte-order handling. See below.
o In sys/gpt.h, fix the broken uuid definitions to match the now
compliant struct uuid definition. See below.
o In usr.bin/uuidgen/uuidgen.c catch up with struct uuid change.
A note about byte-order:
The standard failed to provide a non-conflicting and
unambiguous definition for the binary representation. My initial
implementation always wrote the timestamp as a 64-bit little-endian
(2s-complement) integral. The clock sequence was always written
as a 16-bit big-endian (2s-complement) integral. After a good
nights sleep and couple of Pan Galactic Gargle Blasters (not
necessarily in that order :-) I reread the spec and came to the
conclusion that the time fields are always written in the native
by order, provided the the low, mid and hi chopping still occurs.
The spec mentions that you "might need to swap bytes if you talk
to a machine that has a different byte-order". The clock sequence
is always written in big-endian order (as is the IEEE 802 address)
because its division is resulting in bytes, making the ordering
unambiguous.
2002-05-28 06:16:08 +00:00
Dima Dorfman
dc6ca5b527
Remove extra word.
...
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-05-26 05:24:53 +00:00
Peter Pentchev
4cfccbc445
Update the EINVAL description again - it turns out that EINVAL
...
may be returned by Q_SETQUOTA as well as the originally listed
Q_GETQUOTA.
Noticed by: dd
Approved by: silence from dd
MFC after: 3 days
2002-05-17 16:39:21 +00:00
Peter Pentchev
4ceff89f44
Document Q_GETQUOTA returning EINVAL when quotas are not enabled
...
on the filesystem.
PR: doc/37839
Submitted by: "Michael R. Wayne" <wayne@staff.msen.com>
Approved by: silence on -doc
MFC after: 3 days
2002-05-14 07:27:20 +00:00
Mike Silbersack
3a0b92ec0f
Some updates to mention accept filters and how
...
listen queues work in a syncache world.
MFC after: 3 days
2002-05-08 18:19:01 +00:00
Maxime Henrion
b98b0a890e
Document the lchflags(2) syscall.
2002-05-05 23:51:32 +00:00
Ruslan Ermilov
bce4a2dde1
mdoc(7) police: polishing.
2002-04-19 11:24:02 +00:00
Maxime Henrion
76b2224aad
Connect the kenv.2 manpage to the build.
2002-04-18 16:46:23 +00:00
Maxime Henrion
ccee6a3c72
Add a manpage for the kenv(2) syscall that Chad David kindly
...
wrote for me.
Submitted by: davidc
2002-04-18 16:45:57 +00:00
Dima Dorfman
5041f86c28
Correct markup.
2002-04-14 02:29:20 +00:00
Jeroen Ruigrok van der Werven
bcbf4411d6
Use the correct macros for F_SETFD/F_GETFD instead of magic numbers.
...
Reflect that fact in the manual page.
PR: 12723
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
Approved by: bde
MFC after: 2 weeks
2002-04-13 10:16:53 +00:00
David E. O'Brien
333fc21e3c
Fix the style of the SCM ID's.
...
I believe have made all of libc .c's as consistent as possible.
2002-03-22 21:53:29 +00:00
David E. O'Brien
c05ac53b8b
Remove __P() usage.
2002-03-21 22:49:10 +00:00
Ruslan Ermilov
6dd2704c7a
mdoc(7) police: Fixed the spammage of this file with trailing whitespaces
...
in revisions 1.26-1.28. Fixed two bugs in punctuation cleanup in rev. 1.27.
Removed hard sentence break not killed by rev. 1.26.
2002-03-20 13:40:08 +00:00
Dima Dorfman
8c237a536c
Features are deprecated, not depreciated.
...
PR: 35987
Submitted by: shill@free.fr
2002-03-18 01:52:19 +00:00
Dag-Erling Smørgrav
042df45ade
Document PT_IO, and move the comment about machine-dependent requests
...
below PT_[GS]ET_{,DB,FP}REGS.
2002-03-16 03:50:32 +00:00
Dag-Erling Smørgrav
8bd8a375a4
Further cleanup (punctuation, genitive)
2002-03-16 03:26:32 +00:00
Dag-Erling Smørgrav
c2912c0369
Insert newlines between sentences and rewrap paragraphs. No changes to
...
the actual text or markup.
2002-03-16 02:54:17 +00:00
Ruslan Ermilov
d78dca323f
mdoc(7) police: hard sentence breaks, whitespace at EOL, contractions.
2002-03-15 18:04:00 +00:00
Ruslan Ermilov
ba8bcff1e8
mdoc(7) police: Fix xref to timeradd(3).
2002-03-15 17:59:46 +00:00
Ruslan Ermilov
d7396394e7
mdoc(7) police: punctuation nit.
2002-03-15 17:57:41 +00:00
Maxim Konovalov
999ad26edb
Clarify fcntl(2) and flock(2) interoperability.
...
PR: docs/23353
Reviewed by: ru, dillon
Approved by: ru
MFC after: 3 days
2002-03-14 11:02:35 +00:00
Dima Dorfman
6b663fd674
Correct a typo.
...
Submitted by: peter.kusenda@accenture.com
2002-03-09 07:05:22 +00:00
Robert Watson
147273e8ca
Improve punctuation consistency: all errors had a '.' after them
...
except ENOATTR.
2002-03-08 21:00:27 +00:00
Brian Feldman
9d9737ecb2
Add new errno ``ENOATTR''.
2002-03-07 15:13:44 +00:00
Maxim Konovalov
e98c156beb
Add GETPID to the list of operations for which semctl(2) returns the value.
...
Reviewed by: alfred, ru
Approved by: ru
MFC after: 3 days
2002-03-06 14:14:36 +00:00
Garrett Wollman
5874617263
Document that the type of st_flags is now fflags_t.
2002-02-15 22:37:15 +00:00
Dima Dorfman
c96bb7c5f2
Don't make it seem like vm.max_proc_mmap only affects MAP_FIXED.
...
PR: 34005
Submitted by: Steven Grady <grady@digitaldeck..com>,
Hiten Pandya <hitmaster2k@yahoo.com>
2002-02-10 21:07:56 +00:00
Robert Watson
c0858e0a77
Part III: Update extended attribute system call interface documentation.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-02-10 04:46:28 +00:00
David Malone
98d1592458
Change brk's prototype from char *brk(const char *) to int brk(const void *)
...
and sbrk's prototype from char *sbrk(int) to void *sbrk(intptr_t).
This makes us more consistant with NetBSD and standards which include
these functions. Bruce pointed out that ptrdiff_t would probably
have been better than intptr_t, but this doesn't match other
implimentations.
Also remove local declarations of sbrk and unnecessary casting.
PR: 32296
Tested by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 1 month
2002-01-24 12:11:31 +00:00
Ruslan Ermilov
0dc5e09ec6
Fix the description of the O_NONBLOCK flag to match reality.
...
Prodded by: Maxim Konovalov <maxim@macomnet.ru>
Obtained from: BSD/OS
2002-01-22 14:18:55 +00:00
Doug White
2b8877f486
Add xref for timeradd(3).
...
PR: 13079
2002-01-14 00:38:41 +00:00
Sheldon Hearn
7f6a22a549
Document behaviour with respect to interval timers.
...
PR: 33156
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
2002-01-09 14:44:06 +00:00
Dima Dorfman
bfe4f323ec
We are munmap(2), so there's no need to list ourselves in the SEE ALSO
...
section; instead, list our partner in crime, mmap(2).
PR: 33153
Submitted by: Faried Nawaz <fn@hungry.org>
2002-01-07 06:12:25 +00:00
Dima Dorfman
cf1b88ff74
Nuke the paragraph that says "One can obtain user connection request
...
data without confirming the connection by issuing a recvmsg(2) [...]".
There's no such code in the kernel.
PR: 26861
Submitted by: Richard A Steenbergen <ras@e-gerbil.net>,
Tom Rhodes <darklogik@pittgoth.com>
2002-01-07 06:10:37 +00:00
Yaroslav Tykhiy
f381837242
Minor grammar and punctuation fixes
...
in the SO_ACCEPTFILTER description.
2002-01-04 18:17:07 +00:00
Yaroslav Tykhiy
996d4dc275
State clearly that one should call listen(2) on a socket
...
at first and try to set an accept_filter(9) on it only after that.
Also document errno value that will be set if installing the
filter on a non-listening socket.
2002-01-04 18:12:38 +00:00
Mike Pritchard
432fda11a4
Add xref to jail(2).
...
PR: docs/33177
Submitted by: Tom Rhodes <darklogik@pittgoth.com>
2001-12-28 09:26:45 +00:00
Peter Wemm
57c3d698c2
The VM_STACK option is long dead. MAP_STACK is available everywhere.
2001-12-21 17:24:10 +00:00
John Baldwin
6507c9a129
Document that rfork() will return EINVAL if flags not listed in the
...
manpage are passed in.
2001-12-19 00:59:54 +00:00
Ruslan Ermilov
6cbb6156c3
Fix a typo.
...
Submitted by: "Alexey V. Neyman" <alex.neyman@auriga.ru>
2001-12-07 14:58:41 +00:00
Ruslan Ermilov
dd98d57b45
mdoc(7) police: markup the previous delta.
2001-12-04 16:09:27 +00:00
Brian Feldman
017e11668f
Bump p1003.1-90 to p1003.1-96.
2001-11-29 03:21:16 +00:00
Gregory Neil Shapiro
48343ec717
rename() can't guarantee "to" always exists if it didn't exist in the first
...
place -- for example, rename("existing", "newfile"); on a read-only file
system.
Reviewed by: green
MFC after: 3 days
2001-11-29 03:17:12 +00:00
John W. De Boskey
a5f75648d8
Return a more meaningful errno when the length of the interpreter
...
exceeds MAXSHELLCMDLEN to avoid secondary /bin/sh execution.
Update execve man page to reflect change.
Increase MAXSHELLCMDLEN to a slightly more meaningful value.
PR: kern/32106
Submitted by: b@etek.chalmers.se
Reviewed by: bsd
MFC after: 2 weeks
2001-11-28 03:26:58 +00:00
Ruslan Ermilov
5e9a6d9d2b
mdoc(7) police: general cleanup.
2001-11-21 15:41:49 +00:00
Ian Dowse
946708bbea
Remove a sentence from the BUGS section that claims non page-aligned
...
offsets don't work. It should really be documented that the returned
pointer can be in the middle of a fully-valid page when the offset
is not page-aligned, but I couldn't come up with suitable wording.
PR: kern/22754
2001-11-18 00:47:45 +00:00
Peter Wemm
814620e4d3
Note that the manpage is incorrect about the vector argument.
2001-11-09 01:01:50 +00:00
John Baldwin
93b2ae9fcf
- There is no such thing as a socket structure. sockets are integers.
...
I'm assuming that the comment was regarding socket address structures, so
correct the comment about pre-zero'ing socket structures to recommend
pre-zero'ing socket address structures.
- Fix some minor grammar nits.
- This isn't directly submitted by the PR below but is related to it and was
inspired by it.
PR: 31704
2001-11-05 18:05:56 +00:00
Dima Dorfman
b46884b5b9
Document ENETDOWN.
...
PR: 31436
Submitted by: Milon Papezik <milon.papezik@oskarmobil.cz>
2001-11-05 00:44:38 +00:00
Ruslan Ermilov
db8caf03e5
Remove the internal implementation details of wrapping syscalls,
...
which do not match the reality anyway.
Approved by: deischen, bde
2001-10-26 17:38:20 +00:00
Dima Dorfman
2716f76b14
Refer to chflags(2) instead of chflags(1) (since we're a section 2
...
manual page), fix capitalization, and remove chflags reference from
SEE ALSO since the only time it's referenced is with an .Xr, anyway.
Submitted by: bde
2001-10-23 00:54:58 +00:00
Ruslan Ermilov
4a70bdf9f6
mdoc(7) police: join OS version with the corresponding macro.
2001-10-19 14:44:13 +00:00
Alfred Perlstein
4e957fe63c
Fix reference to aio_read, should be aio_write
2001-10-16 00:49:19 +00:00
Dima Dorfman
c49c01757a
link(2) may fail with EPERM if name1 is immutable or append-only.
...
PR: 31025
Submitted by: Tim Singletary <tsingle@vetinsite.com>
2001-10-14 22:40:19 +00:00
Matthew Dillon
418fff7e8f
Add warning about zeroing-out the socket structure before populating it.
2001-10-13 17:20:51 +00:00
Ruslan Ermilov
506d9c18e9
- Bump document date for eaccess(2) addition.
...
- Mention ``eaccess'' in the NAME section.
- Use intro(2) terminology.
- Markup fixes.
Reviewed by: rwatson
2001-10-11 15:27:53 +00:00
Michael Reifenberger
91a701cd13
Fix SysV Semaphore Handling.
...
Updated by peter following KSE and Giant pushdown.
I've running with this patch for two week with no ill side effects.
PR: kern/12014: Fix SysV Semaphore handling
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
2001-10-11 08:15:14 +00:00
Bruce Evans
593126b9d6
Fixed misspelled arg type in synopsis.
2001-10-03 01:45:37 +00:00
Bruce Evans
8bb4f93fa7
Fixed missing include in synopsis.
2001-10-03 00:51:30 +00:00
Ruslan Ermilov
32eef9aeb1
mdoc(7) police: Use the new .In macro for #include statements.
2001-10-01 16:09:29 +00:00
Murray Stokely
2924629c0c
- Correct capitalization of a function name.
...
- Add a missing word to form a complete sentence.
PR: docs/30626
Submitted by: Dan Lukes <dan@obluda.cz>, and
swear@blarg.net (Gary W. Swearingen)
2001-09-24 02:51:43 +00:00
Robert Watson
bd10d2560f
o Modify access(2) man page to describe eaccess(2), and add a symlink
...
so man eaccess will return the access(2) man page.
Obtained from: TrustedBSD Project
2001-09-21 21:35:22 +00:00
Guido van Rooij
fea88e76d7
Typo: s/conatains/contains/
...
MFC after: 1 week
2001-09-12 17:57:31 +00:00
Yaroslav Tykhiy
b88d4f49fe
Fix all the ambiguous or erroneous statements of the brk(2)
...
manpage by taking its text from NetBSD and editing it further.
This also improves the page's mdoc(7) markup style.
Reviewed by: ru
Obtained from: NetBSD
2001-09-06 12:11:22 +00:00
Dima Dorfman
25814ea7e1
This does not describe sched_{get,set}scheduler.
...
PR: 26001
Submitted by: OHSAWA Chitoshi <ohsawa@catv1.ccn-net.ne.jp>
2001-09-03 17:55:08 +00:00
Dima Dorfman
4cecc6ffce
Don't capitalize jail(2) in the middle of a sentence.
...
PR: 25876
Submitted by: Koizumi Satoru <koizumi@cms.phys.s.u-tokyo.ac.jp>
2001-09-03 17:49:29 +00:00
Murray Stokely
033d275cb0
PT_STEP in ptrace(2) man page is described as 'addr and data fields
...
are not used'. This is incorrect, as addr must be passed (caddr_t)1
to do anything useful. The source for gdb and a short test program
will confirm that this man page was in error.
PR: docs/27758
Submitted by: Jiangyi Liu <jyliu@163.net>
2001-09-03 09:42:40 +00:00
Andrey A. Chernov
1633b4aa85
Remove MLINKS seek.2 to lseek.2, we don't have seek.2 syscall
2001-09-02 19:28:41 +00:00
Chris Costello
fd818070c8
Another punctuation fix (missing comma ending preposition).
2001-09-01 21:32:52 +00:00
Chris Costello
d997ce6456
o Mention the fact that specifying a fileid of 0 searches all loaded
...
modules.
o Properly terminate a preposition.
2001-09-01 21:31:33 +00:00
Andrey A. Chernov
aed591bb15
Describe EOVERFLOW I implement per POSIX.
...
Sort ERRORS section
2001-08-31 23:06:28 +00:00
Ruslan Ermilov
d6002fef6f
Use ``.Rv -std'' wherever possible.
...
Submitted by: yar
2001-08-31 09:57:38 +00:00
Alexander Langer
a102b12e67
Add Xref to make.conf(5).
2001-08-30 21:44:46 +00:00
Dima Dorfman
03c32490dd
There shuldn't be whitespace before a question mark.
2001-08-27 09:34:39 +00:00
Ruslan Ermilov
f0200e9cf1
mdoc(7) police: removed whitespace at EOL.
2001-08-27 08:37:35 +00:00
Ruslan Ermilov
ab1adff6a9
mdoc(7) police: markup and spelling fixes.
2001-08-27 08:26:57 +00:00
Ruslan Ermilov
0fa666e5e5
mdoc(7) police: removed whitespace at EOL, sorted SEE ALSO xrefs.
2001-08-27 08:12:37 +00:00
Maxim Sobolev
fee4285612
Remove grammatical bogon.
2001-08-27 08:00:15 +00:00
Matthew Dillon
5cb74fd363
Ok, third time is the charm. VM_INHERIT_XXX -> INHERIT_XX (use the same
...
semantics as PROT_XXX vs VM_PROT_XXX separating user-space defines from
kernel defines).
2001-08-24 19:45:59 +00:00
Matthew Dillon
5ccdd64f42
Oops, minherit() uses VM_INHERIT_XXX as the argument, not MAP_XXX. Properly
...
document minherit().
2001-08-24 19:43:45 +00:00
Matthew Dillon
dbad546ba7
Update the mmap.2 and minherit.2 manual pages. Add a short explanation and
...
referal from mmap to minherit for MAP_INHERIT. Fully document the
minherit.2 manual page (because frankly, my dear, however you think it
currently works is almost certainly wrong!). I may soon re-implement
MAP_COPY because I believe we can support it properly now, but I will have
to call it something else and that is for a later time.
2001-08-24 19:28:00 +00:00
Andrey A. Chernov
f0e093f298
Fd is macro too, so use \&Fd
2001-08-24 11:12:58 +00:00
Andrey A. Chernov
aa0b534660
Fildes -> Fd too (started from big letter)
2001-08-24 11:05:11 +00:00
Andrey A. Chernov
a5b1af6c71
Change
...
start means ...
to
.Fa l_start
means ...
2001-08-24 10:59:32 +00:00
Sheldon Hearn
56b38b7bc7
Fix up English from previous 3 revisions.
...
There is no such argument 'fildes' in the SYNOPSIS. It's called 'fd'.
2001-08-24 10:36:29 +00:00
David Greenman
dfa902ee24
Killed reference to MAP_INHERIT which is not supported in FreeBSD.
2001-08-23 22:39:52 +00:00
Andrey A. Chernov
471b172744
Now we implement l_len<0 per POSIX, describe it.
2001-08-23 19:00:34 +00:00
Andrey A. Chernov
bb0871a73f
Rephrasing prev. commit a bit.
2001-08-23 09:55:10 +00:00
Andrey A. Chernov
21c6d67fad
Describe EOVERFLOW, EOPNOTSUPP and reaction to negative l_len
2001-08-23 09:42:30 +00:00
Ruslan Ermilov
265c01df49
mdoc(7) police: Fixed broken xrefs.
2001-08-22 14:16:31 +00:00
Andrey A. Chernov
2d2857f480
Document new EINVAL, EOVERFLOW cases. Sort ERRORS
2001-08-21 21:44:48 +00:00
Dima Dorfman
06a4bf789c
Xref raise(3).
2001-08-17 21:04:42 +00:00
Ruslan Ermilov
e1aaa82284
mdoc(7) police: fixed the fatal.
2001-08-17 15:18:49 +00:00
Yaroslav Tykhiy
a2a0a4dc2a
Use the ".Rv" mdoc(7) macro where appropriate.
...
Reviewed by: ru
2001-08-14 14:20:35 +00:00
Yaroslav Tykhiy
2fa4b9b3d6
Isolate the ERRORS section from the RETURN VALUES one.
...
Reviewed by: ru
2001-08-14 14:10:01 +00:00
Ruslan Ermilov
753d686d34
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
Ruslan Ermilov
d013e3f544
mdoc(7) police: s/NetBSD/.Nx/ where appropriate.
2001-08-13 17:00:36 +00:00
Ruslan Ermilov
04da392069
mdoc(7) police: s/OpenBSD/.Ox/ where appropriate.
2001-08-13 16:43:02 +00:00
Ruslan Ermilov
c5e7e03a14
Spell "FreeBSD" with "F" and "BSD" in uppercase.
2001-08-13 16:33:00 +00:00
Ruslan Ermilov
94ba280c59
mdoc(7) police: join split punctuation to macro calls.
2001-08-10 17:35:21 +00:00
Ruslan Ermilov
57e4378bf6
mdoc(7) police: protect trailing full stops of abbreviations
...
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
Ruslan Ermilov
8e42cf1a46
mdoc(7) police: add xref to intro(2).
2001-08-10 10:11:55 +00:00
Mike Barcroft
fcd3401ece
o Remove some misleading and incomplete information about search
...
permissions.
o Add a reference to intro(2) where it is properly documented.
Reviewed by: bde
MFC after: 3 days
2001-08-09 17:29:46 +00:00
Yaroslav Tykhiy
b1250632c5
Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.
...
Reviewed by: ru
2001-08-09 13:32:13 +00:00
Ruslan Ermilov
936c7c034e
mdoc(7) police: remove whitespace at EOL.
2001-08-08 10:28:18 +00:00
Ruslan Ermilov
71b67d931a
mdoc(7) police: markup nits.
2001-08-08 08:51:03 +00:00
Peter Wemm
20f9910b18
Update ptrace(2) re: PT_READ_U and PT_WRITE_U
2001-08-08 05:28:09 +00:00
Ruslan Ermilov
c4d9468ea0
mdoc(7) police:
...
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
Ruslan Ermilov
44220250d0
mdoc(7) police: sort xrefs.
2001-08-07 12:33:11 +00:00
Dima Dorfman
d81b7e782a
mdoc(7) police: remove hard sentence breaks.
2001-08-01 16:07:50 +00:00
Sheldon Hearn
86f478757a
MFS: in HISTORY section, fix release number of first appearance
2001-08-01 12:15:21 +00:00
Mark Peek
545d32087b
Only pull in the MD files if they exist. This allows for progressive
...
implementation and compilation when bringing up a new architecture.
2001-07-31 16:34:52 +00:00
Brian Somers
74bd6d9d66
Mention the sa_handler and sa_sigaction #defines in the synopsis.
...
Mark sa_sigaction consistently.
MFC after: 1 week
2001-07-31 09:33:08 +00:00
Dima Dorfman
c569c0b5d2
Don't xref mt(1) just because it mentions ioctl.
...
Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
2001-07-29 09:17:54 +00:00
Dima Dorfman
f4c69d4b4d
Don't capitalize variable names.
2001-07-29 09:17:16 +00:00
Dima Dorfman
43b8c5db92
ioctl(2) can return EFAULT from copyin.
...
PR: 29285
Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
2001-07-29 09:16:07 +00:00
Chris Costello
3fb49e7db7
Add cross-references for the new kldsym(2) man page.
2001-07-27 03:03:36 +00:00
Chris Costello
bd2e4334e1
Add a new kldsym(2) man page.
2001-07-27 02:56:16 +00:00
Sheldon Hearn
b2b50712a6
The delta introduced in the previous revision and attributed to the
...
OpenBSD project had grammar problems and made no attempt to motivate
the practice of saving errno. Replace it with something better.
2001-07-24 11:15:13 +00:00
Sheldon Hearn
1d8ffb440b
Finish the sweep of changes that fix doubled 'the'.
2001-07-24 08:30:55 +00:00
Kris Kennaway
057136d2c5
Add a few more functions which are safe to call from signal handlers,
...
and give a bit of advice.
Obtained from: OpenBSD
MFC After: 1 week
2001-07-24 08:24:50 +00:00
Yaroslav Tykhiy
4bc14ac2f8
Unify SEE ALSO sections of the kld*.2 and mod*.2 manpages.
...
Previously, some useful xrefs were missing.
Now each of the pages refers to all remaining section 2 pages,
to the kld(4) page, and to a related utility's (section 8) page.
2001-07-24 07:59:54 +00:00
Mike Pritchard
b21b2f313e
Fix some man page xrefs.
...
PR: docs/26065
MFC after: 1 week
2001-07-22 11:51:11 +00:00
Jonathan Lemon
e725a1299a
Document EVFILT_TIMER.
...
MFC after: 1 week
2001-07-19 18:35:19 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
eb89426722
mdoc(7) police: removed punctuation after the last SEE ALSO xref.
2001-07-10 18:00:19 +00:00
Ruslan Ermilov
a307d59838
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 13:41:46 +00:00
Dima Dorfman
70d51341bf
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
Ruslan Ermilov
5521ff5a4d
mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).
2001-07-06 16:46:48 +00:00
Yaroslav Tykhiy
be5eadbc1b
Use the .Rv macro to describe the return value.
...
Suggested by: ru
MFC after: 5 days
2001-07-04 13:07:38 +00:00
Ruslan Ermilov
f1db1f07ba
mdoc(7) police: added missing newline after .Dv macro call,
...
removed hard sentence breaks.
2001-07-04 12:39:22 +00:00
Ruslan Ermilov
9d87be43f8
mdoc(7) police: use .Rv -std.
2001-07-04 12:32:43 +00:00
Dima Dorfman
368c2034f0
Describe the condition when EACCES is returned more explicitly.
...
Submitted by: bde
2001-07-04 06:29:36 +00:00
Yaroslav Tykhiy
e2a7d2044a
First, fix a leftover of the cut'n'paste from the kld* pages:
...
change the name of the page (.Nm) from "kldstat" to "modstat".
Second, don't claim that modstat(2) always returns 0. Actually,
it behaves as most syscalls do - returns 0 on success, or -1
on failure.
MFC after: 5 days
2001-07-03 14:56:08 +00:00
Dima Dorfman
9e12bdbd79
EACCES may be returned if write permission was denied as well.
...
PR: 28553
Submitted by: Ronald F. Guilmette <rfg@monkeys.com>
2001-07-02 22:53:40 +00:00
Dima Dorfman
0e35d76ec4
event.h -> sys/event.h
...
Submitted by: David Hill <david@phobia.ms>
2001-06-27 19:55:57 +00:00
Chris Costello
2f05bd957f
Remove an extra word "fo" in the sentence "there is no process whose
...
process ID equals fo pid".
PR: 28436
Submitted by: Gregory Bond <gnb@itga.com.au>
2001-06-27 04:21:28 +00:00
Dima Dorfman
53950232dd
Minor cleanup: sort includes, fix name.
2001-06-25 01:21:13 +00:00
Dima Dorfman
ce1e308f7a
Add a link to extattr.2 (from extattr_get_file.2). The other names
...
are too specific and too long, and extattr.2 makes a nice point of
reference for "extattr-related syscalls".
2001-06-24 23:58:27 +00:00
Dima Dorfman
a910f192bb
Remove duplicate words.
2001-06-24 01:34:38 +00:00
Jonathan Lemon
add0681213
Fix small bogon.
...
Submitted by: Anton Berezin <tobez@tobez.org>
2001-06-11 18:15:31 +00:00
Warner Losh
7528c356f5
I neglected to notice that the change text had already been added in a
...
different place. Back out what I added since the other text is better.
Noticed by: nectar
2001-06-05 16:43:51 +00:00
Maxim Sobolev
76c6864951
Fix cross-references:
...
ipnat.8 --> ipnat.1
environ.5 --> environ.7
isssetugid.2 --> issetugid.2
MFC after: 1 week
2001-06-05 12:23:22 +00:00
Warner Losh
485839b9ee
Document what happens when the real id is changed.
...
I may have obtained this from NetBSD, but I don't recall. I do know that
I checked FreeBSD's implementation to make sure that it matched what I wrote.
2001-06-05 04:35:42 +00:00
Ruslan Ermilov
0b381bf1fd
Remove vestiges of MFS.
2001-06-01 10:07:28 +00:00
Matthew Dillon
ac8f990bde
This patch implements O_DIRECT about 80% of the way. It takes a patchset
...
Tor created a while ago, removes the raw I/O piece (that has cache coherency
problems), and adds a buffer cache / VM freeing piece.
Essentially this patch causes O_DIRECT I/O to not be left in the cache, but
does not prevent it from going through the cache, hence the 80%. For
the last 20% we need a method by which the I/O can be issued directly to
buffer supplied by the user process and bypass the buffer cache entirely,
but still maintain cache coherency.
I also have the code working under -stable but the changes made to sys/file.h
may not be MFCable, so an MFC is not on the table yet.
Submitted by: tegge, dillon
2001-05-24 07:22:27 +00:00
Ruslan Ermilov
6ad10804f7
Rename (after a repo-copy) some mount(8) programs:
...
mount_fdesc -> mount_fdescfs
mount_null -> mount_nullfs
mount_portal -> mount_portalfs
mount_umap -> mount_umapfs
mount_union -> mount_unionfs
2001-05-23 14:58:19 +00:00
Archie Cobbs
88c1867f5c
Document ECONNREFUSED.
...
Submitted by: Richard Hodges <rh@matriplex.com>
2001-05-20 00:12:06 +00:00
Ruslan Ermilov
eb0838029f
mdoc(7) police: normalize .Nd.
2001-04-18 15:54:10 +00:00
Ruslan Ermilov
50597ec66b
mdoc(7) police: add missing .El call.
2001-04-16 15:06:57 +00:00
Dima Dorfman
5e75e35cca
Grammar police: "its", not "it's", is the possessive form of "it".
2001-04-15 19:53:47 +00:00
Dima Dorfman
143b77576c
Make links from setresuid.2 to getresgid.2 and getresuid.2.
2001-04-15 19:41:44 +00:00
Dima Dorfman
8a13bcbece
Document getresgid and getresuid calls.
...
Reviewed by: ru
2001-04-15 19:40:22 +00:00
Dima Dorfman
161897cfcb
Add `RETURN VALUES'' and `ERRORS'' sections since getpgid(2) can
...
fail. Also fix a minor grammar nit (it's -> its).
PR: 26520
2001-04-14 02:34:59 +00:00
Daniel Eischen
54fd7f685f
To be consistent, use the __weak_reference macro from <sys/cdefs.h>
...
instead of #pragma weak to create weak definitions. This macro is
improperly named, though, since a weak definition is not the same
thing as a weak reference.
Suggested by: bde
2001-04-10 04:11:50 +00:00
Dima Dorfman
92020f7a8c
Mention that locks are inherited across an exec.
...
PR: 24802
Submitted by: Kenneth Ingham <ingham@i-pi.com>
2001-04-08 19:11:25 +00:00
Dima Dorfman
779b2ff010
Install links to extattr_(get|set|delete)_fd.2 (from extattr_get_file.2).
2001-04-08 06:58:48 +00:00
Dima Dorfman
e078cd7418
Document the extattr_(get|set|delete)_fd calls, and add a note warning
...
people that these calls are likely to change in the future.
Reviewed by: rwatson
2001-04-05 01:24:05 +00:00
Dima Dorfman
4811703143
Hook the extattr_get_file.2 manual page into the build. Add MLINKS
...
for extattr_set_file.2 and extattr_delete_file.2.
2001-04-01 23:46:56 +00:00
Dima Dorfman
7a6b7e421d
A manual page for the extattr_get_file, extattr_set_file, and
...
extattr_delete_file system calls.
Reviewed by: rwatson, ru
Approved by: nik
2001-04-01 23:45:11 +00:00
Ben Smithurst
fa6b8c1f53
Catch up with a comment that changed in rev1.73 of mount.h
...
PR: 25836
Submitted by: Tony Finch <dot@dotat.at>
2001-03-29 00:29:00 +00:00
Poul-Henning Kamp
392550af02
The f_syncreads and f_asyncreads entries are missing from the man page.
...
This also tidies up the formatting a bit and omits all the padding
entries.
PR: 25834
Submitted by: Tony Finch <dot@dotat.at>
2001-03-28 18:21:54 +00:00
Ruslan Ermilov
4a558355e5
MAN[1-9] -> MAN.
2001-03-27 17:27:19 +00:00
Dima Dorfman
895e96279a
Make it clear who can and can't set the UF_NODUMP, UF_OPAQUE, and
...
SF_ARCHIVED file flags.
PR: 25227
Approved by: nik
2001-03-19 23:51:09 +00:00
Matthew Dillon
66e845d8dc
Fix type-o
...
Submitted by: okazaki
2001-03-16 22:18:26 +00:00
Dima Dorfman
69451beb84
Correct descriptions of SOCK_RDM and SOCK_SEQPACKET.
...
PR: 25797
Submitted by: Yuko Sasaki <yuko@veltec.co.jp>
Approved by: nik
2001-03-16 01:18:03 +00:00
David Malone
9b860e1c34
Correct spelling of MNT_ASYNC.
...
PR: 25835
Submitted by: Tony Finch <dot@dotat.at>
2001-03-15 19:52:04 +00:00
Ruslan Ermilov
95b2071c56
.St -p1003.1g -> .St -p1003.1g-2000.
2001-03-12 17:28:01 +00:00
Ruslan Ermilov
7f3a1ed2a7
This is the getsid() we are talking about, not setsid().
...
PR: docs/25626
Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
2001-03-09 11:16:09 +00:00
Ruslan Ermilov
8ac6dca795
In soshutdown(), use SHUT_{RD,WR,RDWR} instead of FREAD and FWRITE.
...
Also, return EINVAL if `how' is invalid, as required by POSIX spec.
2001-02-27 13:48:07 +00:00
Ruslan Ermilov
589a5e341f
/^\.St/ s/-iso9945-1/-p1003.1-96/
2001-02-26 14:48:38 +00:00
Ruslan Ermilov
3d751065b0
`.St -p1003.1b'' -> `.St -p1003.1b-93''.
2001-02-26 14:33:54 +00:00
Jason Evans
789d148cca
Document the EINTR error.
2001-02-26 09:38:01 +00:00
Jonathan Lemon
5d1c9c5606
Document various changes to kq:
...
- new EV_SET macro,
- NOTE_LOWAT option for low water marks on read/write filters,
- NOTE_REVOKE for filesystem unmounting (and revoke() calls)
- improved API for EVFILT_AIO
2001-02-26 04:16:19 +00:00
Jimmy Olgeni
a68886ad51
Fix my ambiguous message about ECONNABORTED.
...
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
2001-02-25 23:56:41 +00:00
Jimmy Olgeni
ff08a1b858
Add ECONNABORTED to the ERRORS section.
2001-02-25 22:12:40 +00:00
Peter Wemm
813ff33601
List the SA_RESTART flag rather than burying it in another paragraph.
2001-02-14 21:46:07 +00:00
Guido van Rooij
34bdee5b4b
Add include <sys/time.h> because kevent uses struct timespec
2001-02-14 08:48:35 +00:00
Ruslan Ermilov
6bf131c665
Sort PROT_* and MAP_* lists, logically and alphabetically respectively.
...
Suggested by: bde
General mdoc(7) cleanup.
2001-02-12 10:14:15 +00:00
Nik Clayton
6bd7c68cf0
Mention PROT_NONE in the list of possible protections.
...
Pointed out by: kris
2001-02-11 19:30:41 +00:00
Nik Clayton
3db072ec5e
Note that mmap(2) can allocate memory, as well as mapping existing files,
...
in the .Nd.
Reviewed by: hackers
2001-02-11 18:51:17 +00:00
Ruslan Ermilov
78b7a6c149
mdoc(7) police: prevent generation of the extra
...
whitespace after ``i.e.'', use .Rv, update .Dd.
2001-02-09 12:47:23 +00:00
Jacques Vidrine
5e0c0a9246
Document the cases in which setreuid changes the saved-user-ID.
2001-02-08 12:43:33 +00:00
Ruslan Ermilov
46eea498da
mdoc(7) police: Change -filled displays (which just happen
...
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00
Stephen McKay
48492d6b26
Spelling.
2001-02-04 02:05:16 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Daniel Eischen
c37592a194
Clean up syscall generation in libc by removing HIDDEN_SYSCALLS
...
and treating (almost) all system calls the same way:
__sys_foo - actual syscall
foo, _foo - weak definitions to __sys_foo
Change PSEUDO syscalls (currently only _exit and _getlogin) to
be __sys_foo (T) and _foo (W).
Add $FreeBSD$ to a few files to satisfy commitprep.
Suggested by: bde
2001-01-29 03:23:46 +00:00
Daniel Eischen
d201fe46e3
Remove _THREAD_SAFE and make libc thread-safe by default by
...
adding (weak definitions to) stubs for some of the pthread
functions. If the threads library is linked in, the real
pthread functions will pulled in.
Use the following convention for system calls wrapped by the
threads library:
__sys_foo - actual system call
_foo - weak definition to __sys_foo
foo - weak definition to __sys_foo
Change all libc uses of system calls wrapped by the threads
library from foo to _foo. In order to define the prototypes
for _foo(), we introduce namespace.h and un-namespace.h
(suggested by bde). All files that need to reference these
system calls, should include namespace.h before any standard
includes, then include un-namespace.h after the standard
includes and before any local includes. <db.h> is an exception
and shouldn't be included in between namespace.h and
un-namespace.h namespace.h will define foo to _foo, and
un-namespace.h will undefine foo.
Try to eliminate some of the recursive calls to MT-safe
functions in libc/stdio in preparation for adding a mutex
to FILE. We have recursive mutexes, but would like to avoid
using them if possible.
Remove uneeded includes of <errno.h> from a few files.
Add $FreeBSD$ to a few files in order to pass commitprep.
Approved by: -arch
2001-01-24 13:01:12 +00:00
Ben Smithurst
b83c969d48
Document EHOSTDOWN error.
...
PR: 24410
Submitted by: Martin Horcicka <horcicka@vol.cz>
2001-01-17 21:02:50 +00:00
Ben Smithurst
13d94cf612
The bit about sigpending not detecting any errors is a lie, it can return
...
EFAULT.
PR: 24360
Submitted by: Kenneth Ingham <ingham@i-pi.com>
2001-01-16 21:57:42 +00:00
Ruslan Ermilov
32f6256a49
Prepare for mdoc(7)NG.
2001-01-16 09:08:22 +00:00
Ruslan Ermilov
691eb641af
mdoc(7) police: fixed (minor) mdoc bugs introduced in previous revision.
2001-01-10 11:32:04 +00:00
Daniel Eischen
fc1d3c6dfb
Change the interface of getlogin_r to return an int. The former
...
interface was based on a draft version of POSIX whereas the final
(1996) version of POSIX specified that the error is returned.
While I'm here, fix getlogin_r so that it works for more than just
the first time it's called.
Reviewed by: wes, wollman (man page)
2001-01-01 13:29:19 +00:00
Ruslan Ermilov
4263595653
Prepare for mdoc(7)NG.
2000-12-29 14:08:20 +00:00
Ruslan Ermilov
88544700ca
mdoc(7) police: added missing .Os call.
2000-12-14 13:58:15 +00:00
Ruslan Ermilov
ed40311694
mdoc(7) police: removed history info from the .Os FreeBSD call.
2000-12-14 11:52:05 +00:00
Ruslan Ermilov
a2fd3702a3
mdoc(7) police: use canonical form of .Dd macro.
2000-12-11 15:15:20 +00:00
Ruslan Ermilov
687a7e07cf
mdoc(7) police: fix formatting errors in rev 1.27.
2000-12-04 08:11:50 +00:00
Matthew Dillon
fbf8638995
Add warning on file-fragmentation issues related to MAP_NOSYNC
2000-12-03 20:17:36 +00:00
Alfred Perlstein
070f57f520
document O_NOFOLLOW and O_FSYNC flags to open
2000-11-29 04:08:49 +00:00
Maxim Sobolev
1447779521
Add reference to elf(5) in addition to already mentioned a.out(5) and add both
...
elf(5) and a.out(5) into `SEE ALSO' section.
2000-11-27 15:18:25 +00:00
Sheldon Hearn
b97552bf54
Remove the only hard sentence break in the file.
2000-11-24 10:48:02 +00:00
Ruslan Ermilov
c23155a43a
mdoc(7) police: Er macro usage cleanup.
2000-11-22 16:02:00 +00:00
Ruslan Ermilov
725ab6287f
log
2000-11-22 09:23:54 +00:00
Jonathan Lemon
ee85cf8bb2
Fix a logic reversal: the RFFDG flag must be unset in order to share
...
a file descriptor table. (Thanks to Alan Cox)
Clarify the fact that the changelist and eventlist can be shared.
2000-11-21 22:40:59 +00:00
Jeroen Ruigrok van der Werven
02e1f97870
Clarify the time parameter of the kevent() system call.
...
Inspired by PR: 21708
Submitted by: Ronald F. Guilmette <rfg@monkeys.com>
Reviewed by: jlemon
2000-11-21 15:22:36 +00:00
Ruslan Ermilov
a304568fd9
mdoc(7) police: fixed warnings.
2000-11-20 14:22:41 +00:00
Ruslan Ermilov
563f6bde6e
mdoc(7) police: Nm -> Fn where appropriate.
2000-11-20 14:11:46 +00:00
Kris Kennaway
7853d5d839
Don't suggest people use getpid() to construct temporary filenames;
...
point them to mkstemp() instead.
Obtained from: OpenBSD (based on)
2000-11-19 10:30:42 +00:00
Ruslan Ermilov
251c176f41
mdoc(7) police: use certified section headers wherever possible.
2000-11-17 11:44:16 +00:00
Ben Smithurst
cb17760de7
Remove fullstops from the end of .Xr lines in SEE ALSO section.
2000-11-15 14:40:14 +00:00
Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
Alfred Perlstein
589d1374d4
remove outdated bugs, we actually do have aio_cancel support
...
as well as support for the field aio_offset in the aiocb structure.
2000-11-10 20:57:05 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Sheldon Hearn
22c8b05f4e
Fix nits introduced in rev 1.9:
...
Remove single-space hard sentence break.
Mark errno up as a Variable (Va).
2000-10-30 19:43:30 +00:00
Jeroen Ruigrok van der Werven
f99e2564c2
Replace old sigaction struct declaration with the new one as present
...
in <sys/signal.h>.
This might be a shortterm fix until the manpage is updated towards
POSIX terminology. And maybe not...
PR: 21542
Submitted by: Ronald F. Guilmette <rfg@monkeys.com>
2000-10-30 14:27:18 +00:00
Jeroen Ruigrok van der Werven
5714e85318
Whitespace only change: trim trailing whitespace.
2000-10-30 13:23:19 +00:00
Nick Hibma
40a7a362c7
Correct the text on RETURN VALUES.
2000-10-20 00:27:56 +00:00
John W. De Boskey
6bf02e51da
Document the ptrace() PT_STEP request.
...
Add references to the newly added hardware debug register
support functions i386_clr_watch(3) and i386_set_watch(3).
Reviewed by: Sean Eric Fagan <sef@kithrup.com>
and no other response to the review request.
2000-10-14 04:01:39 +00:00
Peter Wemm
5edc357219
Add man pages for mod*(2). Shamelessly cut/pasted from the kld*(2) man
...
pages by Chris Costello.
2000-09-28 22:39:59 +00:00
Ralf S. Engelschall
a98588331c
Resurrect documentation of chflags(2)'s SF_ARCHIVED.
...
PR: 21428
Reviewed by: ben
2000-09-22 06:58:22 +00:00
Warner Losh
f741619cb2
Use .St -susv2 rather than "The Single UNIX Specification".
...
Submitted by: sheldonh
2000-09-04 15:38:58 +00:00
Warner Losh
71300cb5db
Soften the statement about select's timeout argument. This part of
...
the system likely won't change in the future, but the warning is a
good idea.
2000-09-04 03:32:30 +00:00
Jonathan Lemon
b275c430a5
Document return value of ENOENT for nonexistent/invalid filter entries.
2000-08-07 16:47:35 +00:00
Ben Smithurst
d9b1c37c3b
Fix description of argv[0] passed to interpreted scripts; it's the name of
...
the interpreter, _not_ the argv[0] passed in the original exec() call.
2000-08-05 16:38:24 +00:00
Peter Wemm
41cbed694a
Revert the temporary hack in rev 1.79.
2000-08-01 18:50:29 +00:00
Peter Wemm
5cb2354662
Add pointers to rfork_thread(3)
2000-07-31 05:43:43 +00:00
Peter Wemm
00bc791d86
Deal with the exit entry in MIASM changing to sys_exit.
...
This Is A Hack(TM).
2000-07-29 00:28:44 +00:00
Matthew Dillon
01ba8e704f
MFC 1.11.2.3 from -stable to -current
2000-07-25 18:50:22 +00:00
Sheldon Hearn
3c63f48c66
Clean up some nits, with the permission of the author:
...
* Grammar fixes.
* Mark up rfork and vnode as cross-references.
* Clarify the use of the RFFDG flag to rfork(2).
2000-07-24 18:03:53 +00:00
Alfred Perlstein
372e9eb0af
use .Pp instead of faking it with an extra newline
...
Pointed out by: sheldonh
2000-07-20 11:05:52 +00:00
Alfred Perlstein
f47d88b0b7
document get/set sockopt usage with accept_filter(9)
2000-07-20 10:33:08 +00:00
Sheldon Hearn
a6b651021d
Update stale references to update(4) with references to the new
...
syncer(4) manual page.
2000-07-19 07:39:08 +00:00
Jonathan Lemon
a8e65b915e
Simplify kqueue API slightly.
...
Discussed on: -arch
2000-07-18 19:31:52 +00:00
Jason Evans
8e234adf86
Change my email address in the copyright notices for the sake of consistency
...
(jasone@canonware.com --> jasone@freebsd.org ).
2000-07-18 01:38:19 +00:00
Ben Smithurst
f21ff38bf4
Make the NAME section a bit less confusing.
...
PR: 19262
Submitted by: NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>
Reviewed by: sheldonh
2000-07-15 13:04:33 +00:00
Ben Smithurst
744cb90e1f
Fix typo; sa_siginfo -> sa_sigaction
...
PR: 19602
Submitted by: Tony Finch <dot@dotat.at>
2000-07-11 11:39:57 +00:00
Daniel Harris
9559d2b084
First appeared in 2.9BSD, not 3.0.
...
PR: 19263
Submitted by: NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>
Obtained from: Open|NetBSD
2000-07-08 18:17:12 +00:00
John-Mark Gurney
20ff215b1d
remove sys/time.h by instruction from bde.
2000-07-06 22:18:44 +00:00
John-Mark Gurney
55b8fbfb5b
change first release date to 4.1-R as 5.0-R won't be out for at least a
...
year (from jkh)..
Caught by: Fx macro warning on 3.4-R
2000-06-26 21:23:57 +00:00
Alexander Langer
271c4bdbce
The argument is not mcontext_t but ucontext_t.
...
PR: 17836
Submitted by: Tim Moore <moore@bricoworks.com>
2000-06-26 15:00:25 +00:00
Chris Costello
4b4289e4d0
Repair a cross-reference to sync(1) that should refer to sync(8).
2000-06-23 20:47:50 +00:00
Chris Costello
1c67d6c539
Properly separate paragraphs by using `.Pp' instead of a blank line.
2000-06-23 20:35:45 +00:00
Chris Costello
4f18b87801
Remove blank lines.
2000-06-23 20:34:31 +00:00
Sheldon Hearn
8a4272bf51
Mark up errno as a variable (Va), not as a defined value (Dv).
...
Do not terminate the cross-reference list in the SEE ALSO section with
a period.
2000-06-23 15:02:29 +00:00
Sheldon Hearn
a6a2ba1c18
Apply the accepted line breaking rules.
2000-06-23 15:01:18 +00:00
Chris Costello
bb33e42207
Replace .Va, .Ar and .Nm with .Fa or .Va where necessary, examples:
...
``.Ar errno'' -> ``.Va errno''
``.Nm ops'' -> ``.Fa ops''
``.Va fd'' -> ``.Fa fd''
2000-06-23 05:05:44 +00:00
Chris Costello
a907d4fd1f
Replace an erroneous .Va error' with .Va errno'.
2000-06-23 04:25:10 +00:00
Chris Costello
48b5eb7c85
Replace `FreeBSD 4.0'' with `.Fx 4.0'' and remove a useless empty line
...
at the end of the file.
2000-06-23 03:50:32 +00:00
Chris Costello
dca3f6825f
Replace .Va references to function arguments to .Fa references.
2000-06-23 03:43:34 +00:00
Josef Karthauser
0a266c86a2
Make a note of fflagstostr and strtofflags in the 'see also' section.
2000-06-17 14:03:34 +00:00
Alexander Langer
cb477b672b
Fix typo: turn of -> turn off.
...
PR: 18805
Submitted by: Yoshihiro Ota <ota@mail.drexel.edu>
Kind of Reviewed by: asmodai ("sure")
2000-06-13 12:50:47 +00:00
John-Mark Gurney
e585cdf0ce
add a BUGS section on how we can only watch VNODE's on a UFS file system
...
right now...
I talked w/ phk last night and "fixing" this in a generic way is going
to require a lot of complex thought on stacking let alone the NFS problems..
add missing sys/time.h for struct timespec def...
2000-06-07 22:09:16 +00:00
Chris Costello
f9a2346166
Replace a `manual(section)' reference with a proper .Xr statement.
2000-05-31 21:12:08 +00:00
John-Mark Gurney
af7b56f450
fix up the kqueue documentation... comment some things that were left
...
out that really needed to be here...
Reviewed-by: jlemon
2000-05-24 04:29:57 +00:00
Brian Feldman
a274d19ba2
Back out NOTE_EXIT status reporting pending discussion.
2000-05-21 16:27:41 +00:00
Chris Costello
12b03e57e5
Remove a superfluous `.Pp' occuring directly after
...
`.Sh IMPLEMENTATION NOTES'.
2000-05-19 02:55:43 +00:00
Chris Costello
ef626a01c1
Add a note under IMPLEMENTATION NOTES about the behavior of sendfile()
...
in the threaded library.
2000-05-19 02:53:55 +00:00
Peter Wemm
76e61b9c71
List ECONNRESET as a return value. EINVAL was not documented either.
2000-05-19 01:00:57 +00:00
Brian Feldman
a24b514d72
Put the wait(2) exit status in "data" for NOTE_EXIT kevents.
2000-05-17 01:16:11 +00:00
Bruce Evans
200f7053ee
Fixed missing include in synopsis.
...
Use a long line instead splitting a line with backslash-newline in synopsis.
My synopsis checker doesn't understand backslash-newline.
2000-05-11 16:01:17 +00:00
Tim Vanderhoek
49ca482a68
When "any" acts as a subject, the verb must agree with whatever any is of.
2000-05-11 05:29:10 +00:00
Tim Vanderhoek
d4b81c98d8
Content-free commit: only remove trailing whitespace
2000-05-11 05:06:00 +00:00
Tim Vanderhoek
18bd6f9514
The accept() function is a call, not an argument. Also, add: serial
...
comma, missing-hyphen, and a word-erase character.
2000-05-11 05:04:30 +00:00
Jonathan Lemon
4451bb5da5
Some mdoc cleanups for the manual page.
...
Submitted by: phantom
2000-05-06 13:06:03 +00:00
Jonathan Lemon
ad35a4c94a
Add a kqueue(2) manual page.
2000-05-04 20:11:38 +00:00
Alexey Zelkin
4f79a4117a
Use `Er' variable to define first column width in ERRORS section. It was
...
initially suggested by mdoc(7) style, but was broken over the years
2000-05-04 13:09:25 +00:00
Alexey Zelkin
2a53c5ec96
mdoc(7) cleanup:
...
. use real function names as `.Nm' macro argument in NAME section. It allows
them to appear in apropos(1) or whatis(1) output.
. replace empty lines with `.Pp' macro.
. replace hardcoded standard names with their `.St' macro equivalents.
. sort cross references in SEE ALSO section
2000-05-04 08:05:45 +00:00
Jason Evans
4c089f4dff
Add missing man pages. Fix various compliance bugs, mostly having to do with
...
error return values. Implement pthread_mutexattr_gettype().
PR: docs/16537, docs/17538
2000-05-02 06:51:40 +00:00
Joseph Koshy
0588fce1ba
Fix typo. Use `.Fa' to denote a function argument.
...
PR: docs/18214
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
2000-04-26 05:09:22 +00:00
Garrett Wollman
d166947eda
Spell MAP_NOSYNC correctly.
...
Submitted by: allenc@verinet.com
2000-04-23 15:15:15 +00:00
Garrett Wollman
c1c8bf8375
.Lb-ify
2000-04-23 02:02:33 +00:00
Garrett Wollman
5c317306cb
Add shm_open(3) and shm_unlink(3). The documentation could use a good
...
bit of work (and is stylistically probably the worst manual page
I've ever written).
2000-04-22 15:24:29 +00:00
Alexey Zelkin
25bb73e063
Introduce ".Lb" macro to libc manpages.
...
More libraries manpages updates following.
2000-04-21 09:42:15 +00:00
Archie Cobbs
2d6fdfda46
Document EWOULDBLOCK as a possible errno return value.
2000-04-09 19:10:57 +00:00
Bruce Evans
e92393ba2b
Fixed wrong arg type in synopsis.
2000-03-23 15:28:30 +00:00
Jason Evans
070dac0827
Add a man page for aio_waitcomplete(). Update the aio_cancel() man page to
...
reflect the fact that aio_cancel() works now.
Submitted by: Christopher Sedore <cmsedore@maxwell.syr.edu>
2000-03-21 10:25:22 +00:00
Sheldon Hearn
4e86fcacf6
Remove more single-space hard sentence breaks.
2000-03-02 14:54:02 +00:00
Sheldon Hearn
c6ff3a1bf7
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-02 09:14:21 +00:00
Paul Saab
9730a5daab
Add MAP_NOCORE to mmap(2), and MADV_NOCORE and MADV_CORE to madvise(2).
...
This
This feature allows you to specify if mmap'd data is included in
an application's corefile.
Change the type of eflags in struct vm_map_entry from u_char to
vm_eflags_t (an unsigned int).
Reviewed by: dillon,jdp,alfred
Approved by: jkh
2000-02-28 04:10:35 +00:00
Matthew Dillon
1f6889a1eb
Fix null-pointer dereference crash when the system is intentionally
...
run out of KVM through a mmap()/fork() bomb that allocates hundreds
of thousands of vm_map_entry structures.
Add panic to make null-pointer dereference crash a little more verbose.
Add a new sysctl, vm.max_proc_mmap, which specifies the maximum number
of mmap()'d spaces (discrete vm_map_entry's in the process). The value
defaults to around 9000 for a 128MB machine. The test is scaled for the
number of processes sharing a vmspace (aka linux threads). Setting
the value to 0 disables the feature.
PR: kern/16573
Approved by: jkh
2000-02-16 21:11:33 +00:00
Chris Costello
efeff014b4
Replace .Os BSD' which caused a troff error with .Bx' which also
...
happens to be the correct macro to use in this situation.
2000-02-14 01:34:15 +00:00
David E. O'Brien
ed0010ed09
Document the support in the kernel for hardware debug registers on the
...
ix86 platform which allows for hardware watchpoints, etc...
Submitted by: Brian Dean <brdean@unx.sas.com>
2000-02-12 18:33:54 +00:00
Guido van Rooij
68d1433483
We _do_ support MS_ASYNC
...
Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
2000-01-24 18:35:16 +00:00
Alfred Perlstein
621d130fd8
Clarify that we don't offer hard realtime.
...
Split timeval options into 3 paragraphs, it's easier on my eyes.
2000-01-24 02:13:21 +00:00
Sheldon Hearn
58d6ca9155
Add HISTORY.
...
Submitted by: obrien
2000-01-18 12:50:13 +00:00
Bruce Evans
ee17748d12
Fixed missing backslash in previous commit. Adding setresuid.2 has taken
...
4 commits and 2 world breakages so far.
2000-01-18 05:38:05 +00:00
Sheldon Hearn
6af37844c7
Fix line too long style bug in the previous commit (which, by the
...
way, unbroke world).
2000-01-18 05:15:26 +00:00
Andrey A. Chernov
2b85852d78
add setresuid.2
2000-01-18 04:37:21 +00:00
Sheldon Hearn
b905f5bd46
Add manual pages for the newly added setres[ug]id system calls.
2000-01-17 15:01:42 +00:00
Kris Kennaway
bd2d54f0cb
Sync contents of struct nfsd_svrargs
2000-01-09 01:54:35 +00:00
Bruce Evans
2f64ff4437
Fixed wrong #include in synopsis.
1999-12-23 16:48:57 +00:00
Bruce Evans
7452ae6ecc
Fixed missing `const' in synopsis.
1999-12-23 16:46:34 +00:00
Bruce Evans
3050159ad5
Fixed missing installation of a link to getlogin_r.3. This is the first
...
example of section 2 and section 3 interfaces sharing a man page. It's
probably a bad example.
1999-12-23 16:12:24 +00:00
Jeroen Ruigrok van der Werven
7bf92e055d
Fix a typo which I cannot believe I missed after rereading this text
...
about 6-7 times prior to commit.
Reported by: sheldonh
1999-12-21 11:55:44 +00:00
Jeroen Ruigrok van der Werven
7ec9b49533
Properly manify this manpage.
...
Fix some spelling mistakes and typo's inspired by Nicholas' initial
PR submission.
PR: docs/15597
Submitted by: Nicholas Esborn <nick@flatlan.net>
1999-12-21 11:19:32 +00:00
Martin Cracauer
48e364bf96
Document SA_SIGINFO
...
Reviewed by: Sheldon Hearn <sheldonh@uunet.co.za>
1999-12-15 16:51:35 +00:00
Matthew Dillon
4f79d873c1
Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to
...
madvise().
This feature prevents the update daemon from gratuitously flushing
dirty pages associated with a mapped file-backed region of memory. The
system pager will still page the memory as necessary and the VM system
will still be fully coherent with the filesystem. Modifications made
by other means to the same area of memory, for example by write(), are
unaffected. The feature works on a page-granularity basis.
MAP_NOSYNC allows one to use mmap() to share memory between processes
without incuring any significant filesystem overhead, putting it in
the same performance category as SysV Shared memory and anonymous memory.
Reviewed by: julian, alc, dg
1999-12-12 03:19:33 +00:00
Archie Cobbs
93521056fa
Add reference to netgraph(4) in the 'see also' section.
1999-12-06 23:35:40 +00:00
Brian Feldman
1c982a6d2f
Add RLIMIT_SBSIZE here, too.
1999-12-03 23:25:14 +00:00
Wes Peters
4d3be89f2a
Document the getlogin_r function.
1999-11-28 22:41:50 +00:00
Poul-Henning Kamp
9b962c56a4
General clean-up of socket.h and associated sources to synchronise up
...
with NetBSD and the Single Unix Specification v2.
This updates some structures with other, almost equivalent types and
effort is under way to get the whole more consistent.
Also removes a double definition of INET6 and some other clean-ups.
Reviewed by: green, bde, phk
Some part obtained from: NetBSD, SUSv2 specification
1999-11-24 20:49:04 +00:00
Chris Costello
328984c261
Properly document what ENOENT really means for kldfind(2).
1999-11-14 18:15:33 +00:00
Nik Clayton
de1efdfc1a
Document that bind(2) can fail with EAGAIN.
...
PR: docs/14173 docs/14181
Submitted by: Charles Randall <crandall@matchlogic.com>
Submitted by: Kelly Yancey <kbyanc@posi.net>
1999-11-01 19:43:07 +00:00
Wes Peters
9466cad206
Correct the description of the timeout argument. I've examined
...
the code, which seems to implement the POSIX requirements, and
have described the behavior here. Basically, it behaves the same
as select(2).
Noticed by: John Polstra
1999-10-09 01:35:58 +00:00
Wes Peters
58ae401b79
Fixed a typo (well, format-o) in yesterday's edits.
...
Spotted by: John Polstra <jdp@polstra.com> (again)
1999-09-21 17:30:43 +00:00
Wes Peters
236cb8163d
Fixed the description of when and why aio_suspend returns.
...
Also spelled out the return values and conditions a little
better.
Noticed by: John Polstra <jdp@polstra.com>
1999-09-20 18:30:55 +00:00
Poul-Henning Kamp
978f8d9300
Add a version number field to the jail(2) argument so that future changes
...
can be handled intelligently.
1999-09-19 08:36:03 +00:00
Alfred Perlstein
07181581f9
Add FreeBSD history in 'HISTORY'
...
Pointed out by: obrien
1999-09-11 21:07:14 +00:00
Bruce Evans
665e2b8d01
Fixed disordering in previous commit.
1999-09-11 14:20:18 +00:00
Alfred Perlstein
6e5eff6270
Document fhopen, fhstat, and fhstatfs syscalls.
...
Obtained from: NetBSD
1999-09-11 00:49:10 +00:00
Alfred Perlstein
6430719389
sync with src/sys/sys/mount.h
1999-09-10 09:12:24 +00:00
Bill Fumerola
3113e9d141
Add aio_{cancel,error,return,suspend,write} into the mix.
...
Submitted by: Dan Nelson <dnelson@emsphone.com>
Forgotten by: mpp
1999-09-09 19:06:57 +00:00
Alexey Zelkin
0ae8283b3d
Some style and "look" fixes
...
Reviewed by: mpp
1999-09-05 07:02:22 +00:00
Alexey Zelkin
b288071d9d
Name Description (.Nd macro) added.
...
Style and punctuation errors fixes.
ERRORS section included to RETURN VALUES because it's
describing return values instead of errors and their handling.
Reviewed by: mpp
1999-09-05 06:59:34 +00:00
Alexey Zelkin
1fcbf95515
mdoc(7) style fix.
...
Correct RB_* values list bounds.
Reviewed by: mpp
1999-09-05 06:50:49 +00:00
Alexey Zelkin
b6c461d787
mdoc(7) style fix: FreeBSD -> .Fx
...
Reviewed by: mpp
1999-09-05 06:47:01 +00:00
Alexey Zelkin
417f221ddc
Remove useless .Fn macro suffix
...
Reviewed by: mpp
1999-09-05 06:41:49 +00:00
Alexey Zelkin
c60ceb83c2
mdoc style fix.
...
Reviewed by: mpp
1999-09-05 06:39:22 +00:00
Alexey Zelkin
3cd9a8622a
mdoc(7) style fixes
...
Reviewed by: mpp
1999-09-05 06:37:01 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Mike Pritchard
8a951d305e
Remove some 4.3BSDish anacronisims that stated that it was an
...
error for a pathname to contain a character with the high-order
bit set.
Inspired by: joerg's previous commit
1999-08-27 20:21:18 +00:00
Joerg Wunsch
b6e3808f9b
Remove a 4.3BSDish anachronism that claimed EPERM for an attempt to
...
mknod() a pathname containg a ``character with the high-order bit
set''.
1999-08-27 14:25:00 +00:00
Chris Costello
1d71a557cc
Document ENOSYS error.
...
PR: docs/13290
1999-08-23 11:07:29 +00:00
Mike Pritchard
74804d58a0
Various man page cleanup:
...
- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlines in mdoc(7)
- Other misc mdoc cleanup.
PR: doc/13144
Submitted by: Alexy M. Zelkin <phantom@cris.net>
1999-08-15 09:51:25 +00:00
Chris Costello
e5721f2fd3
Change reference to mount(1) to mount(8)
1999-08-14 06:17:24 +00:00
Chris Costello
2d3a25e901
Change reference from kldload(3) to kldload(2)
1999-08-13 21:02:39 +00:00
Bruce Evans
176ef327fa
Fixed $Id$.
...
Removed POSIX.1/NetBSD markup (braces) for NAME_MAX, etc. We don't
define this. Most FreeBSD man pages hard-code the limits; in fact,
utimes.2 recently became the only file in libc/sys/*.2 that mentions
NAME_MAX. There probably should be mandoc macros for this.
1999-07-31 22:29:17 +00:00
Bruce Evans
fbcc97c9d2
Removed a duplicate reference to System V.4.
1999-07-31 22:14:46 +00:00
Bruce Evans
1c8deedd38
Fixed syntax error in previous commit.
1999-07-31 22:10:17 +00:00
Bruce Evans
d3ac30dd5e
FIxed disordering in previous commit. Fixed some old disorder.
1999-07-31 22:00:09 +00:00
Nik Clayton
83f7951bfc
Document that writev(2) can fail with ENOBUFS.
...
Text is a compromise based on messages from Wes Peters, Ville-Pertti
Keinonen, and Matt Dillon.
PR: docs/10512
Submitted by: Howard Goldstein <hgoldst@mpcs.com>
1999-07-30 21:20:09 +00:00
Mike Pritchard
6a8edfca23
Use the .At macro when referencing versions of AT&T UNIX.
...
Note: you need to install the current groff tmac macros for these
man pages to format correctly. Specifically, rev 1.21 of
contrib_groff/tmac/doc-syms in -current, or rev 1.17.24 for 3.2-stable
1999-07-30 12:45:20 +00:00
Mike Pritchard
afb7dc43a9
Document the getdents(2) system call. The documentation was
...
added to the getdirentries(2) man page because 95%+ of that
man page comprised the text of the getdents(2) man page
I obtained from NetBSD.
1999-07-30 11:32:08 +00:00
Mike Pritchard
07677e5025
Document the lchmod(2) system call.
...
Pointed-out-by: bde
1999-07-30 10:08:21 +00:00
Mike Pritchard
38cf40702d
Add a manual page for getdents(2). This was taken from NetBSD, but
...
still needs some cleanup which is why it hasn't been added to the
Makefile yet.
Obtained from: NetBSD
Pointed-out-by: bde
1999-07-30 09:26:50 +00:00
Mike Pritchard
db58ff7d87
Document the lutimes() and futimes() system calls.
...
PR: kern/11213
Obtained from: NetBSD w/some minor changes by me
1999-07-30 09:01:45 +00:00
Mike Pritchard
4f8d723376
Mdoc cleanup.
1999-07-30 07:45:40 +00:00
Sheldon Hearn
4a9e5bd0db
Correct HISTORY section, according to CVS logs.
...
PR: 12810
Submitted by: Alex Perel <veers@disturbed.net>
1999-07-26 09:37:47 +00:00
Nick Hibma
ebec760f9a
Update the manpage for the number of symlinks in ELOOP
...
PR: 12634 (partial)
Submitted by: Julian H. Stacey jhs@FreeBSD.ORG
1999-07-24 16:45:57 +00:00
Hidetoshi Shimokawa
f2fd63aff2
Make profil() 64bit-safe for alpha.
...
uintfptr_t may be better for offset, but we must wait until
the definition of uintfptr_t moves from machine/profile.h.
Reviewed by: bde
1999-07-16 06:28:55 +00:00
Jonathan Lemon
9a670a9a6c
Reference correct sysctl: kern.maxsockbuf --> kern.ipc.maxsockbuf
1999-07-15 17:15:24 +00:00
Nik Clayton
fbc400a67a
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:50:10 +00:00
Poul-Henning Kamp
38edd9beb9
Clarify an explanation a little bit.
1999-07-09 21:35:37 +00:00
Mike Pritchard
4343edfe20
Nuke the BUGS sections of these man pages because they are not appropriate.
1999-07-01 21:13:06 +00:00
Mike Pritchard
ec8dae7070
Fix typos/spelling errors.
1999-07-01 21:09:57 +00:00
Wes Peters
96f31ff872
Add mising aio_* man pages. Fixed a minor typo in aio_read.2,
...
and "corrected" statement of Posix conformance.
1999-07-01 19:58:12 +00:00
Kris Kennaway
c47148499f
Spelll 'asynchronous' coriectly
1999-07-01 13:31:30 +00:00
Sheldon Hearn
940b9c82a0
Fix the NAME section of the kldload.2 manpage, which made reference to
...
kldunload. Add proper cross-references to the whole family.
PR: 12472
Submitted by: Chris Costello <chris@calldei.com>
1999-07-01 12:16:06 +00:00
Bill Fumerola
71ed709ce2
Clarify what happens if fd is set to -1
...
Submitted by: Alfred Perlstein <bright@rush.net>
1999-06-29 16:32:22 +00:00
Mike Pritchard
f858a016d8
Document that mlock() and munlock() can return EPERM if the
...
caller is not the super-user. Also document that we do not
currently support the per-process RLIMIT_MEMLOCK limit.
PR: doc/11607
1999-06-27 00:28:55 +00:00
Ruslan Ermilov
ac88d62d8f
Typo in previous commit.
1999-06-18 10:41:13 +00:00
Ruslan Ermilov
ca9807fc17
Mention that pid 1 is not affected by kill(-1, SIGXXX) too.
1999-06-18 10:24:12 +00:00
Brian Feldman
bdf43556fe
Minor English corrections were made; SEE ALSO was also fixed (no commas).
1999-06-17 23:43:35 +00:00
Mark Murray
1bcd27ee72
Improvement in the description of what this does.
...
Prompted by (and thanks to): W Richard Stevens
1999-06-10 22:48:27 +00:00
Justin M. Seger
20e36bb38b
Update of intro(2)/errno(2) in the ongoing effort of the Programmer's
...
Documentation Project <http://home.wxs.nl/~asmodai/pdp.html >
Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
PR: docs/12030
1999-06-06 14:15:14 +00:00
Pierre Beyssac
8f823235a9
Typo.
...
PR: docs/11832
Submitted by: Ralf S. Engelschall <rse@engelschall.com>
1999-05-25 11:52:30 +00:00
Poul-Henning Kamp
d8bd3ac418
$ brucify -deblunder
1999-05-16 10:51:52 +00:00
Guy Helmer
a2b79fbea1
writev(2) can return EDESTADDRREQ when attempting to write to a
...
UNIX domain socket on which connect(2) had been used to set a destination
address and the destination goes away.
PR: docs/10451
1999-05-04 20:07:44 +00:00
Guy Helmer
badc7a22e9
Show "#include <machine/param.h>" in SYNOPSIS to get declaration of
...
PAGE_SIZE for sys/shm.h.
PR: docs/8464
1999-05-04 17:59:29 +00:00
Guy Helmer
ce423e99c5
Note the effect of close(2) on fcntl(2) record locks.
...
PR: docs/3522
1999-05-04 17:45:12 +00:00
Guy Helmer
275d1ee30b
The accept(2) call can fail with EINTR (at least in the threaded context).
...
PR: docs/8858
1999-04-29 20:32:54 +00:00
Poul-Henning Kamp
75c1354190
This Implements the mumbled about "Jail" feature.
...
This is a seriously beefed up chroot kind of thing. The process
is jailed along the same lines as a chroot does it, but with
additional tough restrictions imposed on what the superuser can do.
For all I know, it is safe to hand over the root bit inside a
prison to the customer living in that prison, this is what
it was developed for in fact: "real virtual servers".
Each prison has an ip number associated with it, which all IP
communications will be coerced to use and each prison has its own
hostname.
Needless to say, you need more RAM this way, but the advantage is
that each customer can run their own particular version of apache
and not stomp on the toes of their neighbors.
It generally does what one would expect, but setting up a jail
still takes a little knowledge.
A few notes:
I have no scripts for setting up a jail, don't ask me for them.
The IP number should be an alias on one of the interfaces.
mount a /proc in each jail, it will make ps more useable.
/proc/<pid>/status tells the hostname of the prison for
jailed processes.
Quotas are only sensible if you have a mountpoint per prison.
There are no privisions for stopping resource-hogging.
Some "#ifdef INET" and similar may be missing (send patches!)
If somebody wants to take it from here and develop it into
more of a "virtual machine" they should be most welcome!
Tools, comments, patches & documentation most welcome.
Have fun...
Sponsored by: http://www.rndassociates.com/
Run for almost a year by: http://www.servetheweb.com/
1999-04-28 11:38:52 +00:00
Joerg Wunsch
a44388523d
Mention that you can only create a block or char special file using
...
mknod(2).
1999-04-28 10:04:48 +00:00
Tim Vanderhoek
e21de373a2
Mention that set-id bits are not honoured for shell scripts and
...
filesystems with the "nosuid" option. Mention that syscall tracing
is disabled sometimes.
PR: misc/11328
1999-04-27 03:56:10 +00:00
Dmitrij Tejblum
88874fcfe6
Document pread() and pwrite().
...
Obtained from: NetBSD (mostly)
1999-04-11 21:14:40 +00:00
Nik Clayton
3ef0a1c27c
Contains the para
...
Unlike other filesystem objects, symbolic links do not have an owner,
group, access mode, times, etc. Instead, these attributes are taken from
the directory that contains the link. The only attributes returned from
an lstat() that refer to the symbolic link itself are the file type
(S_IFLNK), size, blocks, and link count (always 1).
This is bogus, and disagrees with the implementation and symlink(7).
Removed it.
PR: docs/10269
Submitted by: Tolik <tolik@sibptus.tomsk.ru>
1999-04-10 20:49:27 +00:00
Bruce Evans
1dc547e7a9
Fixed missing include in synopsis.
...
Fixed some mdoc usage errors.
1999-04-09 14:31:59 +00:00
Bruce Evans
940b0c98ca
Fixed disordering in previous 2 commits. Fixed an English error.
1999-04-05 07:38:07 +00:00
Dmitrij Tejblum
1b30ac5124
Add wrappers for pread and pwrite syscalls.
1999-04-04 21:46:24 +00:00
Doug Rabson
67022433f8
Manpages for the KLD system calls.
...
PR: docs/10412
Submitted by: Chris Costello <chris@calldei.com>
1999-04-04 12:29:31 +00:00
Poul-Henning Kamp
cc7532aaf0
Add a sysctl variable which can help stop chroot(2) escapes.
...
kern.chroot_allow_open_directories = 0
chroot(2) fails if there are open directories.
kern.chroot_allow_open_directories = 1 (default)
chroot(2) fails if there are open directories and the process
is subject of a previous chroot(2).
kern.chroot_allow_open_directories = anything else
filedescriptors are not checked. (old behaviour).
I'm very interested in reports about software which breaks when
running with the default setting.
1999-03-23 14:26:40 +00:00
Alexander Langer
ee28fadec0
EACESS -> EACCES
1999-03-15 00:14:57 +00:00
Ollivier Robert
1e06f30845
PID_MAX is now 99999.
...
PR: docs/10530
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
1999-03-10 20:55:23 +00:00
Guy Helmer
6e6019dc13
Explain ENXIO error status with respect to fifos.
...
PR: docs/8559
1999-03-07 18:45:35 +00:00
Alexander Langer
1f34b7f3f8
Fixed references to unmount(2) specified as umount.
...
Submitted by: Markus Friedl <markus.friedl@informatik.uni-erlangen.de>
via OpenBSD
1999-03-05 15:16:31 +00:00
Bruce Evans
12d9948ac8
Don't use undocumented markup "{}". Use 32767 instead of LINK_MAX to
...
give bug for bug compatibility with intro.2.
1999-03-05 10:39:50 +00:00
Bruce Evans
07799a2af1
Backed out most of rev.1.4. I didn't submit it; I only submitted a
...
request for it something like it. It was poorly worded and too
far from both POSIX wording and normal (mal)practice by referring to
sysconf(_SC_NGROUPS_MAX) instead of {NGROUPS_MAX} or NGROUPS. POSIX.1
uses curly braces to mark up "symbolic constants or limits [that may
be] defined in certain headers". Since we don't document this markup,
don't use it. Just use NGROUPS_MAX.
1999-03-05 10:29:34 +00:00
Bruce Evans
5d57729b8a
Forgot to add $Id$ and change date in previous commit.
1999-03-05 09:44:59 +00:00
Bruce Evans
abd022381d
Changed the type of quotactl()'s 4th arg from char *' to void *'
...
so that non-sloppy applications can call it without using disgusting
casts to avoid warnings. The 4th arg is sort of varargs -- it must
sometimes represent a filename, sometimes a struct pointer, and is
sometimes unused. The arg type is still caddr_t in the kernel.
Obtained from: mostly from NetBSD
1999-03-05 09:28:33 +00:00
Bruce Evans
2c404454ac
EOPNOTSUPP also applies to fchflags().
1999-02-15 13:16:02 +00:00
Dag-Erling Smørgrav
9429c06824
Mention that chflags can fail with EOPNOTSUPP.
1999-02-14 13:58:18 +00:00
Alexander Langer
43d1df332e
Removed occurrences of consecutive repeated words (such as "the the").
1999-02-12 02:12:08 +00:00
Joseph Koshy
8ad8dc79db
Typo: kern.somaxconn' -> kern.ipc.somaxconn'
...
PR: docs/9717
Submitted by: Nathan Dorfman <nathan@rtfm.net>
1999-01-27 05:13:17 +00:00
Julian Elischer
2907af2a96
Mostly remove the VM_STACK OPTION.
...
This changes the definitions of a few items so that structures are the
same whether or not the option itself is enabled. This allows
people to enable and disable the option without recompilng the world.
As the author says:
|I ran into a problem pulling out the VM_STACK option. I was aware of this
|when I first did the work, but then forgot about it. The VM_STACK stuff
|has some code changes in the i386 branch. There need to be corresponding
|changes in the alpha branch before it can come out completely.
what is done:
|
|1) Pull the VM_STACK option out of the header files it appears in. This
|really shouldn't affect anything that executes with or without the rest
|of the VM_STACK patches. The vm_map_entry will then always have one
|extra element (avail_ssize). It just won't be used if the VM_STACK
|option is not turned on.
|
|I've also pulled the option out of vm_map.c. This shouldn't harm anything,
|since the routines that are enabled as a result are not called unless
|the VM_STACK option is enabled elsewhere.
|
|2) Add what appears to be appropriate code the the alpha branch, still
|protected behind the VM_STACK switch. I don't have an alpha machine,
|so we would need to get some testers with alpha machines to try it out.
|
|Once there is some testing, we can consider making the change permanent
|for both i386 and alpha.
|
[..]
|
|Once the alpha code is adequately tested, we can pull VM_STACK out
|everywhere.
|
Submitted by: "Richard Seaman, Jr." <dick@tar.com>
1999-01-26 02:49:52 +00:00
Julian Elischer
88c5ea4574
Enable Linux threads support by default.
...
This takes the conditionals out of the code that has been tested by
various people for a while.
ps and friends (libkvm) will need a recompile as some proc structure
changes are made.
Submitted by: "Richard Seaman, Jr." <dick@tar.com>
1999-01-26 02:38:12 +00:00
Bruce Evans
57687b2e1f
Backed out most of previous commit to go with backing out support for
...
revoke() on non-device files.
1999-01-24 06:43:30 +00:00
Don Lewis
3146a70d74
Document the errno return if the restrictions on the fcntl(F_SETOWN, ...)
...
argument implemented by the security patch in PR kern/7899 are violated.
PR: kern/7899
1999-01-19 09:33:14 +00:00
Joseph Koshy
8425e985b7
revoke(2) is supported on regular files under current. Change wording
...
in manual page that indicated otherwise.
PR: docs/9517
Submitted by: David Malone <dwmalone@maths.tcd.ie>
1999-01-18 02:37:03 +00:00
Bruce Evans
d82478ba84
Updated type of ss_size in struct sigaltstack.
...
Removed bogus prerequisite <sys/types.h>.
1999-01-01 12:22:11 +00:00
Steve Price
4c1a815f94
Commit out caveat about hardlinks to directories since they are
...
no longer possible.
PR: 8337
1998-12-13 23:35:01 +00:00
Joseph Koshy
2d08e623c1
Enable aio_read(2).
1998-11-24 08:15:08 +00:00
Joseph Koshy
5f67a9c8a1
Don't mention exit(3) in explanation; _exit(2) is a better choice.
1998-11-23 03:23:14 +00:00
Joseph Koshy
cbffe59841
Man page for aio_read(2).
...
Submitted by: Terry Lambert <terry@whistle.com> on the -doc lists.
1998-11-19 04:07:55 +00:00
Jacques Vidrine
90d1ac3b67
Update to reflect reality.
...
PR: kern/8629
1998-11-16 03:49:39 +00:00
David Greenman
adcac26551
Added info about non-blocking support.
1998-11-06 19:35:58 +00:00
David Greenman
eff8678df3
Added a manual page for sendfile(2).
1998-11-05 14:43:29 +00:00
Jean-Marc Zucconi
65f14a74bd
Typo.
1998-10-30 23:50:48 +00:00
Dima Ruban
964b832929
Fix types.
1998-10-21 09:48:35 +00:00
Garrett Wollman
48f4157055
Document the fact that shutdown(2) is expected to comply with Posix.1g,
...
when it happens.
1998-09-12 21:38:30 +00:00
Joseph Koshy
05e13b1b5d
Use ellipsis in synopsis.
...
Requested by: bde
1998-09-12 01:27:34 +00:00
Brian Somers
8456d89b54
Mention which system interface functions are signal-safe.
...
Suggested on -current by: Terry Lambert <tlambert@primenet.com>
1998-09-09 20:44:51 +00:00
Joseph Koshy
3d2b8efaa1
Add $Id$, remove quoting for `...'.
...
Requested by: bde
1998-09-09 01:30:25 +00:00
Joseph Koshy
434f577807
Use ellipsis in the synopsis, and an appropriate explanation in
...
the text of the manual page.
Suggested by: bde
1998-09-08 02:02:50 +00:00
Joseph Koshy
fe6894b6dc
Use a varargs style prototype in the manual page, with accompanying
...
explanation in the text.
1998-09-06 08:50:49 +00:00
Wolfram Schneider
acd8019083
Sort cross references.
1998-08-31 16:41:09 +00:00
Joseph Koshy
1380f780e0
Typo fix.
1998-08-28 04:36:21 +00:00
Steve Price
93bb6f1172
Describe what constitues an exceptional condition.
...
PR: 7666
Submitted by: Archie Cobbs <archie@whistle.com>
1998-08-24 01:09:34 +00:00
John Birrell
b4869285da
Remove support for NetBSD syscalls.
1998-08-17 03:46:10 +00:00
Jonathan Lemon
8d0517cffd
oops, forgot to do ``cvs add'' first.
1998-07-28 03:39:04 +00:00
Jonathan Lemon
f88a03565a
Add wrappers for i386_*_ioperm, i386_vm86 so userland code does
...
not have to call sysarch() directly.
Added man pages for above, as well as sysarch()
1998-07-28 03:33:27 +00:00
Joseph Koshy
2177df3cd2
Correct wording on range of addresses examined by `msync(2)'.
...
PR: 7180
1998-07-09 06:16:22 +00:00
Bruce Evans
ef2e5f62e3
Document EINVAL return value.
1998-06-14 08:22:05 +00:00
John Birrell
6fe173c87b
Implement compile time thread lock debug.
1998-06-09 08:37:35 +00:00
John Birrell
bc99dd746b
Rename fstat as _thread_sys_fstat if being built into libc_r.
1998-06-09 08:35:42 +00:00
John Birrell
3b6533a024
Implement thread support for libc_r. Make the lseek syscall directly
...
to avoid recursive locking.
1998-06-09 08:34:35 +00:00
Joseph Koshy
aae2142e5f
Spelling nits.
...
Pointed out by: Sue Blake <sue@welearn.com.au>
1998-06-06 04:56:13 +00:00
Steve Price
32c2131395
Fix a bunch of spelling errors.
...
PR: 6856
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-04 21:06:07 +00:00
Joseph Koshy
c38eceafa4
kill.1: Remove reference to obsolete sigvec(2) man page. Removed
...
self reference in sigaction(2) man page.
Submitted by: Josh Gilliam <josh@quick.net>
PR: 6617
1998-05-18 03:33:11 +00:00
Andrey A. Chernov
01929df9e0
Remove reference to signanosleep
1998-05-14 14:39:58 +00:00
Peter Wemm
f202e67dfe
Nuke signanosleep()
1998-05-14 11:36:16 +00:00
Brian Somers
ec791cadb1
Add a BUGS section and describe a problem I've been having for
...
a few weeks now.
1998-05-09 14:45:06 +00:00
James Raynard
b92f77cae9
Typo fix.
1998-05-03 22:50:14 +00:00
Bruce Evans
daf5eba573
Fixed disordering and other style bugs in rev.1.50.
1998-05-01 15:46:06 +00:00
John Birrell
26dac90648
Change the description of errno to match the thread-aware implementation
...
from 3.0 on. With 3.0 being a major release, now is a good time to do
this.
1998-04-30 09:49:59 +00:00
John Birrell
cf6229a854
Build __error.c into libc, but not libc_r. The weak symbol in the
...
file works with libpthread, but when built into libc_r which has a non-weak
symbol of the same name, the linker behaves unpredicatably and sometimes
links the wrong symbol. The linker behaviour is a byproduct of what
the program calls from object to object so it is like winning a lottery
if the program actually works. The odds are quite good - 95:1, I think.
We need a sure thing, though, so weak symbols can't be used instead
of renaming things.
1998-04-30 09:13:48 +00:00
Poul-Henning Kamp
b37727fff9
sigprocmask()' man page references sigmask()' in synopsis.
...
Note odd `sigmask()' line in synopsis. `sigsetops(3)' is better suited
for `sigprocmask' and is already referenced from the manual page.
(`sigmask()' is useful for the older (& deprecated) `sigsetmask()' API).
PR: 6395
Reviewed by: phk
Submitted by: Joseph Koshy <koshy@india.hp.com>
1998-04-26 06:19:24 +00:00
Dag-Erling Smørgrav
59bad7c53b
Backed out lseek changes.
1998-04-19 22:20:32 +00:00
Dag-Erling Smørgrav
9db4b478d6
Return EINVAL and do not changefile pointer if resulting offset is negative.
...
PR: kern/6184
1998-04-18 19:24:22 +00:00
Peter Dufault
8a6472b723
Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and
...
_KPOSIX_PRIORITY_SCHEDULING options to work. Changes:
Change all "posix4" to "p1003_1b". Misnamed files are left
as "posix4" until I'm told if I can simply delete them and add
new ones;
Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux;
Add man pages for _POSIX_PRIORITY_SCHEDULING system calls;
Add options to LINT;
Minor fixes to P1003_1B code during testing.
1998-03-28 11:51:01 +00:00
John Birrell
20219d9a7b
For 1.3, NetBSD replaced the swapon() syscall with swapctl() and moved
...
the only call to compat_12 which isn't there by default. Provide
a wrapper.
1998-03-23 21:04:06 +00:00
John Birrell
a145fea480
For 1.3, NetBSD walloped the msync syscall and replaced it with
...
__msync13. The old one got moved to compat_12. Wrap __msync13 up
to look like FreeBSD's msync and be careful to respect the fact that
MS_SYNC is 0x0000 on FreeBSD, but 0x0004 on NetBSD.
1998-03-23 06:58:06 +00:00
Philippe Charnier
a5941fc2aa
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq
1998-03-19 07:34:22 +00:00
Eivind Eklund
38b22f2b1f
<sys/errno.h> -> <errno.h>
1998-03-16 18:00:18 +00:00
John Birrell
45dd718425
Add #include <unistd.h> to get the prototype for __syscall().
...
Cast to long before casting to a void ptr to shut up gcc.
1998-03-09 07:27:58 +00:00
John Birrell
abd529ceba
Yikes, this is the worst of the lot. Bruce suggested doing this (!).
...
Include the architecture specific sys makefile like previously, but
what this contains differs. It defines MDASM which list architecture
specific asm code that *replaces* syscalls of the same name defined
in MIASM (which gets defined by the syscall.mk or netbsd_syscall.mk
dependent of NETBSD_SYSCALLS being defined). If a syscall has a
C source implementation or something funny done to it, or just doesn't
need default asm source generated for it, then it is listed in NOASM.
syscall.mk is generated by makesyscalls.sh with other syscall files.
netbsd_syscall.mk is a hand-generated equivalent. So if a new syscall
is added and no other makefiles are edited, it will automatically have
the default asm source generated for it (whether you want it or not).
Anything listed in MDASM gets added to SRCS and gets built. For
each syscall name in MIASM, if it doesn't exist in MDASM or NOASM,
it gets added to the ASM or ASMR lists to have code generated for it.
If the syscall name was listed in HIDDEN_SYSCALLS (intended for use
by libc_r, not libc which has it defined, but empty), then the name
is added to the ASMR list and gets renamed before being built;
otherwise it is added to the ASM list and gets built with the same
name.
I wonder if this is too complicated. But it works on both i386 and alpha.
1998-03-09 07:22:12 +00:00
John Birrell
8258119519
Function to return a pointer to the non-threaded errno. This is declared
...
with a weak symbol so that it won't be linked when linking against
libc_r or libpthread.
1998-03-09 07:09:55 +00:00
John Birrell
e2e5d981b7
Compatibility functions for use when __NETBSD_SYSCALLS is defined.
1998-03-09 07:07:21 +00:00
Bruce Evans
3ee49aeb72
Don't add OBJS to CLEANFILES. bsd.obj.mk does it. Some objects were
...
duplicated.
1998-02-25 01:20:27 +00:00
Jordan K. Hubbard
934fb1c520
correct a typo I just noticed.
1998-02-17 19:41:53 +00:00
Jonathan Lemon
4f36d4ac99
Document the fpgetprec/fpsetprec functions in their man page.
...
Add cross-references to the elusive fpsetmask() function to various other
man pages.
Reviewed by: bde
1998-02-04 22:30:20 +00:00
Warner Losh
52dbfb5c0f
Kill lfs files that were causing make world to fail.
1998-01-31 05:53:57 +00:00
Alexander Langer
2768e0c4b5
Added cross references to mincore(2) and minherit(2).
...
Obtained from: OpenBSD
1998-01-20 03:59:07 +00:00
Alexander Langer
891d6e5881
Added #include <sys/types.h> to synopsis.
...
Obtained from: OpenBSD
1998-01-20 03:52:49 +00:00
Bruce Evans
c8b6b31f15
Fixed missing #include in synopsis.
1998-01-16 13:41:28 +00:00
Bruce Evans
a182428346
Fixed wrong prototype for clock_getres().
1998-01-16 13:39:49 +00:00
Alexander Langer
cbc3778c2f
Typo fix.
...
Added EOPNOTSUPP and EMLINK to errors section.
Added symlink(2) xref.
Obtained from: OpenBSD
1998-01-15 04:31:28 +00:00
Alexander Langer
4d1b2e67ae
Consistently reference init as .Xr init 8.
...
Obtained from: OpenBSD
1998-01-13 05:09:16 +00:00
Alexander Langer
26db1da8a9
Dump the constant NGROUPS in favor of the POSIX way:
...
sysconf(_SC_NGROUPS_MAX).
Submitted by: bde
1998-01-13 01:30:17 +00:00
Alexander Langer
e4a6f1ad1f
Use .Fn for sysconf(_SC_CLOCK_TCK) reference.
...
Added $Id$.
1998-01-13 01:21:19 +00:00
Alexander Langer
73a8c56ec1
Formatting fix & improved comment for struct timeval.
...
Obtained from: OpenBSD
1998-01-11 22:28:56 +00:00
Alexander Langer
d4b1275d66
Fixed brk(2) xref.
...
Obtained from: OpenBSD
1998-01-11 22:22:50 +00:00
Alexander Langer
21bcb535ea
Added sys/types.h to synopsis as per POSIX.
...
Obtained from: OpenBSD
1998-01-11 22:16:11 +00:00
Alexander Langer
7ea0dca625
Replace sys/param.h with sys/types.h as per POSIX.
...
Document the special case of gidsetlen == 0.
Partially obtained from: OpenBSD
1998-01-11 22:01:20 +00:00
Alexander Langer
6eba99b0db
Document that arg max is controllable via sysctl.
1998-01-11 21:43:38 +00:00
Alexander Langer
92d7687ee6
Formatting fix.
...
Obtained from: OpenBSD
1998-01-11 17:49:51 +00:00
Alexander Langer
fa70846939
Added EMFILE and ENFILE to errors section.
...
Obtained from: OpenBSD
1998-01-11 17:07:20 +00:00
Alexander Langer
5e8b84b628
.Xr sigvec --> sigaction
...
Obtained from: OpenBSD
1998-01-11 16:56:01 +00:00
Alexander Langer
a5c3b32774
Add <sys/types.h> to synopsis.
...
Correct a grammatical error.
Add cross-reference to setrlimit(2).
Obtained from: OpenBSD
1998-01-11 16:51:49 +00:00
Alexander Langer
e69bcfc3bc
Expanded cross references.
1998-01-02 19:22:52 +00:00
Alexander Langer
7167d5b04c
Convert caddr_t --> void * for sys/mman.h functions.
...
mlock, mmap, mprotect, msync, munlock, and munmap are defined by
POSIX as taking void *. The const modifier has been added to
mlock, munlock, and mprotect as the standard dictates.
minherit comes from OpenBSD and has been updated to conform with
their recent change to void *.
madvise and mincore are not defined by POSIX, but their arguments
have been modified to be consistent with the POSIX-defined functions.
mincore takes a const pointer, but madvise does not due to the
MADV_FREE case.
Discussed with: bde
1997-12-31 01:22:01 +00:00
Alexander Langer
1948b335ba
Fixed formatting of the MADV_FREE flag description.
...
Pointed out by: bde
1997-12-30 05:17:33 +00:00
Alexander Langer
22d0a78532
Typo fix.
1997-12-30 04:05:47 +00:00
Alexander Langer
fd630dd1cc
Document MS_SYNC.
1997-12-30 03:26:15 +00:00
Tim Vanderhoek
02e6c12b3c
fork() checks RLIMIT_NPROC, not RLIMIT_NOFILE.
...
pr: docs/5260
submitted-by: Niall Smart [3]njs3@doc.ic.ac.uk
1997-12-26 16:11:49 +00:00
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
Bruce Evans
d154848cd1
Fixed return type of __syscall() in synopsis.
...
Don't quote "..." in synopsis. Quoting here is unnecessary and unusual.
1997-04-11 18:54:05 +00:00
Bruce Evans
1fd2a774d4
Fixed missing const(s) or #include(s) in synopsis.
1997-04-11 18:47:10 +00:00
Bruce Evans
99566cdcca
Fixed synopsis (the #include was bogus and the return type for brk() was
...
wrong).
1997-04-11 18:39:44 +00:00
Peter Wemm
3b6bf52958
Missing newline caused too much text to be fed to the macro.
...
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3228
1997-04-08 10:45:10 +00:00
Peter Wemm
165dc08286
setsid is declared in <unistd.h>, which is self sufficient (doesn't need
...
prior <sys/types.h>)
Fixes PR#3229, from Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1997-04-08 10:43:47 +00:00
Peter Wemm
8959b2546d
Update to include details about the changes to setuid/setgid.
1997-04-02 17:24:16 +00:00
John Polstra
6f78fb0cc1
Correct the most glaring errors. I have a feeling there are some
...
left.
1997-04-02 01:42:07 +00:00
Andrey A. Chernov
72daaae383
Link chown with lchown
1997-04-01 23:07:55 +00:00
Andrey A. Chernov
f7000016df
Add issetugid.2 to MAN2 list
1997-04-01 22:57:56 +00:00
Mike Pritchard
02dd678d7e
Xref the new issetugid(2) man page where appropriate.
...
Also add additional set*id(2) xrefs where appropriate.
1997-04-01 18:58:38 +00:00
Mike Pritchard
625fe116e7
Don't xref setregid(2) twice - one of them should be setreuid(2).
1997-04-01 18:50:56 +00:00
Mike Pritchard
51aa564f75
Fix one very minor mdoc problem. Gentle enough, Peter? :-)
1997-04-01 18:45:57 +00:00
Mike Pritchard
13bf59efdc
Fix a minor grammar problem.
1997-04-01 18:06:33 +00:00
Peter Wemm
0e1cf9a328
General cleanup and update to specify exactly how our implementation
...
passes on the status across fork/exec.
The previous version had some typos, referred to itself as link(2) in
one place :-), and didn't really match openbsd's implementation either.
Now that I've mentioned typos, hopefully our Typo Police and Xref Police
will be gentle with me. :-)
1997-03-31 16:36:14 +00:00
Peter Wemm
8996ff49a1
Steal issetugid man page from OpenBSD. Needs work..
...
Obtained from: OpenBSD
1997-03-31 15:59:14 +00:00
Peter Wemm
374506988c
Add libc hook for issetugid()
1997-03-31 15:43:22 +00:00