glibc/manual
Carlos O'Donell 032f225008 Files open O_WRONLY not supported in fallocate emulation.
In the posix_fallocate description in the manual we list various
drawbacks with the emulation, including the fact that a file opened
with O_APPEND fails with EBADF. Similarly a file opened with O_WRONLY
fails with EBADF. We must be able to emulate a compare-and-swap via
pread/compare/pwrite in order to make the emulation as safe as possible.
It is not acceptable to ignore the read failure because it could result
in significant data loss across all of the blocks. There is no other way
to make this work without a true atomic CAS and SIGBUS handler (which
is looking more attractive as a way to remove the race condition).

This patch adds O_WRONLY to the manual as another bullet to clarify the
limits of the emulation.

Manual looks good in PDF.
2015-09-29 11:32:36 -04:00
..
examples
argp.texi
arith.texi
charset.texi
check-safety.sh
conf.texi
contrib.texi
creature.texi
crypt.texi
ctype.texi
debug.texi
dir
errno.texi manual: complete example in error message documentation 2015-03-06 00:59:49 -05:00
fdl-1.3.texi
filesys.texi Files open O_WRONLY not supported in fallocate emulation. 2015-09-29 11:32:36 -04:00
freemanuals.texi
getopt.texi
header.texi
install-plain.texi
install.texi timezone: add a configure flag to disable program install 2015-09-18 19:39:46 -04:00
intro.texi
io.texi
ipc.texi
job.texi
lang.texi
lgpl-2.1.texi
libc-texinfo.sh
libc.texinfo
libcbook.texi
libdl.texi
libm-err-tab.pl
llio.texi Fix exponents in manual. 2015-08-20 09:43:50 +02:00
locale.texi
macros.texi Fix exponents in manual. 2015-08-20 09:43:50 +02:00
maint.texi
Makefile manual: skip build when perl is unavailable 2015-08-21 17:10:59 -04:00
math.texi Refine documentation of libm exceptions goals. 2015-02-17 23:41:27 +00:00
memory.texi
message.texi
nss.texi
nsswitch.texi
pattern.texi Avoid SIGFPE in wordexp [BZ #18100] 2015-03-23 16:12:38 +01:00
pipe.texi
platform.texi PowerPC: Extend Program Priority Register support 2015-08-19 17:43:26 -03:00
probes.texi
process.texi
resource.texi
search.texi
setjmp.texi
signal.texi
socket.texi
startup.texi
stdio-fp.c
stdio.texi Fix exponents in manual. 2015-08-20 09:43:50 +02:00
string.texi Fix typo in safety annotations in envz_remove 2015-05-20 02:36:13 +05:30
summary.awk
sysinfo.texi
syslog.texi
terminal.texi
texinfo.tex
texis.awk
threads.texi
time.texi * manual/time.texi (TZ Variable): glibc no longer comes with tzdata. 2015-02-16 15:32:34 -08:00
tsort.awk
users.texi
xtract-typefun.awk