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
ume
6c74892876
Use _kevent() instead of kevent().
...
Requested by: nork
2006-12-04 17:08:43 +00:00
dds
782cf0f37f
Minor clarification.
2006-12-03 19:26:17 +00:00
maxim
520a9a218b
o As POSIX requires confstr(3) returns zero on errors, not -1.
...
PR: misc/106234
Submitted by: Guy Harris
MFC after: 1 week
2006-12-03 08:22:36 +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
cognet
93ee84a578
Cleanup: we always have to use __error() now, and we shouldn't provide a
...
errno symbol, so completely remove the !_REENTRANT case.
Spotted out by: ru
2006-11-09 01:28:16 +00:00
ru
adde7c231a
Remove a forgotten file.
2006-11-08 21:29:20 +00:00
cognet
367bc6b8e0
Instead of re-implementing hton[ls] and friends for each arch, add a new MI
...
file, net/ntoh.c, which just implement them using the inline functions from
<sys/endian.h>.
Suggested by: bde
2006-11-06 22:07:47 +00:00
cognet
55a9fb22cc
Provide definitions suitable for arm big-endian.
2006-11-06 20:49:23 +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
lawrance
20a2ef67d2
Document return values for res_query and res_search.
...
h_errno is not an extern int, just a macro providing an integer lvalue.
PR: doc/50573
Submitted by: Ronald F.Guilmette <rfg@monkeys.com>
Reviewed by: trhodes
MFC after: 3 days
2006-11-04 09:42:22 +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
kmacy
73954d8d22
- change ABI for user trap handler for sun4v (eventually will sync sparc64 no
...
hardware set up to test at the moment)
Approved by: scottl (standing in for mentor rwatson)
2006-11-03 23:43:18 +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
bde
fd31361d3d
Backed out rev.1.10 (a special case for amd64). The amd64 mcount code
...
never needed any frame pointers for itself.
2006-10-28 13:34:35 +00:00
ru
e80cd771cb
Add missing markup bits.
...
Submitted by: Emil Mikulic
2006-10-28 13:05:10 +00:00
ume
89159bd1c6
Merge res_send.c of BIND9 9.3.3rc2 into main chunk. It includes
...
following fix:
Retransmission timeouts should be based on which attempt
it is to the nameserver and not the nameserver itself.
Obtained from: ISC
MFC after: 3 days
2006-10-24 14:41:43 +00:00
kib
e6083a98d8
Revert the rev. 1.4, it causes breakage on most arches except i386.
...
Remove the const qualifier from ap argument for __v2printf, that induced
that breakage, and seems to be the real reason for bad code. ap is modified
inside the __v2printf body by va_arg macro.
Pointy hat to: kib
Approved by: pjd (mentor)
2006-10-23 07:25:25 +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
kib
3c7ee268c4
Workaround for (what seems to be) compiler error for gcc 3.4.6. On
...
i386 with default optimization level (-O2), va_list pointer ap in the
__v2printf function is advanced before the use. That cause argument
shift and garbage instead last argument in printf-family when xprintf is
activated.
The nsswitch is easy victim of the bug.
Reviewed by: kan
Approved by: kan (mentor)
MFC after: 1 week
2006-10-21 11:49:07 +00:00
ache
9a7ddac59a
file == NULL:
...
Issue __sflush() before possible setting O_APPEND mode or ftruncate(),
write to wrong place may occurse oserwise.
Use simplified _sseek() to the start, if no O_APPEND is set, instead
of _fseeko() (_sseek() to the end, if O_APPEND, occurse later, as for
file != NULL).
Don't check seek error return, as original fopen() and freopen() never
does.
file != NULL:
Add missing _sseek() to the end.
2006-10-16 14:31:56 +00:00
ache
98e47524e9
Honor errno obtained from __sflags
...
Move errno restoring after FUNLOCKFILE in one case
2006-10-16 09:57:15 +00:00