#6101 NORM Never A: OFW botches ELF file loading

Zarro Boogs per Child bugtracker at laptop.org
Sat Jan 19 20:30:00 EST 2008


#6101: OFW botches ELF file loading
---------------------------------+------------------------------------------
 Reporter:  wmb at firmworks.com    |       Owner:  wmb at firmworks.com
     Type:  defect               |      Status:  new              
 Priority:  normal               |   Milestone:  Never Assigned   
Component:  ofw - open firmware  |     Version:                   
 Keywords:                       |    Verified:  0                
 Blocking:                       |   Blockedby:                   
---------------------------------+------------------------------------------
 When loading a program that is in ELF format, OFW screws up the memory
 mapping for the loaded program, thus causing a page fault when copying the
 program to its load address.

 Workaround:

   ok patch 10000 over ?memtest-elf-map-in

 Then boot the .elf program normally.

 This is not a security issue because no signed OS images is in ELF format,
 thus you can only attempt to boot an ELF image if you are already in
 unsecure state.

-- 
Ticket URL: <http://dev.laptop.org/ticket/6101>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list