From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Date: Thu, 13 Mar 2014 03:52:35 +0000 Subject: Re: [PATCH v2 2/2] kallsyms: handle special absolute symbols Message-Id: <87lhwevk98.fsf@rustcorp.com.au> List-Id: References: <1394240425-11647-1-git-send-email-keescook@chromium.org> <1394240425-11647-3-git-send-email-keescook@chromium.org> <87y50fuei5.fsf@rustcorp.com.au> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Kees Cook Cc: Linus Torvalds , Andrew Morton , Andrew Honig , Michal Marek , "x86@kernel.org" , Tejun Heo , Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org, LKML Kees Cook writes: > Why not just do this with 0-base-address detection like my v2? That > would mean we don't need to remember to add this flag in the future to > imagined new architectures that might want this 0-based per_cpu > feature. Because future architectures will get this right and emit absolute symbols. I hope! I'm swamped at the moment, but am hoping to investigate that for x86-64. This is a stop-gap. Cheers, Rusty.