Hi,
with 2.6.27-rc1(?) linux/dirent.h got removed Kbuild headers_install targe and
dirent struct got removed:
commit cf6ae8b50e0ee3f764392dadd1970e3f03c40773
Author: Adrian Bunk <[EMAIL PROTECTED]>
Date: Fri Jul 25 01:46:46 2008 -0700
remove the in-kernel struct dirent{,64}
The kernel struct dirent{,64} were different from the ones in
userspace.
Even worse, we exported the kernel ones to userspace.
But after the fat usages are fixed we can remove the conflicting
kernel versions.
This broke the build of some LTP syscalls testcases for "getdents", since the
<linux/dirent.h> include is missing and the "internal" dirent struct get/got
used in:
testcases/kernel/syscalls/getdents/getdents01.c
testcases/kernel/syscalls/getdents/getdents03.c
testcases/kernel/syscalls/getdents/getdents02.c
testcases/kernel/syscalls/getdents/getdents04.c
http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kernel/syscalls/getdents/
Is it safe to use the userspace dirent struct from <dirent.h> to fix the build
of this? Or what should be used for testing the getdents interface instead?
best regards,
Daniel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list