| 1269 | } |
| 1270 | |
| 1271 | int x_lstat(const char *fname, STRUCT_STAT *fst, STRUCT_STAT *xst) |
| 1272 | { |
| 1273 | int ret = do_lstat_at(fname, fst); |
| 1274 | if ((ret < 0 || get_stat_xattr(fname, -1, fst, xst) < 0) && xst) |
| 1275 | xst->st_mode = 0; |
| 1276 | return ret; |
| 1277 | } |
| 1278 | |
| 1279 | int x_fstat(int fd, STRUCT_STAT *fst, STRUCT_STAT *xst) |
| 1280 | { |
no test coverage detected