Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Could not find an ELF PaX PT_NOTE
In article <20091001152335.GA947%marx.net.bit@localhost>,
Jukka Ruohonen <jruohonen%iki.fi@localhost> wrote:
>Hi.
>
>On a i386 5.99.19 with
>
># sysctl security.pax
>security.pax.mprotect.enabled = 1
>security.pax.mprotect.global = 1
>security.pax.segvguard.enabled = 1
>security.pax.segvguard.global = 0
>security.pax.segvguard.expiry_timeout = 120
>security.pax.segvguard.suspend_timeout = 600
>security.pax.segvguard.max_crashes = 5
>security.pax.aslr.enabled = 1
>security.pax.aslr.global = 1
>security.pax.aslr.mmap_len = 16
>security.pax.aslr.stack_len = 12
>security.pax.aslr.exec_len = 12
>
>the paxctl(8) complains about missing note section for all ELF executables,
>
># paxctl +a /bin/ls
>paxctl: Could not find an ELF PaX PT_NOTE section in `/bin/ls'
># paxctl +m /bin/ls
>paxctl: Could not find an ELF PaX PT_NOTE section in `/bin/ls'
>
>although it clearly seems to be in the file,
>
># readelf --notes /bin/ls
>
>Notes at offset 0x00000108 with length 0x00000018:
> Owner Data size Description
> NetBSD 0x00000004 NT_VERSION (version)
>
>Notes at offset 0x00000120 with length 0x00000014:
> Owner Data size Description
> PaX 0x00000004 Unknown note type: (0x00000003)
>
Can't reproduce it.
christos
Home |
Main Index |
Thread Index |
Old Index