From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Parschauer Subject: Re: [PATCH] binfmt_elf: Fix bug in loading of PIE binaries Date: Thu, 16 Jul 2015 21:57:25 +0200 Message-ID: <55A80CA5.2000104@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Alexander Viro , Jiri Kosina , Kees Cook , linux-fsdevel@vger.kernel.org, Sebastian Parschauer To: Michael Davidson Return-path: Received: from mout.gmx.net ([212.227.15.15]:64334 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755915AbbGPT6F (ORCPT ); Thu, 16 Jul 2015 15:58:05 -0400 In-Reply-To: 1428965343-17762-1-git-send-email-md@google.com Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi, I'm a professional Linux game cheater and the co-maintainer of scanmem. With scanmem we determine the load addresses for PIC and PIE binaries to be able to support static memory cheating with ASLR. At the moment ugtrain is the only universal game trainer able to determine the PIE load address as well and to re-add it to the found match offset from scanmem. I'd like to complain a bit about this patch as it makes the address space layout for the executable really ugly by loading unrelated stuff between .text and .rodata. Is it really required on top of 3.13 or 3.16 where Ubuntu has put it? I've also checked v4.2-rc1. There everything is beautiful again. Thank you very much for that! References: https://github.com/scanmem/scanmem/issues/122 https://github.com/ugtrain/ugtrain Thanks, Sebastian