From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qCBZLuxAZmNvlwAAbAwnHQ (envelope-from ) for ; Sat, 05 Nov 2022 11:54:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OLVmLuxAZmOkvAAA9RJhRA (envelope-from ) for ; Sat, 05 Nov 2022 11:54:36 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6AF70EA83 for ; Sat, 5 Nov 2022 11:54:36 +0100 (CET) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Spamd-Bar: / 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 From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667645676; h=from:from:sender:sender:reply-to: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:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mkniaXlhfdA9o/6o4+UZbSTwcyRiE9iZiwruPbA+eho=; b=cC92UigElwg5uf0eHFZRLmapyea1z+39yxM6g8daZAk8Qr+/bLMLYJW1CMyBfBHtovS5RB mCTSX/YOvoRJyoiFr1ML4R4ktBoUjaMFh2qG22XRD+WwkpXrBZegft09HxI369Sa8MgnA5 hvhETwZxapU/VoA+/KihvH3MRX6OBoztcfDemu6/ajbKxQYCjFc0gP1EPrp9GDz16Blmsz YBT6azLK11e4OA1de/+xN/1moPquZUtQAAcOK74fgEREYzmcBw887+o3zZQilyRvdrri3V JyFEoYvarqS9qCy3M4U/dRWGqfe/uZHiMkHmc7H262bjInrdA9BVwYRbPG//7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667645676; a=rsa-sha256; cv=none; b=uWlTwtDJpvYi1xWaM/x/nbkTbzknRIgmEFeFgV7bI64ilBlqCIN73LjSDMh0ktESvP6+AV ZnT3I3d83JsBqr/BIiIiwM3JTsWDupzyOhtQDdY0JMmrPzbvwDpGclniFYP72IghnwwHA+ OaDuznBMeo1ji5holhAv2IDEzjePzMeXxddAYSKiP+/UCSpo6+H9Wh8p2KL4eXdJ9ElKwW aGwwMKp+fIp0nDqkeojnK1GNriWyPzn+ZrO1IyjFu20apc+vBkvOBnn01OK4xXa+6lZC2n 9DPyPJ2rz+/p3J7c3pi4fbIF+ueA3oSmfsxkheZ4wCxiCT2NQPuI63TNm8xDnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=kd7rDvkU; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=kd7rDvkU; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6AF70EA83 X-Spam-Score: -2.21 X-Migadu-Scanner: scn1.migadu.com X-TUID: i/EcbMkbdAP6 * gnu/packages/linux.scm (kconfig-hardened-check): New variable. --- gnu/packages/linux.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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))) base-commit: e67f9d7ab0c4bc957a918987a347a9ca429f3b0a -- 2.38.0