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

Summary: xemacs: Missing ASLR
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: xemacsAssignee: Jerry James <loganjerry>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: loganjerry, steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-22 22:52:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1539083    

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.