[haiku-bugs] Re: [Haiku] #9685: OpenGL apps crashes

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Mon, 22 Apr 2013 09:24:04 -0000

#9685: OpenGL apps crashes
-----------------------------+---------------------------------------------
   Reporter:  Giova84        |      Owner:  kallisti5
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  R1
  Component:  Kits/OpenGL    |    Version:  R1/Development
  Kit                        |   Keywords:  opengl applications crash error
 Resolution:                 |   Blocking:
 Blocked By:                 |   Platform:  x86
Has a Patch:  0              |
-----------------------------+---------------------------------------------

Comment (by bonefish):

 Replying to [comment:4 phoudoin]:
 > Question is does we have an userland API to create an executable area!?

 The `B_EXECUTE_AREA` flag for `create_area()` and friends is currently
 private (though we should change that eventually). However, the
 <sys/mman.h> API already allows creation of/changing protection to
 executable memory ranges.

 > Which, ironically, will make all this ASLR & co security effort quite
 pointless...

 Well, that's a bit exaggerated. It is certainly thinkable that the API is
 used in an attack vector, but using it is made significantly more
 difficult due to DEP and ASLR.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9685#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: