#4223 BLOC Never A: Spinlock lockup on resume

Zarro Boogs per Child bugtracker at laptop.org
Mon Oct 15 16:13:18 EDT 2007


#4223: Spinlock lockup on resume
----------------------+-----------------------------------------------------
  Reporter:  cjb      |       Owner:  dilinger      
      Type:  defect   |      Status:  new           
  Priority:  blocker  |   Milestone:  Never Assigned
 Component:  kernel   |     Version:                
Resolution:           |    Keywords:                
  Verified:  0        |  
----------------------+-----------------------------------------------------

Comment(by dilinger):

 selinux_bprm_set_security:

     2cac:       89 e8                   mov    %ebp,%eax
 stuff 'bprm' into %eax
     2cae:       ff 52 40                call   *0x40(%edx)
 call secondary_ops->bprm_set_security (which is set to
 cap_bprm_set_security)

 cap_bprm_set_security:

  216:   c7 80 18 01 00 00 00    movl   $0x0,0x118(%eax)
 do { bprm->cap_inheritable =  0UL; } while(0)
  21d:   00 00 00
  220:   89 c2                   mov    %eax,%edx
  222:   c7 80 1c 01 00 00 00    movl   $0x0,0x11c(%eax)

 In the above dump, ce88ec00 is the address of bprm (in %eax, %ebp, etc).
 We asplode on the first instruction of cap_bprm_set_security; 0xce88ec00 +
 0x118 = 0xce88ed18 (the address of bprm->cap_inheritable).  I'm not sure
 where 0xcf08ed18 comes from, but note that 0xcf08ed18 - 0xce88ed18 =
 0x800000..  Anyone have any idea?

-- 
Ticket URL: <https://dev.laptop.org/ticket/4223#comment:4>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list