Thread (30 messages) 30 messages, 4 authors, 2021-12-07

Re: [PATCH v8 06/14] FG-KASLR: use a scripted approach to handle .text.* sections

flat view

From: Peter Zijlstra <peterz@infradead.org>
Date: 2021-12-03 09:55:10
Also in: linux-arch, linux-hardening, linux-kbuild, lkml, llvm

On Thu, Dec 02, 2021 at 11:32:06PM +0100, Alexander Lobakin wrote:
+#!/usr/bin/env perl
+		($name, $align) = $_ =~ /^\s*\[[\s0-9]*\]\s*(\.\S*)\s*[A-Z]*\s*[0-9a-f]{16}\s*[0-9a-f]*\s*[0-9a-f]*\s*[0-9a-f]*\s*[0-9a-f]{2}\s*[A-Z]{2}\s*[0-9]\s*[0-9]\s*([0-9]*)$/;
+		if (!($name =~ /^\.text\.[0-9a-zA-Z_]*((\.constprop|\.isra|\.part)\.[0-9])*(|\.[0-9cfi]*)$/)) {
:-(
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help