Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1548422 - xemacs: Missing ASLR
Summary: xemacs: Missing ASLR
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: xemacs
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Fedora28BuildFlags
TreeView+ depends on / blocked
 
Reported: 2018-02-23 13:10 UTC by Florian Weimer
Modified: 2018-11-22 22:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-22 22:52:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2018-02-23 13:10:04 UTC
The xemacs program is currently built as a position-dependent executable (i.e., not PIE), which means no address space layout randomization (ASLR) hardening.

I wonder if it possible to use the portable dumper and enable full ASLR.

Comment 1 Jerry James 2018-02-23 14:51:23 UTC
I know that ASLR breaks some XEmacs configurations, but I'm not certain if it breaks all of them.  I will experiment this weekend and see if something can be done.

Comment 2 Jerry James 2018-02-26 03:09:31 UTC
ASLR conflicts with the techniques XEmacs uses to build both the portable dumper and the garbage collector.  Enabling ASLR would require architectural changes that are unlikely to happen now, given that upstream is very nearly dead.  While I am technically part of upstream myself, I never worked on either the dumper or the garbage collector, so am unfamiliar with that code.

I think we have to leave hardening disabled on this package for it to function.

Comment 3 Jan Kurik 2018-08-14 11:08:11 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 4 Jerry James 2018-11-22 22:52:32 UTC
I do not believe there is anything that can be done about this (with a reasonable amount of effort anyway), so I am closing this bug.


Note You need to log in before you can comment on or make changes to this bug.