From patchwork Sat Dec 3 20:50:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 29343 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1521036wrr; Sat, 3 Dec 2022 13:03:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf6mZy12MgW3Mubyh2DJbvhlatc9r8rMCBV4OfAf99yVspyEzW5kDDB6IyBdujKZfri8Eig0 X-Received: by 2002:a05:6402:5305:b0:467:69e3:c25b with SMTP id eo5-20020a056402530500b0046769e3c25bmr67644824edb.3.1670101401458; Sat, 03 Dec 2022 13:03:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670101401; cv=none; d=google.com; s=arc-20160816; b=eMZBy/8+gUaGQwTfKrx2Q6H0FWyawYa3cNMEezD5fLpgu6R1B6nZk0xHnKnHQF+sXp Dvz2u2LNT3ulYhRjREDXAyEfvSNJm3gMVe6RRqbvX1skNADyu4vaAfttFXWh7pS4fGJI msFnpxeV1D2/urmvFPjsxoef5PdToTd/yD5WKnXG/edd96H1hocG4Nc59cbywR6cMIMg g39ftKxoviH3aLZBW4LJlFXG32qd9xRffv3k1YZNxCxB5e5qAYSdLE4685xrJ6fs8Qrq VWil85bPXawnZuNL5s5ZyMGPO2JHdIZspBy1aJckOAd2bYScP9HUvRDZjvfZVGhAQrW4 z4eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=OHoxr5UwoSrZGYk0vBbf3aMgk5BMGiIzliCY1m7MVz4=; b=iZBlHSmlWtfpWLov4bVD172b4rqkZZ9r+3yru5JRqnmTrEqItRfTyBe6+FIKnkIQQO +jKVAobkH52CUecDUoLjA3RZoGHjgleli+hwqxA/k2O+/F0sAZ5ggAazJpbu7SNdlREt csfzvFYeEU03WoeVb4SudnSCf0LWTQj1uhbuJLIoehdo4XzYeAgAm8GryeSHXronbwaV C2eUMri9QzPuOm6EM/NhulJlgrBqM8Sp5/TaCZ0+bfva28p23Wxj9aw3pulLspKkazsJ STsXrkqkEEp9bJkvJRxihSSuyWnb5u3dXci1LywNVmgBxa11s5thzvYvtBETVnfv/rX7 SpGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y7-20020a056402358700b0046777becff2si9213203edc.629.2022.12.03.13.02.58; Sat, 03 Dec 2022 13:03:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229755AbiLCUuv (ORCPT + 99 others); Sat, 3 Dec 2022 15:50:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbiLCUuu (ORCPT ); Sat, 3 Dec 2022 15:50:50 -0500 Received: from smtp.smtpout.orange.fr (smtp-13.smtpout.orange.fr [80.12.242.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82D791B9FA for ; Sat, 3 Dec 2022 12:50:47 -0800 (PST) Received: from pop-os.home ([86.243.100.34]) by smtp.orange.fr with ESMTPA id 1ZT8pbwYw3PfJ1ZT8pxIWr; Sat, 03 Dec 2022 21:50:45 +0100 X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sat, 03 Dec 2022 21:50:45 +0100 X-ME-IP: 86.243.100.34 From: Christophe JAILLET To: ebiederm@xmission.com, russell.h.weight@intel.com, mcgrof@kernel.org, gregkh@linuxfoundation.org, peterz@infradead.org, keescook@chromium.org Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH] cred: Include in the right file Date: Sat, 3 Dec 2022 21:50:41 +0100 Message-Id: <1a3d5bd51b7807471a913f8fa621e5a4ecd08e6a.1670100520.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751228247123162743?= X-GMAIL-MSGID: =?utf-8?q?1751228247123162743?= There is no need to include in init_task.h. Move it to the right place, in kernel/cred.c which uses SECUREBITS_DEFAULT. Signed-off-by: Christophe JAILLET --- Let see if build-bots agree with me! --- include/linux/init_task.h | 1 - kernel/cred.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 40fc5813cf93..079c190de56d 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/kernel/cred.c b/kernel/cred.c index 811ad654abd1..cfe8ad309b92 100644 --- a/kernel/cred.c +++ b/kernel/cred.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include