| 1 |
#include <sys/stat.h> |
| 2 |
|
| 3 |
#if !_REDIR_TIME64 |
| 4 |
|
| 5 |
int __fxstat(int ver, int fd, struct stat *buf) |
| 6 |
{ |
| 7 |
return fstat(fd, buf); |
| 8 |
} |
| 9 |
|
| 10 |
int __fxstatat(int ver, int fd, const char *path, struct stat *buf, int flag) |
| 11 |
{ |
| 12 |
return fstatat(fd, path, buf, flag); |
| 13 |
} |
| 14 |
|
| 15 |
int __lxstat(int ver, const char *path, struct stat *buf) |
| 16 |
{ |
| 17 |
return lstat(path, buf); |
| 18 |
} |
| 19 |
|
| 20 |
int __xstat(int ver, const char *path, struct stat *buf) |
| 21 |
{ |
| 22 |
return stat(path, buf); |
| 23 |
} |
| 24 |
|
| 25 |
weak_alias(__fxstat, __fxstat64); |
| 26 |
weak_alias(__fxstatat, __fxstatat64); |
| 27 |
weak_alias(__lxstat, __lxstat64); |
| 28 |
weak_alias(__xstat, __xstat64); |
| 29 |
|
| 30 |
#endif |
| 31 |
|
| 32 |
int __xmknod(int ver, const char *path, mode_t mode, dev_t *dev) |
| 33 |
{ |
| 34 |
return mknod(path, mode, *dev); |
| 35 |
} |
| 36 |
|
| 37 |
int __xmknodat(int ver, int fd, const char *path, mode_t mode, dev_t *dev) |
| 38 |
{ |
| 39 |
return mknodat(fd, path, mode, *dev); |
| 40 |
} |