coredump() proceeds as follows: 1. coredump() calls gencore() 2. gencore() allocates ELF header to stack 3. gencore() prepares the core table and record the address of the ELF header to the table and return to coredump() 4. coredump() offloads __NR_coredump with the address of the core table This fix prevents the ELF header from getting destroyed in the 3rd step. Change-Id: I770418c1658a6fdb640bb491fc076a31dfd41c22 Fujitsu: POSTK_TEMP_FIX_39
12 KiB
12 KiB