1998-07-02 22:51:40 +00:00
|
|
|
libc {
|
|
|
|
GLIBC_2.0 {
|
|
|
|
# global variables
|
|
|
|
___brk_addr; __curbrk; __progname; __progname_full;
|
|
|
|
|
|
|
|
# interface of malloc functions
|
|
|
|
__sbrk; __getpagesize;
|
|
|
|
|
|
|
|
# functions used in other libraries
|
|
|
|
__select;
|
|
|
|
|
|
|
|
# variables in normal name space
|
|
|
|
error_message_count; error_one_per_line; error_print_progname;
|
|
|
|
|
|
|
|
# variables in normal name space
|
|
|
|
loc1; loc2; locs;
|
|
|
|
program_invocation_name; program_invocation_short_name;
|
|
|
|
|
|
|
|
# a*
|
|
|
|
acct; addmntent; advance;
|
|
|
|
|
Update.
1998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Make-dist (+sysdep-tsrcs): Add Versions.
1998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
__fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
* sysdeps/powerpc/Versions: New file.
* csu/Versions: Remove brk, sbrk, environ, __environ, _environ
and __errno_location.
* misc/Versions: Add brk and sbrk.
* posix/Versions: Add environ, __environ and _environ.
* sysdeps/unix/sysv/linux/Versions: Add __errno_location.
1998-07-10 11:58 Ulrich Drepper <drepper@cygnus.com>
* Makerules [no_defs]: Avoid dependency for loading sysd-versions.
Patch by Zack Weinberg.
1998-07-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* posix/annexc.c (errno_maybe): EACCESS->EACCES.
(signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
(mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
* signal/signal.h: Define pid_t also for __USE_XOPEN.
1998-07-10 20:45:28 +00:00
|
|
|
# b*
|
|
|
|
brk;
|
|
|
|
|
1998-07-02 22:51:40 +00:00
|
|
|
# c*
|
|
|
|
chflags; chroot; closelog;
|
|
|
|
|
|
|
|
# d*
|
|
|
|
daemon; dirname;
|
|
|
|
|
|
|
|
# e*
|
|
|
|
ecvt; ecvt_r; endfsent; endmntent; endttyent; endusershell;
|
|
|
|
|
|
|
|
# e*
|
|
|
|
err; error; error_at_line; errx;
|
|
|
|
|
|
|
|
# f*
|
|
|
|
fchflags; fcvt; fcvt_r; fdatasync; fsync; ftruncate;
|
|
|
|
|
|
|
|
# g*
|
|
|
|
gcvt; get_avphys_pages; get_nprocs; get_nprocs_conf; get_phys_pages;
|
|
|
|
getfsent; getfsfile; getfsspec; gethostid; gethostname; getmntent;
|
|
|
|
getmntent_r; getpagesize; getpass; getttyent; getttynam; getusershell;
|
|
|
|
gtty;
|
|
|
|
|
|
|
|
# h*
|
|
|
|
hasmntopt; hcreate; hcreate_r; hdestroy; hdestroy_r; hsearch; hsearch_r;
|
|
|
|
|
|
|
|
# i*
|
|
|
|
insque; ioctl;
|
|
|
|
|
|
|
|
# j*
|
|
|
|
jrand48; jrand48_r; lfind; lsearch;
|
|
|
|
|
|
|
|
# m*
|
|
|
|
madvise; mkstemp; mktemp; mlock; mlockall; mmap; mount; mprotect; msync;
|
|
|
|
munlock; munlockall; munmap;
|
|
|
|
|
|
|
|
# o*
|
|
|
|
openlog;
|
|
|
|
|
|
|
|
# p*
|
|
|
|
ptrace;
|
|
|
|
|
|
|
|
# q*
|
|
|
|
qecvt; qecvt_r; qfcvt; qfcvt_r; qgcvt;
|
|
|
|
|
|
|
|
# r*
|
1998-10-24 01:31:41 +00:00
|
|
|
readv; reboot; remque; revoke;
|
1998-07-02 22:51:40 +00:00
|
|
|
|
|
|
|
# s*
|
Update.
1998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Make-dist (+sysdep-tsrcs): Add Versions.
1998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
__fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
* sysdeps/powerpc/Versions: New file.
* csu/Versions: Remove brk, sbrk, environ, __environ, _environ
and __errno_location.
* misc/Versions: Add brk and sbrk.
* posix/Versions: Add environ, __environ and _environ.
* sysdeps/unix/sysv/linux/Versions: Add __errno_location.
1998-07-10 11:58 Ulrich Drepper <drepper@cygnus.com>
* Makerules [no_defs]: Avoid dependency for loading sysd-versions.
Patch by Zack Weinberg.
1998-07-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* posix/annexc.c (errno_maybe): EACCESS->EACCES.
(signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
(mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
* signal/signal.h: Define pid_t also for __USE_XOPEN.
1998-07-10 20:45:28 +00:00
|
|
|
sbrk; select; setdomainname; setfsent; sethostent; sethostid; sethostname;
|
1998-07-02 22:51:40 +00:00
|
|
|
setlogmask; setmntent; setregid; setreuid; setttyent; setusershell; sstk;
|
|
|
|
stty; sync; syscall; syslog;
|
|
|
|
|
|
|
|
# t*
|
|
|
|
tdelete; tfind; truncate; tsearch; ttyslot; twalk;
|
|
|
|
|
|
|
|
# u*
|
|
|
|
ualarm; usleep; ustat; utimes;
|
|
|
|
|
|
|
|
# v*
|
|
|
|
verr; verrx; vhangup; vsyslog; vwarn; vwarnx;
|
|
|
|
|
|
|
|
# w*
|
|
|
|
warn; warnx;
|
|
|
|
|
|
|
|
# w*
|
|
|
|
writev;
|
|
|
|
}
|
|
|
|
GLIBC_2.1 {
|
|
|
|
# f*
|
|
|
|
ftruncate64;
|
|
|
|
|
|
|
|
# m*
|
|
|
|
mmap64;
|
|
|
|
|
|
|
|
# t*
|
|
|
|
tdestroy; truncate64;
|
|
|
|
}
|
1999-07-06 16:26:03 +00:00
|
|
|
GLIBC_2.2 {
|
1999-10-04 05:30:05 +00:00
|
|
|
# g*
|
|
|
|
getloadavg;
|
|
|
|
|
1999-07-06 16:26:03 +00:00
|
|
|
# m*
|
2000-09-26 09:57:34 +00:00
|
|
|
mincore; mkdtemp; mkstemp64;
|
2000-04-14 05:45:32 +00:00
|
|
|
|
|
|
|
# p*
|
|
|
|
posix_madvise;
|
1999-07-06 16:26:03 +00:00
|
|
|
}
|
2002-08-23 09:29:27 +00:00
|
|
|
GLIBC_2.3 {
|
|
|
|
# f*
|
|
|
|
fgetxattr; flistxattr; fremovexattr; fsetxattr;
|
2002-08-27 02:10:01 +00:00
|
|
|
futimes;
|
2002-08-23 09:29:27 +00:00
|
|
|
|
|
|
|
# g*
|
|
|
|
getxattr;
|
|
|
|
|
|
|
|
# l*
|
|
|
|
listxattr;
|
|
|
|
lgetxattr; llistxattr; lremovexattr; lsetxattr;
|
2002-08-27 02:10:01 +00:00
|
|
|
lutimes;
|
2002-08-23 09:29:27 +00:00
|
|
|
|
|
|
|
# r*
|
|
|
|
removexattr;
|
|
|
|
|
|
|
|
# s*
|
|
|
|
setxattr;
|
|
|
|
}
|
2003-03-03 10:05:49 +00:00
|
|
|
GLIBC_2.3.3 {
|
|
|
|
remap_file_pages;
|
|
|
|
}
|
2005-07-30 06:00:43 +00:00
|
|
|
GLIBC_2.4 {
|
* io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64,
fchownat, and unlinkat.
(static-only-routines): Add fstatat and fstatat64.
(tests): Add tst-unlinkat, tst-fstatat, tst-futimesat, tst-renameat,
and tst-fchownat.
* io/Versions [GLIBC_2.4]: Add fchownat, __fxstatat, __fxstatat64,
and unlinkat.
* io/fcntl.h: Define AT_FDCWD, AT_SYMLINK_NOFOLLOW, and AT_REMOVEDIR.
* io/fstatat.c: New file.
* io/fstatat64.c: New file.
* io/sys/stat.h: Declare fstatat, fstatat64, __fxstatat, __fxstatat64
and define fstatat and fstatat64 inline functions.
* libio/stdio.h: Declare renameat.
* misc/Makefile (routines): Add futimesat.
* misc/Versions [GLIBC_2.4]: Add futimesat.
* posix/unistd.h: Declare fchownat and unlinkat.
* stdio-common/Makefile (routines): Add renameat.
* stdio-common/Versions [GLIBC_2.4]: Add renameat.
* sysdeps/generic/fchownat.c: New file.
* sysdeps/generic/futimesat.c: New file.
* sysdeps/generic/fxstatat.c: New file.
* sysdeps/generic/fxstatat64.c: New file.
* sysdeps/generic/renameat.c: New file.
* sysdeps/generic/unlinkat.c: New file.
* sysdeps/unix/sysv/linux/fchownat.c: New file.
* sysdeps/unix/sysv/linux/futimesat.c: New file.
* sysdeps/unix/sysv/linux/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/fxstatat64.c: New file.
* sysdeps/unix/sysv/linux/renameat.c: New file.
* sysdeps/unix/sysv/linux/unlinkat.c: New file.
* sysdeps/unix/sysv/linux/alpha/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/i386/fchownat.c: New file.
* sysdeps/unix/sysv/linux/i386/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/m68k/fchownat.c: New file.
* sysdeps/unix/sysv/linux/m68k/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/powerpc/fchownat.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/sh/fchownat.c: New file.
* sysdeps/unix/sysv/linux/sh/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c: New file.
* time/sys/time.h: Declare futimesat.
* include/fcntl.h: Declare __atfct_seterrno.
* sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): New function.
Split out from openat code and called.
(do_test): Allow openat to fail with ENOSYS. Handle AT_FDCWD.
* sysdeps/generic/openat.c: Handle AT_FDCWD.
* sysdeps/generic/openat64.c: Likewise.
* io/tst-unlinkat.c: New file.
* io/tst-fstatat.c: New file.
* io/tst-futimesat.c: New file.
* io/tst-renameat.c: New file.
* io/tst-fchownat.c: New file.
* io/tst-openat.c: Don't fail if openat is not implemented.
* sysdeps/unix/sysv/linux/powerpc/chown.c: Don't provide backward
compatibility code if new kernel is guaranteed.
* time/sys/time.h: Add a few nonnull attributes.
2005-11-11 20:02:07 +00:00
|
|
|
futimesat;
|
2005-07-30 06:00:43 +00:00
|
|
|
__syslog_chk; __vsyslog_chk;
|
|
|
|
}
|
2007-08-11 02:48:28 +00:00
|
|
|
GLIBC_2.7 {
|
|
|
|
mkostemp; mkostemp64;
|
|
|
|
}
|
2009-04-03 19:57:16 +00:00
|
|
|
GLIBC_2.10 {
|
|
|
|
preadv; preadv64; pwritev; pwritev64;
|
|
|
|
}
|
2009-10-30 07:11:07 +00:00
|
|
|
GLIBC_2.11 {
|
2009-10-30 15:02:30 +00:00
|
|
|
mkstemps; mkstemps64; mkostemps; mkostemps64;
|
2009-10-30 07:11:07 +00:00
|
|
|
}
|
2011-04-01 17:08:28 +00:00
|
|
|
GLIBC_2.14 {
|
|
|
|
syncfs;
|
|
|
|
}
|
2012-05-20 17:34:00 +00:00
|
|
|
GLIBC_2.16 {
|
|
|
|
__getauxval; getauxval;
|
|
|
|
}
|
2012-10-04 23:31:43 +00:00
|
|
|
GLIBC_PRIVATE {
|
|
|
|
__madvise;
|
2013-01-15 13:36:09 +00:00
|
|
|
__mktemp;
|
2012-10-10 14:47:59 +00:00
|
|
|
__libc_ifunc_impl_list;
|
Fix sem_* tdelete, tfind, tsearch, twalk namespace (bug 18536).
The sem_* functions bring in references to tdelete, tfind, tsearch and
twalk. But the t* functions are XSI-shaded, while sem_* aren't. This
patch fixes this by using __t* instead, exporting those functions from
libc at version GLIBC_PRIVATE (since sem_* are in libpthread) and
using libc_hidden_* for the benefit of calls within libc.
Tested for x86_64 and x86 (testsuite, and comparison of disassembly of
installed stripped shared libraries). libpthread gets changes from
PLT reordering; addresses in libc change because of PLT / dynamic
symbol table changes.
[BZ #18536]
* misc/tsearch.c (__tsearch): Use libc_hidden_def.
(__tfind): Likewise.
(__tdelete): Likewise.
(__twalk): Likewise.
* misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
__twalk to GLIBC_PRIVATE.
* include/search.h (__tsearch): Use libc_hidden_proto.
(__tfind): Likewise.
(__tdelete): Likewise.
(__twalk): Likewise.
* nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
Call __tdelete instead of tdelete.
* nptl/sem_open.c (check_add_mapping): Call __tfind instead of
tfind. Call __tsearch instead of tsearch.
* sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
* conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
Remove variable.
(test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2015-06-17 20:11:58 +00:00
|
|
|
__tdelete; __tfind; __tsearch; __twalk;
|
2012-10-04 23:31:43 +00:00
|
|
|
}
|
1998-07-02 22:51:40 +00:00
|
|
|
}
|