Merge "Add fileno_unlocked to support thread sanitizer."

This commit is contained in:
Yabin Cui 2015-11-07 00:24:52 +00:00 committed by Gerrit Code Review
commit 0e6542b75b
9 changed files with 12 additions and 0 deletions

View file

@ -270,6 +270,7 @@ int vasprintf(char ** __restrict, const char * __restrict,
void clearerr_unlocked(FILE*);
int feof_unlocked(FILE*);
int ferror_unlocked(FILE*);
int fileno_unlocked(FILE*);
/*
* Stdio function-access interface.

View file

@ -1310,6 +1310,7 @@ LIBC_N {
__pwrite_chk;
__pwrite64_chk;
__write_chk;
fileno_unlocked;
getgrgid_r;
getgrnam_r;
preadv;

View file

@ -1156,6 +1156,7 @@ LIBC_N {
__pwrite_chk;
__pwrite64_chk;
__write_chk;
fileno_unlocked;
getgrgid_r;
getgrnam_r;
preadv;

View file

@ -1337,6 +1337,7 @@ LIBC_N {
__pwrite_chk;
__pwrite64_chk;
__write_chk;
fileno_unlocked;
getgrgid_r;
getgrnam_r;
preadv;

View file

@ -1273,6 +1273,7 @@ LIBC_N {
__pwrite_chk;
__pwrite64_chk;
__write_chk;
fileno_unlocked;
getgrgid_r;
getgrnam_r;
preadv;

View file

@ -1156,6 +1156,7 @@ LIBC_N {
__pwrite_chk;
__pwrite64_chk;
__write_chk;
fileno_unlocked;
getgrgid_r;
getgrnam_r;
preadv;

View file

@ -1271,6 +1271,7 @@ LIBC_N {
__pwrite_chk;
__pwrite64_chk;
__write_chk;
fileno_unlocked;
getgrgid_r;
getgrnam_r;
preadv;

View file

@ -1156,6 +1156,7 @@ LIBC_N {
__pwrite_chk;
__pwrite64_chk;
__write_chk;
fileno_unlocked;
getgrgid_r;
getgrnam_r;
preadv;

View file

@ -99,3 +99,7 @@ int feof_unlocked(FILE* fp) {
int ferror_unlocked(FILE* fp) {
return __sferror(fp);
}
int fileno_unlocked(FILE* fp) {
return __sfileno(fp);
}