From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GC7eJpbVWGCeMwAA0tVLHw (envelope-from ) for ; Mon, 22 Mar 2021 17:36:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MIy8IpbVWGAXYQAAB5/wlQ (envelope-from ) for ; Mon, 22 Mar 2021 17:36:22 +0000 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 3424512B7A for ; Mon, 22 Mar 2021 18:36:22 +0100 (CET) Received: from localhost ([::1]:48058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOOTU-0001bS-MG for larch@yhetil.org; Mon, 22 Mar 2021 13:36:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lONWA-0005uS-QX for guix-patches@gnu.org; Mon, 22 Mar 2021 12:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46813) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lONWA-0001Xy-Ie for guix-patches@gnu.org; Mon, 22 Mar 2021 12:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lONWA-00052N-GV for guix-patches@gnu.org; Mon, 22 Mar 2021 12:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47323] [PATCH] services: export sysctl-configuration record field accessors Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Mar 2021 16:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47323 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47323@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161643084319277 (code B ref -1); Mon, 22 Mar 2021 16:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Mar 2021 16:34:03 +0000 Received: from localhost ([127.0.0.1]:58359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lONVC-00050f-P8 for submit@debbugs.gnu.org; Mon, 22 Mar 2021 12:34:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:59510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lONRr-0004vR-N4 for submit@debbugs.gnu.org; Mon, 22 Mar 2021 12:30:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lONRo-00024A-1M for guix-patches@gnu.org; Mon, 22 Mar 2021 12:30:35 -0400 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:34337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lONRk-0007Rr-C3 for guix-patches@gnu.org; Mon, 22 Mar 2021 12:30:31 -0400 Received: by mail-ej1-x631.google.com with SMTP id b7so22330631ejv.1 for ; Mon, 22 Mar 2021 09:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=muradm-net.20150623.gappssmtp.com; s=20150623; h=user-agent:from:to:subject:date:message-id:mime-version :content-disposition:content-description; bh=AUdCeMwi8fhv7sUJ/J8jnfLh+7j7c1chPMFnuf2Th1k=; b=tVM9i0DmWbmwyYrpPxkHcASYT4ZH2QouBbC0OvadN3V0R6cqkj4zFTJWqLarYezpBh +sKGj6TDIThdPpuFljZy3W2+0s4QhzAzoDF0hgtQIThNYq/qmtOpHAQA8/GlCutbtuD6 BAx8tkWkPJW1WXJnjDVL7xcpEYepgXiv42aFmgWxDCWO88/GiG7MpXpLcHtWIrrG0DPq blzdcwmdy/KIxtciEmwC+29RxYqGlPSVxCqm/TkSjagudUf5a4MmSpiUd9mLeK6qOW+9 QoBna15u/FIzzmlFRWTgc1o+UvibQR0UGuZkCja4CXrq0T4dOpFIwqdkSh5DPCZ2C74Z IwJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version:content-disposition:content-description; bh=AUdCeMwi8fhv7sUJ/J8jnfLh+7j7c1chPMFnuf2Th1k=; b=kw+zvbAN9kfGb1NHb4tyv+x5BUVX8y12Ffzl2BOFYXqK80zbvlzN6uRfsXLYnBqdM+ 7yk+8kiBImOWFvkY8LRHd3dDTqHOA+thUkQjv52imsTkt9o0XyhDN222RyftwrriWgB0 hV40GhKrfLqru/F74zalLZR6ah8VemYJg+/Z0FLMHMrJfwO3bLShP57GiXhr1neimYID ahrMtQ7zBHcXz0OxO6gkxLn9r09GV44Lx8cZSKvVfpRLy7gWJ9RU4IHBXK5MuSI9Nd7r eEQm1iqHgUUatB4O2/wotg/ucwjAwB9JksatrAyD1KzWDh+DesZ7BSgr2rTzuhwzj+yG ge5w== X-Gm-Message-State: AOAM531KL2WfheHicHRT6yRJQbI8+Fo3s1MsXAP4cQZeGTIATQpfEtDB Mqqir2JYTSwpfv04aflSYG4fLI9n59ERRRWf X-Google-Smtp-Source: ABdhPJxw524AGYZipvF8wGIi2b2pfCljb9jQN8HpIYgcCFMKP0KJZVtEqwZiZS/rNS3aghLwTGyYcg== X-Received: by 2002:a17:906:f283:: with SMTP id gu3mr616944ejb.91.1616430625202; Mon, 22 Mar 2021 09:30:25 -0700 (PDT) Received: from nomad-gx1 ([217.131.81.96]) by smtp.gmail.com with ESMTPSA id hd37sm9512937ejc.114.2021.03.22.09.30.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 09:30:24 -0700 (PDT) User-agent: mu4e 1.4.15; emacs 27.1 From: muradm Date: Mon, 22 Mar 2021 19:30:23 +0300 Message-ID: <877dlzb17k.fsf@muradm.net> MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0001-services-export-sysctl-configuration-record-field-ac.patch Content-Description: gnu-services-sysctl Received-SPF: none client-ip=2a00:1450:4864:20::631; envelope-from=mail@muradm.net; helo=mail-ej1-x631.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 22 Mar 2021 12:34:01 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 22 Mar 2021 13:32:16 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616434582; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=AUdCeMwi8fhv7sUJ/J8jnfLh+7j7c1chPMFnuf2Th1k=; b=lzuIOvBH7GwK9bnPY4gxYkucJfGjdZvSsmDC3OIr0PwZ1TUPK5vHaQzm1NTGcLaCYGJOE1 5EzWwQC2u5P02CIW6qxWjXC1c11Ye78b4UVPxyCBT5GbKNT2yr1GY76m1R99vZ+URb9FwJ X1zibs19upCMWe1G5LAN+I9oufIHe9IM8jPk3xoIQtc/q42N/HgWEI9/yvm78DPfaLL8LG V/RkUXqBwhotiOR/Vdhl3WjcH7cLLeUQnrzIQZr1gxYCAB5ZTJRBqYxoq65C0FRPiF0ZZC 88d3V3kY1OrniVJ/hXzjdaZsO7xS4y/eSRuud+jHLP/iliZkQcbxJWruAlqy3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616434582; a=rsa-sha256; cv=none; b=And7I58Gj09JmgKPPgqj5LHWC+ggwa04hT6pWMY+AUjXMK24lSSvNj9CfKQEpjz/vBK+TA IWqljYCFbo7S/x8xoy8fOiyPGSWZcaJsg8vmp0F+nw75dpglZBhkKRokw2KKmRHcSfvgSc FwUy85uxum7rByTCi7ncw7Ye1s/xPSO+qr6LTlOl3/0j2QCw1pdG90tYQJCqmFqpUed1sG d70CwKv8SCVcf2rRfLxuObbX/9E3IZP5dq27CgKrS0SIfdfRD4q7Umxs0p1gwXI//3a0KS m8gImhDHZ1QsGdWwejYlXMgK7DKNoWWU+eqRvqb4Mz4KhYjL32mAO36K4pRy+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm-net.20150623.gappssmtp.com header.s=20150623 header.b=tVM9i0Dm; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm-net.20150623.gappssmtp.com header.s=20150623 header.b=tVM9i0Dm; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3424512B7A X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: A8bWbA0QVcsT >From 0928d70c1cd5a98efd7671c05b38757400941790 Mon Sep 17 00:00:00 2001 From: muradm Date: Mon, 22 Mar 2021 19:09:48 +0300 Subject: [PATCH] services: export sysctl-configuration record field accessors * gnu/services/sysctl.scm (sysctl-configuration-sysctl): new public function * gnu/services/sysctl.scm (sysctl-configuration-settings): new public function Signed-off-by: muradm --- gnu/services/sysctl.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/services/sysctl.scm b/gnu/services/sysctl.scm index aaea7cc30d..80ed2ff46f 100644 --- a/gnu/services/sysctl.scm +++ b/gnu/services/sysctl.scm @@ -25,6 +25,8 @@ #:use-module (srfi srfi-1) #:use-module (ice-9 match) #:export (sysctl-configuration + sysctl-configuration-sysctl + sysctl-configuration-settings sysctl-service-type %default-sysctl-settings)) -- 2.31.0