From patchwork Wed Jul 20 08:59:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 40743 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 D8D7627BBEA; Wed, 20 Jul 2022 10:00:38 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 5EDD627BBE9 for ; Wed, 20 Jul 2022 10:00:38 +0100 (BST) Received: from localhost ([::1]:33714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oE5ZM-0005pT-Hi for patchwork@mira.cbaines.net; Wed, 20 Jul 2022 05:00:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oE5Yp-0005nm-AR for guix-patches@gnu.org; Wed, 20 Jul 2022 05:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58053) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oE5Yo-0000PU-T8 for guix-patches@gnu.org; Wed, 20 Jul 2022 05:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oE5Yo-0005nR-N3 for guix-patches@gnu.org; Wed, 20 Jul 2022 05:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56658] [PATCH] gnu: Add lkrg. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Jul 2022 09:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56658 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56658@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.165830758422228 (code B ref -1); Wed, 20 Jul 2022 09:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jul 2022 08:59:44 +0000 Received: from localhost ([127.0.0.1]:55812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oE5YW-0005mS-6t for submit@debbugs.gnu.org; Wed, 20 Jul 2022 04:59:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:49246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oE5YT-0005mJ-0x for submit@debbugs.gnu.org; Wed, 20 Jul 2022 04:59:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oE5YS-0005mQ-Rj for guix-patches@gnu.org; Wed, 20 Jul 2022 04:59:40 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:53525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oE5YQ-0000NE-He for guix-patches@gnu.org; Wed, 20 Jul 2022 04:59:40 -0400 Date: Wed, 20 Jul 2022 08:59:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1658307576; x=1658566776; bh=uIg4fpiKKa9urpLYneoKBNRQBXDd8eDHGtemvzyUeTs=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=jGrt/tu2LkjgZs7FKjMOCCGRLfp4d3EKukHVDEBkQJsjaAMYMX3xlXbkmGlrpmePC vQLUozQoy52WqHW1bH6ptRUXbzohqBaDiM3e63GkOsgYL3ky+rE5ea75naxzmfQIoj y7m255nh8UDyhQMBkuWCgS6pOy5azF9YELSccybvQ2Jvh7xF3SMmmYWrfJbaWVntj8 /iqYvx4ymekJbXZ2ZieWqknD8GWmtQdqGXC/brdaLvZgGA1BFkdM2J1GEme7OCyUCV zSOOTVyluSezj+WE5i3m8c4kmm472H5WKFky9yn5LgKKL4p4A0nRxXRr1xgXMU+2ly 7Q2uv/KRu/Q4g== Message-ID: <9UfWRYkSni-i6ElqO7Hhd4IuRBKyasRwZ_r05cFBp97jn4Eh0JyHqwJTaD8DLp8cg49Iu5Tson0TkWHMbinpXA1neJ69F3f6iy4YJ-SGp7o=@protonmail.com> Feedback-ID: 14143818:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.16; envelope-from=phodina@protonmail.com; helo=mail-4316.protonmail.ch 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches Hi, this patch adds kernel module to improve runtime security of the system. ---- Petr From 985199faeb4164df909d8c6b48ba941c62312266 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Wed, 20 Jul 2022 10:28:30 +0200 Subject: [PATCH] gnu: Add lkrg. * gnu/packages/linux.scm (lkrg): New variable. diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 48beae0e69..a46a74401c 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -60,7 +60,7 @@ ;;; Copyright © 2021 Josselin Poiret ;;; Copyright © 2021 Olivier Dion ;;; Copyright © 2021 Solene Rapenne -;;; Copyright © 2021 Petr Hodina +;;; Copyright © 2021, 2022 Petr Hodina ;;; Copyright © 2022 Artyom V. Poptsov ;;; Copyright © 2022 Rene Saavedra @@ -1342,6 +1342,37 @@ (define-public librem-ec-acpi-linux-module and the notification, WiFi, and Bluetooth LED.") (license license:gpl2))) +(define-public lkrg + (package + (name "lkrg") + (version "0.9.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lkrg-org/lkrg") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0yirb7n4mqv8cn0gziz1m7ymq00dhhy79j59jdgrx00b8rj57cfw")))) + (build-system linux-module-build-system) + (arguments + (list #:linux linux-libre + #:tests? #f + #:make-flags #~(list (string-append "CC=" + #$(cc-for-target)) + (string-append "SYSSRC=" + (assoc-ref %build-inputs + "linux-module-builder") + "/lib/modules/build")))) + (inputs (list bash-minimal)) + (home-page "https://lkrg.org/") + (synopsis "Linux Kernel Runtime Guard") + (description + "This package performs runtime integrity checking of the Linux kernel and +detection of security vulnerability exploits against the kernel.") + (license license:gpl2))) + (define-public rtl8821ce-linux-module (let ((commit "be733dc86781c68571650b395dd0fa6b53c0a039") (revision "6")) -- 2.37.0