summaryrefslogtreecommitdiff
path: root/sys/compat/common/compat_dir.c
AgeCommit message (Collapse)Author
2001-04-10Don't seg-fault on file systems that don't support cookies. Thanks toConstantine Sapuntzakis
Jason Ish for finding this one.
2001-01-23SunOS, IBCS2, Linux, and SVR4 all require translations of directory entriesConstantine Sapuntzakis
from OpenBSD format to their respective native formats. A lot of common code here for interfacing with OpenBSD VOP_READDIR. Most of this code and logic has been moved to common/compat_dir.c When reading a portion of the directory, the compatibility layer registers a callback which is passed an OpenBSD-style dirent and the cookie/offset.