#31 patch for mmap03 testcase for hppa architecture

System Calls
closed-fixed
nobody
Testcases (27)
5
2007-07-24
2007-07-15
No

The mmap03 testcase checks if a mmap()'d region which was mapped with PROT_EXEC (but without PROT_READ) access flags is readable.

On most architectures PROT_EXEC includes PROT_READ as well. The IA64 architecture is one exception, and so it segfaults (which is expected).

The PARISC/hppa architecture is similiar to IA64 and is expected to produce a segfault as well. This trivial patch adds the necessary changes to the sourcecode to expect the segfault for the PARISC platform.

Please apply.

Discussion

  • Helge Deller

    Helge Deller - 2007-07-15

    patch for mmap03.c to expect the correct results on the PARISC architecture

     
  • Mike Frysinger

    Mike Frysinger - 2007-07-21

    Logged In: YES
    user_id=114429
    Originator: NO

    applied to cvs ... in the future, please make diffs against the top the tree

     
  • Subrata Modak

    Subrata Modak - 2007-07-24

    Logged In: YES
    user_id=1737361
    Originator: NO

    Already Merged into CVS by Mike Frysinger

     
  • Subrata Modak

    Subrata Modak - 2007-07-24
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks