summaryrefslogtreecommitdiff
path: root/test/mmap/mmap2.c
AgeCommit message (Collapse)Author
2016-06-15Fix hardcoded mmap offsetEugeniy Paltsev
mmap offset must be a multiple of the page size. It was hardcoded to 4K, so mmap2 test failed on non-4K page size architectures. Now we get page size using sysconf(_SC_PAGE_SIZE). Build and run tests done on nsim arc hs38. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
2016-06-15test: mmap2 is not ARM specificWaldemar Brodkorb
2016-06-08test: add new mmap tests from glibcWaldemar Brodkorb
Rename mmap2 test as this is a ARM specific test, only execute on ARM systems. Add more new tests from glibc.
2012-01-16tests: mmap2: ignore permission denied errors on /dev/memMike Frysinger
Non-root users can't open /dev/mem, so it makes it hard to pass. Ignore that case. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2007-05-15Fix arm mmap when using mmap2 syscall. Fixes bug #1303Khem Raj