Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3023850ybt; Mon, 29 Jun 2020 13:11:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8Gd27KCneLBr+MiNHnDH008p7k7YFrIqspRJvU/gxcVQQ19T2w0Eexrc0py0Leawirz9B X-Received: by 2002:a50:e387:: with SMTP id b7mr18997484edm.190.1593461494098; Mon, 29 Jun 2020 13:11:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593461494; cv=none; d=google.com; s=arc-20160816; b=rbMDmDuttQdBhxvo+p34Xu9LGkF6/pqlfNXzKD/jxU2syq9qFMerEDQ6WNG4FInDqa ubIrsV5q75EFXbJhDxZdRuf9FczznRXBW3gaBMuCCKuLiSOowPzg5MoOarfh55+y19F8 Eify6iN+txWDrclqOAn9kPttIfwSW4MowMf6SQN1MSA0A4T4BgrKyabIU8Qaj4XpESn1 g95OkAZ16U4EdlRKJRSxN9qhOLfkPb2sIGOIqFuC/p8wZ3bjYXA71VJ3ahj86Jy97j2l Pl8MD0ph6kExlBjr3aYD3KjYX1aaUlCBRFI0OOD93hOXHzBrZGlE1s8lo8Iqn3VpTDvG ggnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:mime-version:user-agent :message-id:in-reply-to:date:references:cc:to:from; bh=pfqjviMw49cBRw0jR35yAeKJaBSpIpIkRs3oYqiN2+c=; b=VQshzwmZLgt8fB5SdxSrVmN3tfv1L0oMZsqzTQvbQvPsoIMtqA7t/DoNTf4VrQpeBN TYpu4We/dCDO4D8rZpM/SBMZCmcHkp4lVmVs4I5NOMG/9ZNvmMm5wx1tcfFZs0EneUG7 biltHGRKQKkAkkDMSgONFC4+hxF4slBKE+0HSoDboUK5kIq+tDcOIQoczJEPmA3UDxoC Uw5zcl+LhN3931yHCOLHl6B0Z0WYYR1+bemASe7GuN2cVkmYDuhvscQNs2hNv/xC0Xdy +z77F9O2RI4bn/uaR0rP/m4YwcSEabnA+13d82nvGbGeCWsIG7ND7rd2lYiDWFMLGeS4 vtXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xmission.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m19si289911edp.40.2020.06.29.13.11.10; Mon, 29 Jun 2020 13:11:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xmission.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728683AbgF2UKG (ORCPT + 99 others); Mon, 29 Jun 2020 16:10:06 -0400 Received: from out02.mta.xmission.com ([166.70.13.232]:37478 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727071AbgF2UKB (ORCPT ); Mon, 29 Jun 2020 16:10:01 -0400 Received: from in02.mta.xmission.com ([166.70.13.52]) by out02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jq06J-0003mh-VX; Mon, 29 Jun 2020 14:09:59 -0600 Received: from ip68-227-160-95.om.om.cox.net ([68.227.160.95] helo=x220.xmission.com) by in02.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1jq06J-0004T6-4B; Mon, 29 Jun 2020 14:09:59 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Cc: David Miller , Greg Kroah-Hartman , Tetsuo Handa , Alexei Starovoitov , Kees Cook , Andrew Morton , Alexei Starovoitov , Al Viro , bpf , linux-fsdevel , Daniel Borkmann , Jakub Kicinski , Masahiro Yamada , Gary Lin , Bruno Meneguele , LSM List , Casey Schaufler , Luis Chamberlain , Linus Torvalds References: <20200625095725.GA3303921@kroah.com> <778297d2-512a-8361-cf05-42d9379e6977@i-love.sakura.ne.jp> <20200625120725.GA3493334@kroah.com> <20200625.123437.2219826613137938086.davem@davemloft.net> <87pn9mgfc2.fsf_-_@x220.int.ebiederm.org> <87y2oac50p.fsf@x220.int.ebiederm.org> <87bll17ili.fsf_-_@x220.int.ebiederm.org> Date: Mon, 29 Jun 2020 15:05:27 -0500 In-Reply-To: <87bll17ili.fsf_-_@x220.int.ebiederm.org> (Eric W. Biederman's message of "Mon, 29 Jun 2020 14:55:05 -0500") Message-ID: <87ftad4ozc.fsf_-_@x220.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1jq06J-0004T6-4B;;;mid=<87ftad4ozc.fsf_-_@x220.int.ebiederm.org>;;;hst=in02.mta.xmission.com;;;ip=68.227.160.95;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX19HJ+Q2cBtWz31Qjezuq/ZK7ROsAlPYjXo= X-SA-Exim-Connect-IP: 68.227.160.95 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa04.xmission.com X-Spam-Level: X-Spam-Status: No, score=0.5 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,T_TM2_M_HEADER_IN_MSG,T_TooManySym_01,XMSubLong autolearn=disabled version=3.4.2 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * 0.7 XMSubLong Long Subject * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa04 0; Body=1 Fuz1=1 Fuz2=1] * 0.0 T_TooManySym_01 4+ unique symbols in subject X-Spam-DCC: ; sa04 0; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ; X-Spam-Relay-Country: X-Spam-Timing: total 398 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 11 (2.8%), b_tie_ro: 9 (2.4%), parse: 1.49 (0.4%), extract_message_metadata: 21 (5.4%), get_uri_detail_list: 2.0 (0.5%), tests_pri_-1000: 29 (7.2%), tests_pri_-950: 1.30 (0.3%), tests_pri_-900: 1.03 (0.3%), tests_pri_-90: 94 (23.7%), check_bayes: 92 (23.1%), b_tokenize: 9 (2.2%), b_tok_get_all: 5 (1.4%), b_comp_prob: 2.0 (0.5%), b_tok_touch_all: 72 (18.1%), b_finish: 1.23 (0.3%), tests_pri_0: 219 (55.1%), check_dkim_signature: 0.75 (0.2%), check_dkim_adsp: 2.1 (0.5%), poll_dns_idle: 0.42 (0.1%), tests_pri_10: 4.1 (1.0%), tests_pri_500: 11 (2.9%), rewrite_mail: 0.00 (0.0%) Subject: [PATCH v2 11/15] bpfilter: Move bpfilter_umh back into init data X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To allow for restarts 61fbf5933d42 ("net: bpfilter: restart bpfilter_umh when error occurred") moved the blob holding the userspace binary out of the init sections. Now that loading the blob into a filesystem is separate from executing the blob the blob no longer needs to live .rodata to allow for restarting. So move the blob back to .init.rodata. Link: https://lkml.kernel.org/r/87sgeidlvq.fsf_-_@x220.int.ebiederm.org Reviewed-by: Greg Kroah-Hartman Signed-off-by: "Eric W. Biederman" --- net/bpfilter/bpfilter_umh_blob.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bpfilter/bpfilter_umh_blob.S b/net/bpfilter/bpfilter_umh_blob.S index 9ea6100dca87..40311d10d2f2 100644 --- a/net/bpfilter/bpfilter_umh_blob.S +++ b/net/bpfilter/bpfilter_umh_blob.S @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0 */ - .section .rodata, "a" + .section .init.rodata, "a" .global bpfilter_umh_start bpfilter_umh_start: .incbin "net/bpfilter/bpfilter_umh" -- 2.25.0