jb
9dec415fef
Add the full module path name to the kld_file_stat structure
...
for kldstat(2).
This allows libdtrace to determine the exact file from which
a kernel module was loaded without having to guess.
The kldstat(2) API is versioned with the size of the
kld_file_stat structure, so this change creates version 2.
Add the pathname to the verbose output of kldstat(8) too.
MFC: 3 days
2007-10-22 04:12:57 +00:00
obrien
4f7380b135
Add FreeBSD history.
...
Approved by: re(ken)
2007-09-21 14:05:26 +00:00
imp
ab0b8aef68
Use better manuals for these ntp system calls. These were replaced by
...
the netbsd versions, and tweaked by me with suggestions from phk.
Reviewed by: phk
Approved by: re@
2007-09-15 14:33:55 +00:00
ru
714e878a3c
We've been able to support EVFILT_VNODE filtering on non-UFS
...
file systems since 2005.
Submitted by: Igor Sysoev
Approved by: re (bmah)
MFC after: 3 days
2007-09-07 13:10:09 +00:00
davidxu
0cd8d0c09b
Add thr_kill2 syscall.
...
Submitted by: Tijl Coosemans tijl at ulyssis dot org
Approved by: re (kensmith)
2007-08-22 01:56:35 +00:00
brueffer
5cecbb94f3
Take a sentence into the present by removing a reference to FreeBSD 3.0.
...
Approved by: re (blanket)
MFC after: 3 days
2007-07-14 19:23:29 +00:00
peter
1c8d4bbe18
Change the C wrappers for mmap/lseek/pread/pwrite/truncate/ftruncate to
...
call the pad-less versions of the corresponding syscalls if the running
kernel supports it. Check kern.osreldate once per program and cache the
result to select the appropriate syscall. This maintains userland
compatability with kernel.old's from quite a while back.
Approved by: re (kensmith)
2007-07-04 23:27:38 +00:00
peter
6f011a9012
Classify mmap, lseek, pread, pwrite, truncate, ftruncate as pseudo
...
syscalls, unless WITHOUT_SYSCALL_COMPAT is defined. The default case
will have the .c wrappers still. If you define WITHOUT_SYSCALL_COMPAT,
the .c wrappers will go away and libc will make direct syscalls.
After 7-stable starts, the direct syscall method will be default.
Approved by: re (kensmith)
2007-07-04 23:23:01 +00:00
davidxu
6fa1a15c61
Fix library names.
2007-06-18 01:50:03 +00:00
brueffer
25f7638e33
Catch up with the code.
...
Submitted by: peter
2007-06-13 19:22:29 +00:00
des
96c25f467e
Expose __stack_chk_fail_local() so -fstack-protector-all works.
2007-06-05 08:24:34 +00:00
rwatson
97ae5983d9
Correct spelling errors in comments.
2007-05-28 11:36:43 +00:00
kan
34d4c477d2
Follow NetBSD, OpenBSD and DragonfyBSD project and add BSD-licensed
...
SSP functions into FreeBSD libc. Use the same file name and location
for consistency with other projects.
2007-05-19 04:31:43 +00:00
pav
003d9887d8
Document RFTHREAD
...
PR: docs/78915
Submitted by: Marc Olzheim <marcolz@stack.nl>
MFC after: 1 week
2007-05-14 13:58:54 +00:00
pjd
ed3c97c636
Add missing links and sort.
2007-04-29 21:38:25 +00:00
deischen
2a7306fdc5
Use C comments since we now preprocess these files with CPP.
2007-04-29 14:05:22 +00:00
roam
b76036be69
Remove the MSG_PEEK flag from the documentation of the send(2) syscall -
...
it is only relevant to receiving data from sockets, not to sending.
PR: 109667
Submitted by: Jari Kirma <kirma@cs.hut.fi>
Approved by: wollman
2007-04-27 10:28:30 +00:00
emaste
22ad00d0a7
Belatedly bump Dd for my recent changes.
2007-04-11 20:31:06 +00:00
emaste
59639a4c97
Document PT_GETNUMLWPS.
2007-04-09 14:56:31 +00:00
emaste
9dfa1c4936
Describe PT_GETLWPLIST's arguments.
2007-04-07 03:16:23 +00:00
pjd
98524ca017
Bump date.
2007-04-05 21:17:52 +00:00
pjd
4718e01f98
Implement SEEK_DATA and SEEK_HOLE extensions to lseek(2) as found in
...
OpenSolaris. For more information please refer to:
http://blogs.sun.com/bonwick/entry/seek_hole_and_seek_data
2007-04-05 21:10:53 +00:00
bms
b4f28cba28
Wordsmithery.
...
Pointed out by: ru
2007-03-09 19:43:42 +00:00
bms
e8eac47f5e
Document SO_ACCEPTCONN.
...
Submitted by: Vlad GALU (with changes)
MFC after: 3 days
2007-03-08 12:57:12 +00:00
bms
bbe2ee3543
Fix license. Clause 4 is still required (UCB materiel).
...
Submitted by: rwatson
Pointy hat to: bms
2007-03-07 13:38:11 +00:00
bms
769f429126
use 2-clause BSD license as per hoskins strike-off july 22 1999.
...
use wording of FreeBSD License.
2007-03-07 11:06:46 +00:00
ru
873b029d16
Apply my patch properly.
2007-03-05 15:44:00 +00:00
bms
e97dc5692f
Fix markup.
...
Submitted by: ru
MFC after: 2 days
2007-03-05 13:52:01 +00:00
bms
bc98d02991
.Xr nit.
...
Submitted by: brueffer
2007-03-05 12:54:03 +00:00
bms
d623026ad1
Update shutdown() manual page to reflect actual behaviour of code.
...
Add IMPLEMENTATION NOTES section explaining in detail the effect this
system call has in common use cases involving PF_INET and PF_INET6 sockets.
PR: kern/84761
MFC after: 2 days
2007-03-05 12:39:53 +00:00
rrs
dfdc42503b
Fix include declaration it was sys/sctp.h should be netinet/sctp.h,
...
reported by pluknet@gmail.com .
2007-02-26 12:23:32 +00:00
rrs
ae6663525a
First cut of the sctp man pages. Still need work.
2007-02-22 14:32:39 +00:00
trhodes
2595ba05eb
Fix mis-reference of incorrect manual page in ERRORS section.
...
Noticed by: Harlan Stenn <stenn@ntp.isc.org>
2007-02-17 01:54:00 +00:00
brueffer
f099a37e0b
New sentence -> new line. While here, fix apostrophe abuse.
2007-02-14 07:38:39 +00:00
julian
98dbc79e89
Change the date.
2007-02-13 23:06:39 +00:00
julian
8ba81b8705
Make the kse man page reflect the removal of the KSEGRP kernel abstraction.
2007-02-13 23:02:15 +00:00
mpp
6236fe8975
Docment the acceptable values for the id parameter.
2007-02-01 02:31:02 +00:00
pjd
39f3fe7daf
When we try to set set-gid bit with chmod(2) on a file, which we own, but our
...
effective group ID (and any of our group) doesn't match the group ID of the
file, we get EPERM. This doesn't conform POSIX. POSIX requires that we should
return 0, but silently clear the set-gid bit.
2007-01-16 15:17:27 +00:00
imp
bfba87044e
Remove 3rd clause, renumber, ok per email
2007-01-12 07:31:30 +00:00
maxim
fd81dffb5c
o Document SO_TIMESTAMP and SO_BINSTAMP socket options.
...
PR: docs/107696
Submitted by: Rob Robertson
Reviewed by: ru
Obtained from: NetBSD (mostly)
MFC after: 1 week
2007-01-11 18:45:41 +00:00
imp
cd1f140ae4
Per Regents of the University of Calfornia letter, remove advertising
...
clause.
# If I've done so improperly on a file, please let me know.
2007-01-09 00:28:16 +00:00
pjd
c3ed4409e6
Be more specific in ENXIO description:
...
- O_NONBLOCK flag has to be set, if it is not set, open(2) will wait for
another process opening the fifo for reading,
- Use O_WRONLY which implies that the file has to be opened _only_ for write.
2007-01-07 23:06:53 +00:00
pjd
78c4023bc4
open(2) returns EROFS when O_CREAT is specified and the named file would
...
reside on a read-only file system.
2007-01-07 23:01:32 +00:00
pjd
ef0342d7a8
- POSIX mentions that EACCES can be returned when O_TRUNC is specified
...
separately. Do the same.
- Document when EPERM can be returned.
2007-01-07 17:55:19 +00:00
pjd
39a9779535
Prefer "to be modified" over "to be opened for writing".
...
This is quite tricky situation, because we allow to open a file with
O_RDONLY|O_TRUNC. O_TRUNC modifies a file, but we actually don't open
it for writing. EISDIR is also returned when we try to open a directory
O_RDONLY|O_TRUNC, which is correct.
POSIX says that "The result of using O_TRUNC with O_RDONLY is undefined.",
we choose to accept it (Solaris did the same), that's why "to be modified"
seems more accurate to me.
2007-01-07 17:32:16 +00:00
simon
df927be246
Bump modification date for last update.
2006-12-28 17:15:21 +00:00
simon
86e98cb2fb
Catch up struct cmsghdr and struct msghdr in the manual page with the
...
actual structures in socket.h (which were updated 7 years ago).
MFC after: 1 week
2006-12-28 17:10:23 +00:00
pjd
6e9534365d
chflags(2) returns EPERM when user tries to set or remove the SF_SNAPSHOT flag.
2006-12-15 19:23:27 +00:00
pjd
8ce2a07776
- truncate(2) returns EFBIG if the length argument was greater than the
...
maximum file size.
- truncate(2) returns EINVAL if the length argument was less than 0.
2006-12-13 22:51:23 +00:00
pjd
481eab3722
Append-only flag also denies chown(2).
2006-12-13 22:17:58 +00:00
pjd
235da7c5d9
Much more correct EFTYPE description.
2006-12-13 13:46:01 +00:00
pjd
575c21f380
Better wording.
2006-12-13 13:26:32 +00:00
pjd
d6502b0c19
Append-only flag also denies chmod(2). Is this correct behaviour?
2006-12-13 13:22:57 +00:00
pjd
05020e0446
Be more precise with EPERM description. When chown(2) is a no-op, it will
...
return 0.
2006-12-13 11:46:38 +00:00
pjd
22da39b273
Write permission if of course only needed for the parent directory of
...
the object beeing created.
Pointed out by: bde
2006-12-13 11:26:03 +00:00
pjd
b095a4d2ba
mkfifo(2) returns EACCES when write permission is denied for a component of
...
the path prefix.
2006-12-13 09:58:49 +00:00
pjd
35794d75f2
Be more specific when ELOOP can be returned.
2006-12-12 20:06:52 +00:00
pjd
b94e298b13
symlink(2) return EACCES if a component of the name2 path prefix denies
...
write permission.
2006-12-12 20:05:04 +00:00
pjd
29ffd27401
Correct ENOENT description.
2006-12-12 19:57:17 +00:00
pjd
024a6b9fb4
The 'name1' argument to symlink(2) is only limited to 1023 characters,
...
its components are not checked.
2006-12-12 19:48:15 +00:00
pjd
96e0c4dbe7
mkdir(2) creates directory, not file.
2006-12-12 15:00:08 +00:00
julian
dc3e4a0741
Remove reference to confusing behaviour just removed from
...
the kse_exit() syscall. Describe the correct behaviour.
2006-12-12 08:13:02 +00:00
pjd
291ec8d867
When directory is given as an argument for unlink(2), EPERM is returned
...
not matter if this is regular directory or a mount point.
2006-12-10 13:04:36 +00:00
pjd
c3cd93f756
If the named file has its immutable or append-only flag set, utimes(2)
...
returns EPERM.
2006-12-09 23:13:05 +00:00
pjd
516c13f08d
If the parent directory of the named file has its immutable flag set,
...
mkfifo(2) returns EPERM.
2006-12-09 23:06:01 +00:00
pjd
827d52e622
If the parent directory of the destination file has its immutable flag set,
...
symlink(2) returns EPERM.
2006-12-09 23:01:38 +00:00
pjd
8a2099c5a1
- If the source file has its immutable or append-only flag set, link(2)
...
returns EPERM.
- If the parent directory of the destination file has its immutable flag set,
link(2) returns EPERM.
2006-12-09 22:56:40 +00:00
pjd
5785bcc5bc
If the named file has its immutable or append-only flag set, truncate(2)
...
and ftruncate(2) return EPERM.
Note, that if the append-only flag is set even increasing size of the file
is not permitted.
2006-12-09 22:49:28 +00:00
pjd
6f1b6d133c
If the named file has its immutable flag set, chown(2) returns EPERM.
2006-12-09 22:41:26 +00:00
pjd
3d3c519dec
If the named file has its immutable flag set, chmod(2) returns EPERM.
2006-12-09 22:41:01 +00:00
pjd
c995b500b2
Add reference to chflags(2).
2006-12-09 22:39:28 +00:00
pjd
c7ad47675e
If the parent directory of the named file has its immutable flag set,
...
mkdir(2) returns EPERM.
2006-12-09 22:35:55 +00:00
pjd
1960fa1f5d
- If the directory to be removed has its immutable, undeletable or append-only
...
flag set, rmdir(2) returns EPERM.
- If the parent directory of the directory to be removed has its immutable or
append-only flag set, rmdir(2) returns EPERM.
2006-12-09 19:44:38 +00:00
pjd
94128f1de1
- If the parent directory of the file pointed at by the from argument has its
...
immutable or append-only flag set, rename(2) returns EPERM.
- If the parent directory of the file pointed at by the to argument has its
immutable flag set, rename(2) returns EPERM.
2006-12-09 19:42:58 +00:00
pjd
991a488b1d
Correct last commit. The parent directory of the file to be removed can
...
have undeletable flag set.
2006-12-09 19:40:24 +00:00
pjd
bb93464d9e
When immutable, undeletable or append-only flag is set, rename(2)
...
return EPERM.
2006-12-09 19:19:46 +00:00
pjd
35ec935f3b
When undeletable flag is set, unlink(2) return EPERM.
2006-12-09 19:18:39 +00:00
ru
f1573baff3
Grammar.
...
OK'ed by: sam
2006-12-04 20:34:25 +00:00
sam
6f9b2bd1bc
document recent change to return ECONNRESET for tcp sockets
...
MFC after: 1 month
2006-12-04 18:39:11 +00:00
yar
3caf2aa43d
Note that, thanks to the work by Alan Cox et al, some arch'es
...
don't need sendfile() buffers any more.
The report on the work referenced can be found at
http://usenix.org/events/usenix05/tech/general/elmeleegy.html
MFC after: 1 week
2006-11-24 11:44:19 +00:00
jhb
aacfa06ebd
Document that the data field for NOTE_EXIT holds the process exit status.
...
Submitted by: Jared Yanovich -phirerunner at comcast.net-
MFC after: 2 weeks
2006-11-20 22:20:04 +00:00
trhodes
a5378c36b6
Add an entry for PT_GETLWPLIST.
...
Nudged by: jhb
Reviewed by: davidxu
2006-11-09 11:27:18 +00:00
rwatson
ef1d02698e
Remove sys/uio.h include -- this is no longer required by the extattr
...
system call API.
MFC after: 3 weeks
2006-11-06 15:12:43 +00:00
danger
b5fdd84df7
- clock_gettime is in time.h instead of sys/time.h
...
Approved by: trhodes (mentor), keramida (mentor)
PR: docs/104707
MFC-after: 3 days
2006-11-04 09:35:36 +00:00
ru
6332347a51
Replace the SEE ALSO xrefs with a more reasonable set stolen from POSIX.
2006-11-02 14:10:56 +00:00
pjd
1f52d4e246
Document MNT_GJOURNAL option.
2006-11-01 23:40:44 +00:00
simon
16797e6408
Minor markup fix: A comma should be seperated by space from macro
...
argument. This resulted in "pwritev,()" instead of the intended
"pwritev()," in the output.
MFC after: 3 days
2006-10-21 20:36:50 +00:00
ru
85a0824042
Avoid a potential hard sentence break.
2006-10-21 18:03:53 +00:00
ru
1db31f4d88
Use normal parentheses.
...
PR: docs/84549
Submitted by: Gary W. Swearingen
MFC after: 3 days
2006-10-12 20:50:26 +00:00
ru
edfb232c7d
Link select(2) to FD_CLR(3), FD_ISSET(3), FD_SET(3), and FD_ZERO(3).
...
PR: docs/57974
MFC after: 3 days
2006-10-12 13:46:33 +00:00
ru
f31ae74951
Document S_IRWXU and permission bits for group/other.
...
PR: docs/57153
MFC after: 3 days
2006-10-12 13:35:07 +00:00
maxim
6a25457482
o Follow the trend and try to explain what the slow device is.
...
Not ideal but better than nothing.
Obtained from: OpenBSD, NetBSD
2006-10-11 13:33:02 +00:00
trhodes
a906aad1ec
Reword previous delta a little bit.
...
Submitted by: ru
2006-10-07 10:49:20 +00:00
trhodes
57665efa96
Fix ambiguity in description. Note that the aio_return() system call should
...
only be called once after failure or completion of an AIO request. Bump doc
date while I'm here.
Noticed by: Samy Al Bahra
2006-10-07 05:34:51 +00:00
trhodes
d96e9c3643
Add missing word "returns."
...
Noticed by: Samy Al Bahra
2006-10-07 05:13:32 +00:00
ru
1da895d121
Fix markup, language, function prototype, and example code.
2006-09-30 10:24:00 +00:00
vd
2fdf351700
Fix typo
...
PR: docs/103666
Submitted by: vd
Approved by: maxim
2006-09-26 09:47:46 +00:00
davidxu
8f17739963
remove thr_getscheduler, thr_setscheduler, thr_setschedparam,
...
add rtprio_thread.
2006-09-21 04:22:46 +00:00
ru
f4eec08060
Markup fixes.
2006-09-17 21:27:35 +00:00
ru
b4db035948
Remove more traces of Alpha.
2006-09-17 20:53:30 +00:00
joel
4d276cbac6
Remove reference to T/TCP.
...
Reviewed by: andre
2006-09-13 19:48:00 +00:00
brian
c4fc7dad18
Fix a typo
2006-09-10 20:41:33 +00:00
ceri
0db75312ec
Note that the system only allows a maximum of kern.kq_calloutmax timers.
...
PR: docs/102353
Submitted by: phk
MFC after: 1 week
2006-08-25 15:19:47 +00:00
wes
4ac35ea6d7
Document EAGAIN failure per PR. (Finally!)
...
PR: 24125
2006-08-16 02:56:51 +00:00
pjd
85e4bd1f98
We operate on 'statfs' structures, not on 'fsstat' structures.
...
MFC after: 3 days
2006-08-15 18:17:03 +00:00
yar
209e4786e7
Commit the results of the typo hunt by Darren Pilgrim.
...
This change affects documentation and comments only,
no real code involved.
PR: misc/101245
Submitted by: Darren Pilgrim <darren pilgrim bitfreak org>
Tested by: md5(1)
MFC after: 1 week
2006-08-04 07:56:35 +00:00
nork
9fb25aacbb
Add missing ;.
...
Pointy hat to: myself
Approved by: deischen (implicitly)
2006-07-23 15:53:12 +00:00
nork
799a5bd29c
Add missing syscalls.
...
Reviewed by: deischen
Approved by: deischen
2006-07-23 13:08:54 +00:00
kib
b90260e703
Make the mincore(2) return ENOMEM when requested range is not fully mapped.
...
Requested by: Bruno Haible <bruno at clisp org>
Reviewed by: alc
Approved by: pjd (mentor)
MFC after: 1 month
2006-06-21 12:59:05 +00:00
maxim
569fed19c7
o Sort .Xrs.
2006-06-13 12:49:14 +00:00
phk
71b866ca8e
Add xref to statfs(2)
2006-06-13 12:23:22 +00:00
maxim
38d68c5332
o Document the fact truncate(2) has no effect for !VDIR or !VREG files.
...
Submitted by: ceri
2006-06-01 14:20:43 +00:00
rodrigc
1b048fc4a5
Remove reference to "System call restart" in intro(2). intro(2) does not
...
have such a reference. Add a reference instead to SA_RESTART in
sigaction(2).
2006-05-20 21:49:03 +00:00
keramida
6bb3d81c63
* Document the fact that non-superusers cannot change file flags for
...
objects with SF_IMMUTABLE, SF_APPEND, or SF_NOUNLINK.
* Document that non-superusers cannot set or clear any SF_* flag
(setting fails with EPERM, clearing is silently ignored).
* Document that superusers cannot change any flag if one of
SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK is set and securelevel is
greater than 0.
* Document SF_SNAPSHOT and note that it is maintained by the
system and is, for this reason, impossible to set to clear by
any user.
PR: docs/33877
Submitted by: harti
Help by: George Marsellis <gam9478@njit.edu>
MFC after: 1 week
2006-05-16 20:24:41 +00:00
trhodes
ef3a255b54
Update for rev 1.205 of vm_mmap.c.
...
Submitted by: fanf
2006-04-21 07:22:55 +00:00
maxim
385ea606db
o Document SO_NOSIGPIPE, touch .Dd.
...
PR: docs/78479
Submitted by: Mikko Tyolajarvi
MFC after: 2 weeks
2006-04-15 13:37:35 +00:00
ru
8dfa3f1483
List pwritev in the NAME section.
2006-04-14 19:34:07 +00:00
peter
114d7f6536
Document that the documented 2GB mmap limit is actually a
...
documentation bug. We switched to page indexes some time around
FreeBSD 2.2. The actual 'len' limit is the maximum file size or what
will fit in your address space, whichever comes first. It should be
possible to make 1TB files on 32 bit systems, but of course address space
runs out long before then.
2006-03-23 23:37:06 +00:00
deischen
a0f6b0f1d0
Add each directory's symbol map file to SYM_MAPS.
2006-03-13 01:15:01 +00:00
deischen
138dd54357
Add symbol maps and initial symbol version definitions to libc.
...
Reviewed by: davidxu
2006-03-13 00:53:21 +00:00
davidxu
b33c92af90
Remove mq.c, the POSIX mqueue is implemented in librt.
...
Suggested by: deischen
2006-03-08 23:42:41 +00:00
brueffer
6db6365c65
Remove a useless word.
...
PR: 94087
Submitted by: Tadaaki Nagao <nagao@iij.ad.jp>
MFC after: 3 days
2006-03-05 10:32:15 +00:00
jcamou
44dc71d01c
Sync with actual code.
...
PR: docs/87681
Noticed by: Andreas Kohn <andreas@syndrom23.de>
Reviewed by: brooks
Approved by: trhodes (mentor)
MFC after: 3 days
2006-03-03 13:58:43 +00:00
davidxu
f29e4c0c75
Disconnect mqueue from buildworld, as I will implement it in seperated
...
library.
2006-03-01 06:25:46 +00:00
yar
d3fcb2cf25
Tell the truth about a) how to get the first fileid, and
...
b) what return values from kldstat(2) can be expected.
Bump .Dd.
MFC after: 3 days
2006-02-22 15:11:12 +00:00
brd
ee6a29f334
- Massage wording to make it easier to understand and fix some grammar.
...
Submitted by: sbahra at gwu dot edu
Reviewed by: ru@
Approved by: ceri@
MFC after: 3 days
2006-02-16 09:56:31 +00:00
glebius
e8ec4c3a0a
- In pipe() return the error returned by pipe_create(), rather then
...
hardcoded ENFILES, which is incorrect. pipe_create() can fail due
to ENOMEM.
- Update manual page, describing ENOMEM return code.
Reviewed by: arch
2006-01-30 08:25:04 +00:00
truckman
bfe1f15bac
Back out the previous change to rename.2. The previous rename()
...
behaviour of returning EINVAL when ".." is passed as either argument
has been restored.
rmdir("..") now returns EINVAL instead of EPERM. Document the
previously undocumented behaviour of rmdir(".") returning EINVAL
as required by POSIX and SUSv3. Bump the man page change date.
undelete("..") now returns EINVAL instead of EPERM. Bump the man
page change date.
MFC after: 3 days
2006-01-22 19:49:37 +00:00
truckman
0c5f09bf3c
rename(), rmdir(), and undelete() fail with EPERM if the last component
...
of the path is "..".
MFC after: 3 days
2006-01-21 20:45:45 +00:00
grog
d8f7824ea7
Add references to fhopen, fhstat, getfh, lgetfh and fhstatfs.
...
Pointed out by: Antony Curtis <antony@mysql.com>
2006-01-10 23:24:47 +00:00
dds
eab4be14c1
Document the recently-added EINVAL behavior.
...
MFC after: 1 week
2006-01-05 08:55:56 +00:00
phk
62bc67a619
Add abort2 manual page.
...
Submitted by: "Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
Edited by: phk
2005-12-23 12:27:42 +00:00
davidxu
54f6e603e2
Sort .Xr by section number.
...
Submitted by: ru
2005-12-13 13:43:35 +00:00
davidxu
b4c9d04a7a
Add cross references to siginfo.3.
2005-12-13 03:05:58 +00:00
davidxu
c4b03f28e8
Fix markeup.
...
Submitted by: ru
2005-12-06 09:52:54 +00:00
davidxu
6bc69ac5ef
Fix markup.
...
Submitted by: ru
2005-12-05 09:31:49 +00:00
davidxu
6b2c23ed29
Document SIGEV_NONE and SIGEV_SIGNAL.
2005-12-05 04:44:39 +00:00
ru
caf571b462
Fix prototype.
2005-12-03 09:01:02 +00:00
ru
31c1e7fdd1
Fix type of argument.
2005-12-03 09:00:43 +00:00
ru
737cb276f5
Break hard sentence break.
2005-12-03 08:52:07 +00:00
davidxu
b7c7977302
Remove implementation-defined, it has already been described in NOTES
...
section.
2005-12-03 02:49:04 +00:00
davidxu
9912fc33bb
Remove implementation-defined sentences.
2005-12-03 02:31:18 +00:00
davidxu
0a233aabf5
Fix lots of markup and content bug.
...
Submitted by: ru
2005-12-03 01:34:41 +00:00
davidxu
fe5351388c
syscall -> system call.
2005-12-02 13:50:56 +00:00
davidxu
c85c22d129
Fix markup.
2005-12-02 09:04:35 +00:00
imp
acbc914cf5
Tweak markup for POSIX standards. Minor wordsmithing.
...
Submitted by: ru@
2005-12-01 18:17:50 +00:00
imp
2fb46d5815
Document O_NOCTTY and O_SYNC. O_NOCTTY is a nop on freebsd, while on
...
other systems it prevents a tty from becoming a controlling tty on the
open. O_SYNC is the POSIX name for O_FSYNC.
The Markup Police may need to tweak my references to standards.
2005-12-01 17:54:33 +00:00
davidxu
fe2f3459f3
Update conformance and history sections.
2005-11-30 04:15:44 +00:00
davidxu
155492a9a6
Symlink mq_send to mq_timedsend.
...
Symlink mq_receive to mq_timedreceive.
2005-11-30 04:14:53 +00:00
davidxu
da7f338534
Add manuals for POSIX message queue.
2005-11-30 04:12:37 +00:00
davidxu
b89632601d
Implement following POSIX message queue interfaces:
...
mq_close, mq_getattr, mq_receive, mq_send.
2005-11-26 13:01:17 +00:00
ru
d9eedd9185
Make SYNOPSIS compile.
...
Attn peter@: this manpage wasn't synced with your code changes.
2005-11-24 07:48:19 +00:00
ru
a615d0b31e
Fix prototypes.
...
Attn davidxu@: most likely, the description should also be tweaked
after your undocumented changes that changed these prototypes.
2005-11-24 07:33:35 +00:00
simon
ac5e3a71fd
Do not explicitly state how many bytes an argument list can be in the
...
description of E2BIG, since it's now larger on some platforms.
MFC after: 3 days
2005-11-19 11:30:55 +00:00
andre
e76b2aa5e3
Document CLOCK_UPTIME which returns the current uptime in SI seconds.
...
At the moment it is just an alias for CLOCK_MONOTONIC which reports
the same number.
Sponsored by: TCP/IP Optimization Fundraise 2005
2005-11-18 17:13:22 +00:00
ru
271d9041b2
Fix up markup etc. in recently born manpage.
2005-11-18 11:53:23 +00:00
ru
928d297eeb
-mdoc sweep.
2005-11-17 13:00:00 +00:00
davidxu
9b80130dab
add continued status.
2005-11-12 01:37:03 +00:00
davidxu
a63a9632fb
Insert missing copyright headers.
2005-11-12 01:19:05 +00:00
davidxu
f829046274
Only signo should be marked with .Fa.
2005-11-11 14:52:06 +00:00
delphij
f7bdaa902f
Fix plural.
2005-11-11 08:00:44 +00:00
davidxu
349748c4de
Fix plural.
2005-11-11 07:50:51 +00:00
davidxu
5682702f74
Fix copy-paste issue.
2005-11-11 07:50:09 +00:00
davidxu
c96b2417aa
Add POSIX timer manuals.
2005-11-11 07:48:38 +00:00
davidxu
1ec898f53b
Add descriptions about signal queue.
2005-11-11 05:40:39 +00:00
davidxu
e470cdb287
Er, highlight function wait().
2005-11-11 05:38:40 +00:00
davidxu
eb109d2033
Add notes about queued SIGCHLD.
2005-11-11 05:30:48 +00:00
davidxu
e64485ffe5
Add manuals for sigqueue, sigtimedwait, sigwaitinfo.
2005-11-11 03:13:25 +00:00
jkoshy
5f40723405
Document the fact that sendfile(2) can EOPNOTSUPP if the underlying
...
filesystem for the file being transferred doesn't support UIO_NOCOPY.
Reported by: Niki Denev <nike_d@cytexbg.com>
2005-10-31 04:08:28 +00:00
jkoshy
8ec6c5c60f
Sort error list.
2005-10-31 04:00:20 +00:00
rwatson
c79382b4d0
Add mkfifo(2) to the man page SEE ALSO list for umask(2) -- it's
...
mentioned in the description.
MFC after: 2 days
2005-09-10 20:47:02 +00:00
glebius
b87dfd9adc
- Document the fact that the real length of listen queue is 1.5 more
...
than the value of backlog argument.
- Document the fact that a subsequent listen(2) calls on the listening
socket change the backlog argument.
- Note that current listen queue lengths can be queried using netstat(1).
Submitted by: Igor Sysoev <is rambler-co.ru>
Wording by: gnn
2005-08-29 10:23:46 +00:00
keramida
ac7c9f771d
Fix all the spelling mistakes I could find in the man pages for words
...
that have at least 3 characters.
MFC after: 1 week
Thanks to: Music band ``Chingon''
for keeping me company while searching for these.
2005-07-31 03:30:48 +00:00
dds
a3aeeccbca
Document the ECONNRESET errno value.
2005-07-29 07:42:10 +00:00
jmg
df7e52dd3d
remove the supposed max of 2^31, it hasn't been this small in a very
...
long time... i.e. since this file was imported... (ufs1 supports much
larger files then this)...
Submitted by: Ivan Voras
MFC after: 1 week
2005-07-18 22:27:41 +00:00
sobomax
7590204277
Document the fact that if MAP_FIXED request has been successful it
...
replaces any previous mapping to the same address.
Obtained from: IEEE Std 1003.1, 2004 Edition
2005-07-15 11:37:25 +00:00
jhb
cf15cbb1b6
- Add two new system calls: preadv() and pwritev() which are like readv()
...
and writev() except that they take an additional offset argument and do
not change the current file position. In SAT speak:
preadv:readv::pread:read and pwritev:writev::pwrite:write.
- Try to reduce code duplication some by merging most of the old
kern_foov() and dofilefoo() functions into new dofilefoo() functions
that are called by kern_foov() and kern_pfoov(). The non-v functions
now all generate a simple uio on the stack from the passed in arguments
and then call kern_foov(). For example, read() now just builds a uio and
calls kern_readv() and pwrite() just builds a uio and calls kern_pwritev().
PR: kern/80362
Submitted by: Marc Olzheim marcolz at stack dot nl (1)
Approved by: re (scottl)
MFC after: 1 week
2005-07-07 18:17:55 +00:00
hmp
9149713184
Use 'manual page' instead of 'man page' for consistency.
...
Approved by: re (hrs)
2005-06-30 13:18:15 +00:00
ru
38fc91ca96
Assorted markup fixes.
...
Approved by: re
2005-06-15 19:04:04 +00:00
rodrigc
a2da5f36da
Fix the wording in this man page so that it
...
reflects the actual behavior of the API
for listing extended attributes.
PR: docs/79261
Submitted by: rodrigc
Reviewed by: rwatson, kan
Approved by: das (mentor)
2005-06-10 16:54:17 +00:00
alc
c92da1a153
Update .Dd value.
2005-06-04 19:44:09 +00:00
alc
369cab6800
Eliminate the original method of requesting notification of aio_read(2) and
...
aio_write(2) completion through kevent(2). This method does not work on
64-bit architectures. It was deprecated in FreeBSD 4.4. See revisions
1.87 and 1.70.2.7.
Change aio_physwakeup() to call psignal(9) directly rather than indirectly
through a timeout(9). Discussed with: bde
Correct a bug introduced in revision 1.65 that could result in premature
delivery of a signal if an lio_listio(2) consisted of a mixture of
direct/raw and queued I/O operations. Observed by: tegge
Eliminate a field from struct kaioinfo that is now unused.
Reviewed by: tegge
2005-06-04 19:16:33 +00:00
keramida
1345acc565
Document the fact that accept(2) may return EINVAL when addrlen is
...
negative (in addition to returning EINVAL when called on a descriptor
that is not a socket).
Submitted by: Arne H Juul <arnej@europe.yahoo-inc.com>
PR: docs/80587
2005-05-04 11:09:26 +00:00
alfred
93318a5e79
Make MSG_NOSIGNAL available to native programs.
...
Bump FreeBSD_version to note this change.
Reviewed by: sobomax
2005-03-09 00:17:33 +00:00
trhodes
98afb7c0a2
Fix a few markup nits in previous commit.
...
Noticed by: ru, who else? :)
2005-02-25 00:40:46 +00:00
trhodes
9b55c7654a
Do not mislead users into checking for a mount_ufs or mount_ufs2 manual
...
page. They do not exist.
PR: 53303
Submitted by: Marc Silver <marcs@draenor.org> (original version)
2005-02-24 00:32:58 +00:00
csjp
a8e1dad15a
-document the fact that extattr_get_* can fail if the requested
...
attribute does not exist on the file.
-bump document date
Reviewed by: rwatson,trhodes
MFC after: 1 week
2005-02-24 00:04:45 +00:00
trhodes
31981a764b
Xref chflags(2).
...
Note that unlink.2 can return EPERM if the immutable or append-only flags are set.
PR: 77043
2005-02-23 23:55:58 +00:00
ru
136924cea4
Expand contractions.
2005-02-15 09:27:00 +00:00
ru
6b6b8c04f6
Expand contractions.
2005-02-13 23:45:54 +00:00
ru
1541af42f1
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
cperciva
7294dae01f
read(), pread(), write(), and pwrite() return EINVAL if they are asked
...
for more than INT_MAX bytes.
2005-02-10 20:09:01 +00:00
ru
114ea39c76
Fixed the misplaced $FreeBSD$.
2005-02-09 18:07:17 +00:00
keramida
bfbb7511c4
EISCONN may be returned by sendto() if an attempt is made to specify the
...
destination address to a datagram socket that is already connected.
Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz>
PR: docs/76399
MFC after: 1 week
2005-01-24 20:41:44 +00:00
ru
b8a9faaaa3
Fixed punctuation in xrefs.
2005-01-21 20:48:00 +00:00
ru
ed72feddcb
Sort sections.
2005-01-20 09:17:07 +00:00
ru
d26afd541d
Eliminate macro calls inside literal displays.
2005-01-15 12:28:01 +00:00
ru
5384a04b6a
Scheduled mdoc(7) sweep.
2005-01-11 20:50:51 +00:00
trhodes
2aa46459ee
Catch up with stat.h a bit:
...
o Sticky bit is actually defined as S_ISTXT not S_ISVTX.
o Sticky bit is wrapped in if __BSD_VISIBLE not _POSIX_SOURCE.
2004-12-29 20:00:29 +00:00
keramida
9992d6428f
``NULL is a specific instance of a null pointer constant; the generic is
...
a "null pointer".''
Making good use of the excellent explanations sent to me by Ruslan
Ermilov, Garrett Wollman and Bruce Evans, correct the descriptions of
null pointers. They are just "null pointers", not nil, not NULL or
".Dv NULL".
Suggested by: ru, wollman, bde
Reviewed by: ru, wollman
Pointy hat: keramida
2004-12-23 23:45:25 +00:00
keramida
1a7818d0d2
Punctuation marks should be separate arguments in groff macros.
...
Noticed by: ru
2004-12-22 16:20:12 +00:00
keramida
592e2c4993
Use .Dv NULL when referring to NULL C pointers, instead of "nil".
2004-12-22 16:15:52 +00:00
keramida
46fa95804b
Cross reference init(8) too, instead of vaguely referring to the
...
"initialization process".
2004-12-22 15:44:21 +00:00
ru
4e1356aa93
MNT_NODEV is deprecated.
2004-11-29 09:56:12 +00:00
yar
07e57c11e7
Document more fields of struct stat.
...
Note to mdoc(7) police:
The document date has already been touched today.
2004-11-15 14:16:31 +00:00
yar
956c47074f
Use .Vt "struct stat" consistently.
2004-11-15 13:58:52 +00:00
yar
4d5cd8fc1a
Nitpicking on grammar.
2004-11-15 13:55:33 +00:00
yar
5c10bd5c5f
Improve mdoc(7) markup of the page: add several missing macros,
...
use .Va instead of .Li for struct stat fields.
2004-11-15 13:45:13 +00:00
yar
ba23ba1ba9
Document the S_IS*(mode) macros used to test for file types.
...
Bump the document date accordingly.
2004-11-15 13:37:56 +00:00
ceri
a60695c920
Add necessary whitespace to correct cross references.
...
PR: docs/73193
Submitted by: Jilles Tjoelker <jilles at stack.nl>
2004-10-27 11:26:51 +00:00
yar
cea378a301
Reword the last change a bit, add mdoc(7) markup.
...
Discussed with: bde
2004-10-25 13:35:03 +00:00
yar
faf553262e
Since sendfile(2) works on regular files only,
...
which have no negative offsets, "negative" and
"invalid" are equivalent WRT the offset argument.
Suggested by: bde
2004-10-18 10:02:04 +00:00
alfred
6102082486
Document EMSGSIZE return from recvmsg due to insufficient free files
...
when transfering rights (file descriptors.)
2004-10-17 07:13:34 +00:00
yar
3cb7a30757
Explain it is a negative offset that EINVAL may indicate.
...
Now readers won't get an impression that pointing to beyond
the current end of file will result in EINVAL.
MFC after: 1 week
2004-10-16 09:53:35 +00:00
yar
ada175da60
Improve mdoc(7) markup.
2004-10-16 09:46:38 +00:00
yar
4a839deb31
Give details on what will happen if the `offset' argument
...
to sendfile(2) falls beyond the end of file.
Touch .Dd.
PR: bin/72649 (in the audit trail)
MFC after: 1 week
2004-10-16 09:39:25 +00:00
julian
f5ef5456b3
Make less wrong for desciptions of signal handling
...
MFC in: 1 week
2004-10-08 20:40:30 +00:00
roam
14bb07bf2a
Add a BUGS section and copy the wording from mmap(2)'s MAP_NOSYNC,
...
documenting the obsoleteness of the msync(2) syscall and its single
remaining purpose.
PR: 70916
Submitted by: Radim Kolar <hsn@netmag.cz>
MFC after: 3 days
2004-09-03 06:24:25 +00:00
roam
6a48c2ea98
Document the MNT_SNAPSHOT mount flag with a cross-reference
...
to mksnap_ffs(8).
PR: 70402
Submitted by: James Raftery <james@now.ie>
2004-08-13 14:33:03 +00:00
green
70cf64bec6
Update "documentation date" fields.
2004-08-10 16:38:19 +00:00
green
94edfa59ed
Update mlock(2) manpage to cross-reference m{,un}lockall(2), remove
...
a case where ENOMEM could be returned by munlock(2), and add possible
system deadlock to the BUGS section.
2004-08-10 14:52:42 +00:00
roam
0257832b8c
Fix a case of _SC_CLK_TCK being misspelled as _SC_CLOCK_TCK.
...
PR: 69428
Submitted by: Sascha Schneider <suntsu@suntsu.org>
MFC after: 2 weeks
2004-08-06 14:49:11 +00:00
csjp
3df381ba1a
Back out previous commit. Even though statfs(2) can take a regular
...
file as an argument, it may still fail for the same reasons that
open(2) can.
Pointed out by: Jilles Tjoelker
Apporived by: bmilekic (mentor)
2004-07-20 19:30:57 +00:00
csjp
c54b8f6444
Remove reference to ENOTDIR in the documented errors
...
for statfs(2). This is false, if the pathname specified
is a regular file, then the information for the file
system that the file lives on will be returned.
Approved by: bmilekic (mentor)
2004-07-20 18:35:33 +00:00
harti
96d22c0d06
Document the MSG_DONTWAIT flag.
2004-07-16 17:15:37 +00:00
alfred
4bc282eb72
Clarify getfsstat(2) usage.
...
The getfsstat(2) function expects a buffer and a count, and returns a count.
The confusing part is that the count it takes is a byte count, while the
return value is a count of the number of structures it has filled out.
Spell this out.
2004-07-16 01:18:13 +00:00
marcel
b71b19f0a2
Document the new PT_LWPINFO request. In fact, the request is so new
...
it hasn't even been implemented yet. I just wanted to be the first
to try a new approach to development ;-)
2004-07-12 04:43:58 +00:00
wollman
0426f2d05f
Eliminate some magic numbers and correct description of _PC_NO_TRUNC.
...
Slight emendation to _PC_CHOWN_RESTRICTED, which is in a very similar
boat.
2004-07-08 20:27:38 +00:00
alfred
1bbb97d7cb
there's no such define as KERN_NAME_MAX, change to _POSIX_NAME_MAX.
2004-07-07 20:47:42 +00:00
ru
d384729d50
Fix the NAME section making whatis(1) happy in particular.
2004-07-05 17:12:53 +00:00
ru
6651f20e0d
Sort SEE ALSO references (in dictionary order, ignoring case).
2004-07-04 20:55:50 +00:00
ru
e9b8d742f7
Fixed markup.
2004-07-03 23:14:34 +00:00
ru
57ce50860e
Eliminate double whitespace.
2004-07-03 22:30:10 +00:00
ru
01548ace15
Mechanically kill hard sentence breaks.
2004-07-02 23:52:20 +00:00
ru
4b39413aeb
Removed trailing whitespace.
2004-07-02 19:07:33 +00:00
ru
95168a499a
Markup, grammar, and spelling fixes.
2004-06-30 20:09:10 +00:00
rik
d9087231a5
s/SS_CANTSENDMORE/SBS_CANTSENDMORE/
2004-06-24 10:53:44 +00:00
bms
d46dec63e5
Be specific about which socket properties are inherited from the original
...
socket upon accept(2).
PR: docs/54995, kern/45733
2004-06-23 00:20:46 +00:00
mpp
1165f3c380
Spelling fixes.
2004-06-21 18:57:32 +00:00
mpp
da7008d252
PR: docs/67884
...
Submitted by: Chirstopger Nehren <apeiron@comcast.net>
2004-06-21 18:24:48 +00:00
kbyanc
c3dd8655c5
CLOCK_PROF and CLOCK_VIRTUAL are implemented now.
2004-06-17 23:13:38 +00:00
kbyanc
749e9ea6a2
The maximum value of iovcnt is IOV_MAX, not 16.
2004-06-15 01:24:41 +00:00
das
37428870e0
Use .Dv instead of .Li for all the RLIMIT_* constants.
...
Requested by: ru
2004-06-14 01:32:40 +00:00
das
c0ccc29a8f
Document RLIMIT_AS. While here, correct an insertion sort error.
2004-06-13 22:19:29 +00:00
yar
913f695456
Use ".In" to mark up C include file names.
2004-06-07 21:52:20 +00:00
yar
7c97f69840
Each sentence should begin on a new line.
2004-06-07 21:48:02 +00:00
yar
62c876af4f
Extend and improve the mdoc(7) markup of this page.
...
Reviewed by: ru
2004-06-07 21:43:14 +00:00
yar
68060b2236
Finally document the option to avoid zombie creation
...
through ignoring SIGCHLD.
2004-06-07 11:01:39 +00:00
alc
96189f4c1f
Update the document date.
...
Reminded by: ru@
2004-05-20 18:47:15 +00:00
alc
7d8fea6fb7
Remove a long obsolete paragraph from the BUGS section.
2004-05-19 03:25:17 +00:00