David E. O'Brien
19774e7503
Add FreeBSD history.
...
Approved by: re(ken)
2007-09-21 14:05:26 +00:00
Warner Losh
09fd542e60
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
Ruslan Ermilov
6a6c4826bc
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
David Xu
85cd8877d7
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
Christian Brueffer
e38e34dbad
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 Wemm
4dd719bd7f
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 Wemm
65a6d893ba
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
David Xu
e931190671
Fix library names.
2007-06-18 01:50:03 +00:00
Christian Brueffer
d143a3d971
Catch up with the code.
...
Submitted by: peter
2007-06-13 19:22:29 +00:00
Dag-Erling Smørgrav
0d1b462435
Expose __stack_chk_fail_local() so -fstack-protector-all works.
2007-06-05 08:24:34 +00:00
Robert Watson
8f35913609
Correct spelling errors in comments.
2007-05-28 11:36:43 +00:00
Alexander Kabaev
91c1e2bf9b
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 Lucistnik
79df5e05ee
Document RFTHREAD
...
PR: docs/78915
Submitted by: Marc Olzheim <marcolz@stack.nl>
MFC after: 1 week
2007-05-14 13:58:54 +00:00
Pawel Jakub Dawidek
a5fbf7ac1f
Add missing links and sort.
2007-04-29 21:38:25 +00:00
Daniel Eischen
5f864214bb
Use C comments since we now preprocess these files with CPP.
2007-04-29 14:05:22 +00:00
Peter Pentchev
0b329a103d
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
Ed Maste
f82b931e69
Belatedly bump Dd for my recent changes.
2007-04-11 20:31:06 +00:00
Ed Maste
52530e556c
Document PT_GETNUMLWPS.
2007-04-09 14:56:31 +00:00
Ed Maste
59513fc4ee
Describe PT_GETLWPLIST's arguments.
2007-04-07 03:16:23 +00:00
Pawel Jakub Dawidek
4e9f341722
Bump date.
2007-04-05 21:17:52 +00:00
Pawel Jakub Dawidek
f6521d1c31
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
Bruce M Simpson
fd46d76ecf
Wordsmithery.
...
Pointed out by: ru
2007-03-09 19:43:42 +00:00
Bruce M Simpson
7b7b32179e
Document SO_ACCEPTCONN.
...
Submitted by: Vlad GALU (with changes)
MFC after: 3 days
2007-03-08 12:57:12 +00:00
Bruce M Simpson
9dba3fec85
Fix license. Clause 4 is still required (UCB materiel).
...
Submitted by: rwatson
Pointy hat to: bms
2007-03-07 13:38:11 +00:00
Bruce M Simpson
13f35fd9be
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
Ruslan Ermilov
ff91121ada
Apply my patch properly.
2007-03-05 15:44:00 +00:00
Bruce M Simpson
693099c53f
Fix markup.
...
Submitted by: ru
MFC after: 2 days
2007-03-05 13:52:01 +00:00
Bruce M Simpson
491deb49c4
.Xr nit.
...
Submitted by: brueffer
2007-03-05 12:54:03 +00:00
Bruce M Simpson
4802040ebf
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
Randall Stewart
7c3768006d
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
Randall Stewart
d8b5fd91b9
First cut of the sctp man pages. Still need work.
2007-02-22 14:32:39 +00:00
Tom Rhodes
13d8c69070
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
Christian Brueffer
db47cc8851
New sentence -> new line. While here, fix apostrophe abuse.
2007-02-14 07:38:39 +00:00
Julian Elischer
973884f038
Change the date.
2007-02-13 23:06:39 +00:00
Julian Elischer
d712ee4985
Make the kse man page reflect the removal of the KSEGRP kernel abstraction.
2007-02-13 23:02:15 +00:00
Mike Pritchard
cbd21da6b2
Docment the acceptable values for the id parameter.
2007-02-01 02:31:02 +00:00
Pawel Jakub Dawidek
e9f0620b9f
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
Warner Losh
7dcf45c07b
Remove 3rd clause, renumber, ok per email
2007-01-12 07:31:30 +00:00
Maxim Konovalov
eb15e82311
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
Warner Losh
c879ae3536
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
Pawel Jakub Dawidek
155d1456f5
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
Pawel Jakub Dawidek
bc87da10b6
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
Pawel Jakub Dawidek
5a05b91821
- 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
Pawel Jakub Dawidek
6a8780971a
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 L. B. Nielsen
d076b71719
Bump modification date for last update.
2006-12-28 17:15:21 +00:00
Simon L. B. Nielsen
42d5d7751a
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
Pawel Jakub Dawidek
b613495e3c
chflags(2) returns EPERM when user tries to set or remove the SF_SNAPSHOT flag.
2006-12-15 19:23:27 +00:00
Pawel Jakub Dawidek
0b0bc2bb7c
- 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
Pawel Jakub Dawidek
10873dafaf
Append-only flag also denies chown(2).
2006-12-13 22:17:58 +00:00
Pawel Jakub Dawidek
a4319b6585
Much more correct EFTYPE description.
2006-12-13 13:46:01 +00:00