glibc/nscd
Adhemerval Zanella 8ed005daf0 Remove stat wrapper functions, move them to exported symbols
This patch removes the stat, stat64, lstat, lstat64, fstat, fstat64,
fstatat, and fstatat64 static wrapper and add the symbol on the libc
with the expected names.

Both the prototypes of the internal symbol linked by the static
wrappers and the inline redirectors are also removed from the installed
sys/stat.h header file.  The wrapper implementation license LGPL
exception is also removed since it is no longer statically linked to
binaries.

Internally the _STAT_VER* definitions are moved to a arch-specific
xstatver.h file.  The internal defines that redirects internals
{f}stat{at} to their {f}xstat{at} counterparts are removed for Linux
(!NO_RTLD_HIDDEN).  Hurd still requires them since {f}stat{at} pulls
extra objects that makes the loader build fail otherwise (I haven't
dig into why exactly).

Checked with a build for all affected ABIs. I also checked on x86_64,
i686, powerpc, powerpc64le, sparcv9, sparc64, s390, and s390x.

Reviewed-by: Lukasz Majewski <lukma@denx.de>
2020-10-09 17:02:06 -03:00
..
aicache.c
cache.c nscd: bump GC cycle during cache pruning (bug 26130) 2020-09-17 17:59:11 +02:00
cachedumper.c
connections.c
dbg_log.c
dbg_log.h
Depend
gai.c Remove stat wrapper functions, move them to exported symbols 2020-10-09 17:02:06 -03:00
getgrgid_r.c
getgrnam_r.c
gethstbyad_r.c
gethstbynm3_r.c
getpwnam_r.c
getpwuid_r.c
getsrvbynm_r.c
getsrvbypt_r.c
grpcache.c
hstcache.c
initgrcache.c
Makefile
mem.c nscd: bump GC cycle during cache pruning (bug 26130) 2020-09-17 17:59:11 +02:00
netgroupcache.c
nscd_conf.c
nscd_getai.c
nscd_getgr_r.c
nscd_gethst_r.c
nscd_getpw_r.c
nscd_getserv_r.c
nscd_helper.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
nscd_initgroups.c
nscd_netgroup.c
nscd_proto.h
nscd_setup_thread.c
nscd_stat.c
nscd-client.h
nscd.c
nscd.conf
nscd.h
nscd.init
nscd.service
nscd.tmpfiles
pwdcache.c
res_hconf.c
selinux.c Disable warnings due to deprecated libselinux symbols used by nss and nscd 2020-07-23 12:20:38 +02:00
selinux.h
servicescache.c