Re: [PATCH v14 1/4] futex_wait06: Add EFAULT error coverage test
Cyril Hrubis <[email protected]>
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
Hi! > + bad = SAFE_MMAP(NULL, getpagesize(), PROT_READ | PROT_WRITE, > + MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); > + SAFE_MUNMAP((void *)bad, getpagesize()); > +} I've changed the test to use the tst_get_bad_addr() library function isntead and pushed, thanks. -- Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp