From: naresh k. <nar...@gm...> - 2009-06-25 13:28:36
|
Hi, >+#ifdef __NR_personality >int main(int ac, char **av) >{ >+#else >+int main(int ac, char **av) >+{ >+ tst_resm(TCONF, "personality() not defined in your system"); >+ tst_exit(); >+} >+#endif Instead of using #ifdef __NR_personality in test code, Better we will add these this syscall numbers in the ltp/testcases/kernel/include/ARCHXXX.in files. This can be Multi ARCH support. Jiri, I think you are doing Multi ARCH support right? Your suggestions are welcome :) Best regards Naresh Kamboju |