Hi! > static void setup(void) > @@ -191,9 +191,11 @@ static void setup(void) > sflag ? SAFE_STRTOL(NULL, sz_opt, 1, LONG_MAX - PADDING_SIZE * 2) > : 100000; > > -#if !defined(__NR_process_vm_readv) > +#if !defined(__NR_process_vm_writev) > tst_brkm(TCONF, NULL, "process_vm_writev does not exist " > "on your system"); > +#else > + ltp_syscall(__NR_process_vm_writev, 0, NULL, 0, NULL, 0, 0); > #endif > semid = init_sem(1);
If you add the __NR_process_vm_writev to at least one of the testscases/kernel/include/*.in and run regen script (make clean && make in the corresponding dir), the linux_syscall_numbers.h will contain at least stubs and ltp_syscall() will be able to handle both situations. -- Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
