glibc/io/Versions
Ulrich Drepper ddfd053577 * Makerules (sysd-rules): Define PTW for ptw-* files.
* Versions: Define GLIBC_2.7 for libc.
	* include/stdio.h: Declare __fortify_fail.
	* debug/fortify_fail.c: New file.
	* debug/Makefile (routines): Add fortify_fail.
	* debug/chk_fail.c: Use __fortify_fail.
	* debug/stack_chk_fail.c: Likewise.
	* io/Versions: Export __open_2, __open64_2, __openat_2, and
	__openat64_2 for GLIBC_2.7.
	* io/fcntl.h: When compiling with fortification, include bits/fcntl2.h.
	* io/open.c: Define *_2 variant of function which checks for O_CREAT
	and fails if necessary.
	* io/open64.c: Likewise.
	* io/openat.c: Likewise.
	* io/openat64.c: Likewise.
	* sysdeps/unix/sysv/linux/open64.c: Likewise.
	* sysdeps/unix/sysv/linux/openat.c: Likewise.
	* sysdeps/unix/sysv/linux/openat64.c: Likewise.
	* io/bits/fcntl2.h: New file.
	* include/fcntl.h: Declare __open_2, __open64_2, __openat_2, and
	__openat64_2.
	* include/bits/fcntl2.h: New file.
	* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
	Add open_2.
	* sysdeps/unix/sysv/linux/open_2.c: New file.
2007-05-24 23:55:28 +00:00

123 lines
1.7 KiB
Plaintext

libc {
GLIBC_2.0 {
# functions used in inline functions or macros
__xstat; __fxstat; __lxstat; __xmknod; __write; __close; __fcntl;
__lseek; __open; __read;
# functions used by libstdc++ 2.7.2
__dup2; __pipe;
# a*
access;
# c*
chdir; chmod; chown; close; creat;
# d*
dup; dup2;
# e*
euidaccess;
# f*
fchdir; fchmod; fchown; fcntl; flock; fstatfs; fts_children; fts_close;
fts_open; fts_read; fts_set; ftw;
# g*
get_current_dir_name; getcwd; getwd;
# i*
isatty;
# l*
lchown; link; lockf; lseek;
# m*
mkdir; mkfifo;
# o*
open;
# p*
pipe; poll;
# r*
read; readlink; rmdir;
# s*
statfs; symlink;
# t*
ttyname; ttyname_r;
# u*
umask; unlink; utime;
# w*
write;
}
GLIBC_2.1 {
# functions used in other libraries
__xstat64; __fxstat64; __lxstat64; __poll;
# c*
creat64;
# f*
fstatfs64; fstatvfs; fstatvfs64; ftw64;
# l*
lockf64; lseek64;
# n*
nftw; nftw64;
# o*
open64;
# s*
sendfile;
statfs64; statvfs; statvfs64;
}
GLIBC_2.2 {
# p*
posix_fadvise; posix_fadvise64; posix_fallocate; posix_fallocate64;
__open64;
}
GLIBC_2.3 {
# s*
sendfile64;
}
GLIBC_2.3.2 {
# l*
lchmod;
}
GLIBC_2.3.3 {
# n*
nftw; nftw64;
}
GLIBC_2.4 {
eaccess;
faccessat;
fchmodat;
fchownat;
__fxstatat; __fxstatat64;
linkat;
mkdirat; mkfifoat; __xmknodat;
openat; openat64;
readlinkat;
symlinkat;
unlinkat;
ppoll;
}
GLIBC_2.6 {
utimensat; futimens;
}
GLIBC_2.7 {
__open_2; __open64_2; __openat_2; __openat64_2;
}
}