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
das
24a4f9a492
Handle inf/nan correctly.
2007-01-06 21:50:04 +00:00
das
04ab9d0942
The distinction between quiet and signaling NaN formats is
...
machine-dependent; these files tell the latest version of gdtoa
what to do.
2007-01-03 05:00:03 +00:00
das
59fd405588
Fix rounding of 0xf for hex fp formats.
...
PR: 90333
2007-01-03 04:57:58 +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
marius
7bebf7360d
Fix a typo in __fpu_ftox() that caused long double to long (and long long)
...
conversion of negative numbers to always result in -1.
While at it, rearrange the nearby comment so it fits in 80 chars per line,
like the rest of this file does.
PR: 107130
MFC after: 1 day
2006-12-24 22:24:39 +00:00
jasone
9667303e99
Implement chunk allocation/deallocation hysteresis by caching one spare
...
chunk per arena, rather than immediately deallocating all unused chunks.
This fixes a potential performance issue when allocating/deallocating
an object of size (4kB..1MB] in a loop.
Reported by: davidxu
2006-12-23 00:18:51 +00:00
jmg
406c54c0f9
add a missing the...
...
MFC after: 3 days
2006-12-19 20:20:39 +00:00
rodrigc
0ce5d91ed1
Consistently use a socklen_t type where required, and eliminate
...
GCC warning "dereferencing type-punned pointer will
break strict-aliasing rules".
Reviewed by: rrs
2006-12-16 06:03:43 +00:00
ume
705f242eca
Merge BIND9 9.3.3 into main chunk.
...
Obtained from: ISC
MFC after: 1 week
2006-12-15 20:59:55 +00:00
ume
89a3ca4811
Vendor import of BIND 9.3.3
2006-12-15 20:49:44 +00:00
ume
bf42d1f92c
This commit was generated by cvs2svn to compensate for changes in r165254,
...
which included commits to RCS files with non-trunk default branches.
2006-12-15 20:49:44 +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
rrs
45136271b2
This adds the "system calls"
...
sctp_getaddrlen()
sctp_connectx()
sctp_bindx()
sctp_opt_info()
sctp_getpaddrs()
sctp_freepaddrs()
sctp_getladdrs()
sctp_freeladdrs()
sctp_sendmsg()
sctp_getassocid()
sctp_send()
sctp_sendx()
sctp_sendmsgx()
sctp_recvmsg()
sctp_peeloff()
Manual pages will be forthcoming (and the commit to porters-handbook)
2006-12-15 12:01:50 +00:00
imp
7cc2522d0a
band-aide until _SC_PHYS_PAGES actually is defined
2006-12-14 22:14:14 +00:00
pjd
fbddb38d93
Add support for _SC_PHYS_PAGES, which is not standard, but can be found in
...
Solaris and Linux.
2006-12-14 14:32:59 +00:00
pjd
1080ddcf3f
Document _SC_PAGESIZE. There are still 85 undocumented variables.
...
Obtained from: NetBSD
2006-12-14 14:27:15 +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