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
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);
}