Lines 1181-1189
Link Here
|
1181 |
|
1181 |
|
1182 |
/* wrapper template for __xstat family; note that we abuse the sticky bit in |
1182 |
/* wrapper template for __xstat family; note that we abuse the sticky bit in |
1183 |
* the emulated /dev to indicate a block device (the sticky bit has no |
1183 |
* the emulated /dev to indicate a block device (the sticky bit has no |
1184 |
* real functionality for device nodes) */ |
1184 |
* real functionality for device nodes) |
|
|
1185 |
* This family got deprecated/dropped in glibc 2.32.9000, but we still need |
1186 |
* to keep it for a while for programs that were built against previous versions */ |
1185 |
#define WRAP_VERSTAT(prefix, suffix) \ |
1187 |
#define WRAP_VERSTAT(prefix, suffix) \ |
1186 |
int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st) \ |
1188 |
int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st); \ |
1187 |
{ \ |
1189 |
{ \ |
1188 |
const char *p; \ |
1190 |
const char *p; \ |
1189 |
libc_func(prefix ## stat ## suffix, int, int, const char*, struct stat ## suffix *); \ |
1191 |
libc_func(prefix ## stat ## suffix, int, int, const char*, struct stat ## suffix *); \ |
Lines 1317-1323
Link Here
|
1317 |
WRAP_4ARGS(ssize_t, -1, getxattr, const char*, void*, size_t); |
1319 |
WRAP_4ARGS(ssize_t, -1, getxattr, const char*, void*, size_t); |
1318 |
WRAP_4ARGS(ssize_t, -1, lgetxattr, const char*, void*, size_t); |
1320 |
WRAP_4ARGS(ssize_t, -1, lgetxattr, const char*, void*, size_t); |
1319 |
|
1321 |
|
1320 |
#ifdef __GLIBC__ |
1322 |
#ifdef HAVE_XSTAT |
1321 |
WRAP_VERSTAT(__x,); |
1323 |
WRAP_VERSTAT(__x,); |
1322 |
WRAP_VERSTAT(__x, 64); |
1324 |
WRAP_VERSTAT(__x, 64); |
1323 |
WRAP_VERSTAT(__lx,); |
1325 |
WRAP_VERSTAT(__lx,); |