Yeah, now I think about it. glibc throws out entries which don't fit in
the data structure specified by the called API, so it probably threw out
the last entry which has UINT_MAX in d_off which doesn't fit in the
readdir() return structure. Using INT_MAX should be just fine as IDA
always allocates the first empty slot. We can add paranoia check in ino
allocation path.
--
tejun
-