Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3019817imm; Sun, 30 Sep 2018 09:55:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV63iWNtMM1DiQXeWeFC85PVIARhvpxTwblSbBN1XxCQ1pJxQApRTvs2GmIp/90sw2pP9ZTfI X-Received: by 2002:a63:bc12:: with SMTP id q18-v6mr6857205pge.353.1538326540680; Sun, 30 Sep 2018 09:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538326540; cv=none; d=google.com; s=arc-20160816; b=C3vumzUqppsZwYCjEDhJvPavYj1NPLn/QYV96M9qe+L4xsxzqUdnWnU2Rz+9nGHTdp vO6Dh1AXPVWW92U8uzNL6dDyXOWTyucti8xMugfNz9zmnCjc227OS4Ye2dG4sgkUjQAY cRqqTi8ShARRo1mK50YCfcn9j1im+zfKyrMfdqw0uS7qk+MNCG8ShowppsnA+DZ0SlzP 7IdMRBeD+kb2GJBHP4u7VFG3T3VUm1hVCbHWI+kWpemtUGbBEUihN52hxaoElMvrpDK4 iG+dquxjZQ5O5Fljw5v+/HHhaQ+2ZCQ2KHXFrjUYsHmsQ3bYtukgnyGBfE8+v92wniEz hpOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=UqkVJiOAKV7vz+zGLp0JsG6E5mB7xxNSq0E0LWO7XQo=; b=TWAc0N0DtFAzkyavJZAoNpms+RfVN5EPYeFHaDdt0bGSGTlMllXb6Z5tJ3GC0OHzSm RCyWZd7WI0T6IOhexouJUiVM2gohJQi4QZux5oAVpZkRGmvJmtAmh0cEPmr5g3Wmr1yQ T2RZdBvvkrugjtfJAKBOBP76N+HUkjbVOmzGqlitjRGyF0xiZosid1qp4csGn3MtMW0f y6yvnaVxun2lAb9w3k3U4WbLSahnSN2oEK7PqjmQdyJfj5Yi+XeQmSa71ApNjYo2X2Q6 J4OSWSZoSl0LEEOai6on24fFiGat1CSE3ZTFZ6+Ob9csY3dCf2Q9UQlJawTitqXby/w2 /X+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=DG4V8xi6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3-v6si6774601pld.456.2018.09.30.09.55.25; Sun, 30 Sep 2018 09:55:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=DG4V8xi6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728482AbeI3X3F (ORCPT + 99 others); Sun, 30 Sep 2018 19:29:05 -0400 Received: from mail-yw1-f68.google.com ([209.85.161.68]:35445 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727519AbeI3X3F (ORCPT ); Sun, 30 Sep 2018 19:29:05 -0400 Received: by mail-yw1-f68.google.com with SMTP id y76-v6so4586917ywd.2 for ; Sun, 30 Sep 2018 09:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UqkVJiOAKV7vz+zGLp0JsG6E5mB7xxNSq0E0LWO7XQo=; b=DG4V8xi6gyDln/ygDHLdqnzZSINZ3zpWEvEp9Zo1QG8g2Dc2sAKQxTE2E46nw/yQu/ fl/hRLA/Lu+CFg0xVgdoShGhI4cDJ/mffFoBd5zaIU34AOeGbkZl58NgQ9a9Khfw5I34 x7UtZWtY8FlK/qSTORwlYg6i1bmpZpnwoObwQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UqkVJiOAKV7vz+zGLp0JsG6E5mB7xxNSq0E0LWO7XQo=; b=UpjES5fzV8gguwzyNNq0anmdDAO8w/QTEffGUxs5+00dL6GAiU6AV15y3OcIo1S5TH AZYOrLT0CSBFzqg5r92HPt0HnJnnOtL5WlCJkjrD+Q0iPnvA205d8WuBzps5TBm6QJhA /X8d5YkQnvQfqQHGnxLQzGUbqTH6wTZZPsAXToWdSKWzqw039blLLDmG3uVX96cgRJvE 90iIL3p3aF8r7y6Oprcb+FIzb4tHYKhlP/zJYjIRlIegpmJyBHgJu7n4IZeYR47VOk84 /dOweclzf5k5nqA8y2/i5QyZ2wBBjXndwnEjXW9/Ovy23P1oYU02neOX98B7HZjbsuL/ 0Mjw== X-Gm-Message-State: ABuFfohVFNXlOSq8XjRdnosMVNcXzjVlRfMIaFOhtPzMxd+YAJ2NO6DC 7ztLMDaouoYmLTGTHy+cEIM2OzjFQSs= X-Received: by 2002:a81:2803:: with SMTP id o3-v6mr3829710ywo.299.1538326517813; Sun, 30 Sep 2018 09:55:17 -0700 (PDT) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com. [209.85.219.181]) by smtp.gmail.com with ESMTPSA id k184-v6sm4187272ywc.62.2018.09.30.09.55.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Sep 2018 09:55:15 -0700 (PDT) Received: by mail-yb1-f181.google.com with SMTP id c4-v6so4663172ybl.6 for ; Sun, 30 Sep 2018 09:55:14 -0700 (PDT) X-Received: by 2002:a25:8091:: with SMTP id n17-v6mr3974253ybk.209.1538326514459; Sun, 30 Sep 2018 09:55:14 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:d116:0:0:0:0:0 with HTTP; Sun, 30 Sep 2018 09:55:13 -0700 (PDT) In-Reply-To: <20180930164950.3841-1-ard.biesheuvel@linaro.org> References: <20180930164950.3841-1-ard.biesheuvel@linaro.org> From: Kees Cook Date: Sun, 30 Sep 2018 09:55:13 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] s390: vmlinux.lds: move JUMP_TABLE_DATA into output section To: Ard Biesheuvel Cc: linux-s390 , LKML , Guenter Roeck , Heiko Carstens , Thomas Gleixner , Ingo Molnar , Martin Schwidefsky , Jessica Yu , Peter Zijlstra Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 30, 2018 at 9:49 AM, Ard Biesheuvel wrote: > Commit e872267b8bcbb179 ("jump_table: move entries into ro_after_init > region") moved the __jump_table input section into the __ro_after_init > output section, but inadvertently put the macro in the wrong place in > the s390 linker script. Let's fix that. > > Fixes: e872267b8bcbb179 ("jump_table: move entries into ro_after_init region") > Reported-by: Guenter Roeck > Cc: Heiko Carstens > Cc: Kees Cook > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: Martin Schwidefsky > Cc: Jessica Yu > Cc: Peter Zijlstra > Signed-off-by: Ard Biesheuvel Reviewed-by: Kees Cook -Kees > --- > arch/s390/kernel/vmlinux.lds.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S > index 4042bbf3f9ad..457713f48734 100644 > --- a/arch/s390/kernel/vmlinux.lds.S > +++ b/arch/s390/kernel/vmlinux.lds.S > @@ -64,9 +64,9 @@ SECTIONS > __start_ro_after_init = .; > .data..ro_after_init : { > *(.data..ro_after_init) > + JUMP_TABLE_DATA > } > EXCEPTION_TABLE(16) > - JUMP_TABLE_DATA > . = ALIGN(PAGE_SIZE); > __end_ro_after_init = .; > > -- > 2.17.1 > -- Kees Cook Pixel Security