From patchwork Sat Nov 5 10:53:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 44321 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9F2FA27BBEA; Sat, 5 Nov 2022 10:54:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 65C3F27BBE9 for ; Sat, 5 Nov 2022 10:54:36 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orGoP-0001dG-52; Sat, 05 Nov 2022 06:54:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orGoN-0001bS-Mp for guix-patches@gnu.org; Sat, 05 Nov 2022 06:54:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orGoN-0005H1-EX for guix-patches@gnu.org; Sat, 05 Nov 2022 06:54:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1orGoM-0000W4-AG for guix-patches@gnu.org; Sat, 05 Nov 2022 06:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#59043] [PATCH] gnu: Add kconfig-hardened-check. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Nov 2022 10:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59043 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59043@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16676456391966 (code B ref -1); Sat, 05 Nov 2022 10:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Nov 2022 10:53:59 +0000 Received: from localhost ([127.0.0.1]:55602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orGoJ-0000Ve-6v for submit@debbugs.gnu.org; Sat, 05 Nov 2022 06:53:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:51796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orGoH-0000VW-FU for submit@debbugs.gnu.org; Sat, 05 Nov 2022 06:53:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orGoF-0001aN-Ci for guix-patches@gnu.org; Sat, 05 Nov 2022 06:53:57 -0400 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orGoD-0005Eb-Q8 for guix-patches@gnu.org; Sat, 05 Nov 2022 06:53:55 -0400 Date: Sat, 05 Nov 2022 18:53:32 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1667645630; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mkniaXlhfdA9o/6o4+UZbSTwcyRiE9iZiwruPbA+eho=; b=kd7rDvkUOyNbgN/YxwyNJT7CoBCBSp4mlegNd5YZ0jdxzZHgqqH3+crg/xBt4QbTes3xpe csJPmShQ+EObaIvSX6UbovxaQUFydsW2H6KlPeynMyEir6gEjV8vCXn6ogsGZYJoy3KwZs fVgjaM4Xv2mFWQNh9MprmI9L8elStLfRKjKcFf7s3GWM0OYBLEi1QH6ikWGUF+Um+KvFCG L32nPeuKeXYwfPaacl88oQYkJNq8QdvbNxB/FGnPLI+yt1rV9GcK/kqdA+jmtV1a6IIS5u FiAKAUWAU/B/P8VZqik0hc0HfTSZ4KpA6x2N9MhxNcDNxJif+ONHdcCwX3Qn8g== Message-ID: MIME-Version: 1.0 X-Spamd-Bar: / Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Guix-patches" Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/linux.scm (kconfig-hardened-check): New variable. --- gnu/packages/linux.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) base-commit: e67f9d7ab0c4bc957a918987a347a9ca429f3b0a diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index cf11a7fc1b..3aa5613a15 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -9512,3 +9512,24 @@ (define-public tp-smapi-module @acronym{SMAPI, System Management Application Program Interface} and direct access to the embedded controller.") (license license:gpl2+))) + +(define-public kconfig-hardened-check + (package + (name "kconfig-hardened-check") + (version "0.5.17") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/a13xp0p0v/kconfig-hardened-check") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0p9pywfxwyk4yfgaf7bhqrf72ywc6w6k77dbi7lldynha886ih4a")))) + (build-system python-build-system) + (home-page "https://github.com/a13xp0p0v/kconfig-hardened-check") + (synopsis + "Tool for checking the security hardening options of the Linux kernel") + (description + "Tool for checking the security hardening options of the Linux kernel.") + (license license:gpl3)))