mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
26cec518ac
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.
138 lines
2.4 KiB
Plaintext
138 lines
2.4 KiB
Plaintext
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;
|
|
|
|
# b*
|
|
brk;
|
|
|
|
# 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*
|
|
readv; reboot; remque; revoke;
|
|
|
|
# s*
|
|
sbrk; select; setdomainname; setfsent; sethostent; sethostid; sethostname;
|
|
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;
|
|
}
|
|
GLIBC_2.2 {
|
|
# g*
|
|
getloadavg;
|
|
|
|
# m*
|
|
mincore; mkdtemp; mkstemp64;
|
|
|
|
# p*
|
|
posix_madvise;
|
|
}
|
|
GLIBC_2.3 {
|
|
# f*
|
|
fgetxattr; flistxattr; fremovexattr; fsetxattr;
|
|
futimes;
|
|
|
|
# g*
|
|
getxattr;
|
|
|
|
# l*
|
|
listxattr;
|
|
lgetxattr; llistxattr; lremovexattr; lsetxattr;
|
|
lutimes;
|
|
|
|
# r*
|
|
removexattr;
|
|
|
|
# s*
|
|
setxattr;
|
|
}
|
|
GLIBC_2.3.3 {
|
|
remap_file_pages;
|
|
}
|
|
GLIBC_2.4 {
|
|
futimesat;
|
|
__syslog_chk; __vsyslog_chk;
|
|
}
|
|
}
|