[Bug 206017] mips binary has segments with different permissions in same page

2022-07-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206017

Ed Maste  changed:

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |Overcome By Events

--- Comment #3 from Ed Maste  ---
MIPS has now been removed from main, and does not seem worth worrying about in
stable branches.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 206017] mips binary has segments with different permissions in same page

2018-10-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206017

Ed Maste  changed:

   What|Removed |Added

   Assignee|ema...@freebsd.org  |b...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 206017] mips binary has segments with different permissions in same page

2016-01-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206017

Mark Linimon  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|ema...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 206017] mips binary has segments with different permissions in same page

2016-01-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206017

--- Comment #1 from commit-h...@freebsd.org ---
A commit references this bug:

Author: emaste
Date: Fri Jan  8 00:56:42 UTC 2016
New revision: 293403
URL: https://svnweb.freebsd.org/changeset/base/293403

Log:
  Revert r293201, r293202 (rtld: populate DT_DEBUG iff DYNAMIC segment is
writable)

  It turns out MIPS binaries may have other oddities that can trigger a
  fault at startup.

  PR:   206017
  Reported by:  ray

Changes:
  head/libexec/rtld-elf/rtld.c
  head/libexec/rtld-elf/rtld.h

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 206017] mips binary has segments with different permissions in same page

2016-01-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206017

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: ema...@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   0x34 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   0x00 0x0040 0x0040 0x2b42c 0x2b42c R E 0x1
  LOAD   0x02b42c 0x0043b42c 0x0043b42c 0x00b68 0x01bb8 RW  0x1
  DYNAMIC0x000194 0x00400194 0x00400194 0x000f8 0x000f8 RWE 0x4
  NOTE   0x00014c 0x0040014c 0x0040014c 0x00030 0x00030 R   0x4
  NULL   0x00 0x 0x 0x0 0x0 0x4

 Section to Segment mapping:
  Segment Sections...
   00 
   01 .interp 
   02 .reginfo 
   03 .interp .note.tag .reginfo .dynamic .hash .dynsym .dynstr
.gnu.version .gnu.version_r .init .text .MIPS.stubs .fini .rodata .eh_frame 
   04 .ctors .dtors .jcr .data.rel.ro .data .rld_map .got .sdata .bss 
   05 .dynamic 
   06 .note.tag 
   07

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"