- Code: Select all
Testing denied write of /dev/mem... : PASSED
Testing denied mmap write of /dev/kmem... : FAILED
Testing denied open of /dev/port... : PASSED
Testing denied write of /dev/kmem... : PASSED
Testing denied mmap write of /dev/kmem... : FAILED
I think the first "Testing denied mmap write of /dev/kmem" should say "Testing denied mmap write of /dev/mem". The mmap testing code is
- Code: Select all
fd = open("/dev/kmem", O_RDWR);
retp = mmap(NULL, 1000, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
close(fd);
if (retp == MAP_FAILED)
printf("PASSED\n");
else
printf("FAILED\n");
On a machine running 2.1.5-2.4.30-200504082027, all the tests pass as expected.
Is this something I should be concerned about? I saw mention of kmem changes related to ATI video cards in the announcement, but this machine has an S3 card in it.
Thanks!