To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=70488





------- Additional comments from [EMAIL PROTECTED] Tue Oct 17 04:27:34 -0700 
2006 -------
mhu->jsi: How to verify: application (e.g. soffice.bin) how have a new (ELF)
Program Header (PHDR) of type "SUNWSTACK" with Flags "rw-" (read/write, but not
execute).

# dump -ov soffice.bin

soffice.bin:
 ***** PROGRAM EXECUTION HEADER *****
Type        Offset      Vaddr       Paddr
Filesz      Memsz       Flags       Align

PHDR        0x34        0x10034     0
0xc0        0xc0        r-x         0

INTERP      0xf4        0           0
0x11        0           r--         0

LOAD        0           0x10000     0
0x5d72a     0x5d72a     r-x         0x10000

LOAD        0x5d72c     0x7d72c     0
0x3de8      0x3e2c      rwx         0x10000

DYN         0x5f6bc     0x7f6bc     0
0x218       0           rwx         0

SUNWSTACK   0           0           0
0           0           rw-         0

Thus, a running application (e.g. soffice.bin) now has a non-executable stack:

# pmap -x 15975
15975:  ./soffice.bin
 Address  Kbytes     RSS    Anon  Locked Mode   Mapped File
00010000     376     368       -       - r-x--  soffice.bin
0007C000      24      24      16       - rwx--  soffice.bin
00082000    6248    6224    5816       - rwx--    [ heap ]
...
FF280000     848     848       -       - r-x--  libc.so.1
FF364000      32      32      24       - rwx--  libc.so.1
FF36C000       8       8       8       - rwx--  libc.so.1
FF380000       8       8       8       - rwx--    [ anon ]
FF390000       8       8       8       - rwx--    [ anon ]
FF3A0000      24      24      24       - rwx--    [ anon ]
FF3B0000     176     176       -       - r-x--  ld.so.1
FF3E4000      16      16       -       - r-x--  libthread.so.1
FF3EC000       8       8       8       - rwx--  ld.so.1
FF3EE000       8       8       8       - rwx--  ld.so.1
FF3F8000      16      16       -       - r-x--  libpthread.so.1
FFBF6000      40      40      40       - rw---    [ stack ]
-------- ------- ------- ------- -------
total Kb  139128   82152   11728       -


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to