On 5/20/2004 2:06 PM, Arnd Bergmann wrote: > Arnd Bergmann schrieb am 20.05.2004, 22:54:01: > >>The attachment has an older (but so far untested) patch of mine >>to consolidate the syscalls from fs/readdir.c. > Thanks for the patch. We made a few changes to the patch: - use put_user instead of copy_to_user for simple data types. - Couple of more instances where a 64 bit copy needs to be split into two compat_filldir64(): __put_user(offset, &dirent->d_off) compat_sys_getdents64(): __put_user(d_off, &lastdirent->d_off) With these changes, we don't see unaligned faults anymore. -Arun