Denys Vlasenko
|
4f506bb95a
fix opendir, fpathconf and ttyname_r to use fstat64(), not fstat()
|
5 gadi atpakaļ |
Bernhard Reutner-Fischer
|
920db6d393
libc: Avoid redundant setting of ENOMEM
|
10 gadi atpakaļ |
Timo Teras
|
0eadd98d30
libc: remove libc weak __pthreads_* wrappers
|
14 gadi atpakaļ |
Austin Foxley
|
9a737ab7a4
use *_not_cancel variants to avoid accidental cancellations with nptl
|
15 gadi atpakaļ |
Mike Frysinger
|
b8f1f91cc6
clean up O_CLOEXEC handling
|
15 gadi atpakaļ |
Denys Vlasenko
|
93f8a2e834
convert // comments to /**/; remove empty #if/#endif pairs. no code changes
|
15 gadi atpakaļ |
Denys Vlasenko
|
fdf14ae2e6
do not save/restore errno around free() calls
|
15 gadi atpakaļ |
Denys Vlasenko
|
abb3587fe9
CLOEXEC: use open(CLOEXEC) if exist; do not check fcntl(FD_CLOEXEC) failure
|
15 gadi atpakaļ |
Mike Frysinger
|
fd72e30425
first pass at implementing *at funcs
|
15 gadi atpakaļ |
Denis Vlasenko
|
cb97aadebf
Last portion of libc_hidden_proto removal.
|
16 gadi atpakaļ |
Denis Vlasenko
|
b133fe1cac
next portion of libc_hidden_proto removal
|
16 gadi atpakaļ |
Denis Vlasenko
|
e8c6de1939
libc_hidden_proto removal, just a few functions
|
16 gadi atpakaļ |
Carmelo Amoroso
|
96c028b213
Revert latest changes. Instead of applying this work-around
|
16 gadi atpakaļ |
Carmelo Amoroso
|
06f8c11fef
Removed pointless initialization to 0 of DIR fields
|
17 gadi atpakaļ |
Carmelo Amoroso
|
d53b49e5f5
Fix opendir problem when statically linked due to a missing
|
17 gadi atpakaļ |
Peter S. Mazinger
|
7f7444e68d
remove fstat jump reloc
|
19 gadi atpakaļ |
Mike Frysinger
|
ad6612eb8e
rfelker reports in Bug 683 that we leak file descriptors if the fcntl() fails ... so fix that. add back in fstat() ofter we open() the directory as we need the blocksize further down in the code. unify the memory error handling to shrink the code there a little.
|
19 gadi atpakaļ |
Mike Frysinger
|
71b20283a6
add note about racecondition
|
19 gadi atpakaļ |
Mike Frysinger
|
f4bfb87ce5
use O_DIRECTORY when possible, saves us from having to use stat() thus cutting codesize/race condition
|
19 gadi atpakaļ |
Mike Frysinger
|
772b1913c7
add some copyright/license info
|
19 gadi atpakaļ |
Peter S. Mazinger
|
af0172162f
hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed
|
19 gadi atpakaļ |
Peter S. Mazinger
|
f32600208f
Convert all users of earlier hiddens
|
19 gadi atpakaļ |
Peter S. Mazinger
|
3c84ded68a
Convert internal users of chmod/*stat*, minimize change for __strsep
|
19 gadi atpakaļ |
Peter S. Mazinger
|
942357a798
Implement __x versions
|
19 gadi atpakaļ |
Mike Frysinger
|
aab07d0500
macro out the thread funcs in libc if threading is disabled
|
19 gadi atpakaļ |
Peter S. Mazinger
|
8a0b43005a
Hide mostly used functions
|
19 gadi atpakaļ |
Manuel Novoa III
|
d05dafe2fc
Fix a long-standing bug with pthreads. A couple of linuxthreads files
|
21 gadi atpakaļ |
Eric Andersen
|
cd4a333977
Fixup totally broken locking code... No storage for the mutex,
|
22 gadi atpakaļ |
Eric Andersen
|
a4f0758150
Implement readdir_r. Audit for proper thread safety and locking.
|
22 gadi atpakaļ |
Eric Andersen
|
62653059d6
Scrub up some lingering problems preventing readdir64 from working
|
23 gadi atpakaļ |