From owner-freebsd-bugs@freebsd.org Fri Jan 8 00:47:07 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91C9EA65C51 for ; Fri, 8 Jan 2016 00:47:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B8141A0B for ; Fri, 8 Jan 2016 00:47:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u080l7JR024589 for ; Fri, 8 Jan 2016 00:47:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 206017] mips binary has segments with different permissions in same page Date: Fri, 08 Jan 2016 00:47:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 00:47:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206017 Bug ID: 206017 Summary: mips binary has segments with different permissions in same page Product: Base System Version: 11.0-CURRENT Hardware: mips OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: emaste@freebsd.org MIPS binary has a PT_DYNAMIC segment with RWE perms in the same page as PT_= NOTE with R only; rtld cannot actually accommodate this. volta% readelf -l sh Elf file type is EXEC (Executable file) Entry point 0x4037e0 There are 8 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000034 0x00400034 0x00400034 0x00100 0x00100 R E 0x4 INTERP 0x000134 0x00400134 0x00400134 0x00015 0x00015 R 0x1 [Requesting program interpreter: /libexec/ld-elf.so.1] LOPROC+0 0x00017c 0x0040017c 0x0040017c 0x00018 0x00018 R 0x4 LOAD 0x000000 0x00400000 0x00400000 0x2b42c 0x2b42c R E 0x10000 LOAD 0x02b42c 0x0043b42c 0x0043b42c 0x00b68 0x01bb8 RW 0x10000 DYNAMIC 0x000194 0x00400194 0x00400194 0x000f8 0x000f8 RWE 0x4 NOTE 0x00014c 0x0040014c 0x0040014c 0x00030 0x00030 R 0x4 NULL 0x000000 0x00000000 0x00000000 0x00000 0x00000 0x4 Section to Segment mapping: Segment Sections... 00=20=20=20=20=20 01 .interp=20 02 .reginfo=20 03 .interp .note.tag .reginfo .dynamic .hash .dynsym .dynstr .gnu.version .gnu.version_r .init .text .MIPS.stubs .fini .rodata .eh_frame= =20 04 .ctors .dtors .jcr .data.rel.ro .data .rld_map .got .sdata .bss=20 05 .dynamic=20 06 .note.tag=20 07 --=20 You are receiving this mail because: You are the assignee for the bug.=