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 4JHNJF0oUWDZZAAA0tVLHw (envelope-from ) for ; Tue, 16 Mar 2021 21:51:25 +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 sESLIF0oUWAaJgAAB5/wlQ (envelope-from ) for ; Tue, 16 Mar 2021 21:51:25 +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 2FD5015F88 for ; Tue, 16 Mar 2021 22:51:25 +0100 (CET) Received: from localhost ([::1]:42770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMHb1-00028E-TV for larch@yhetil.org; Tue, 16 Mar 2021 17:51:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMHSw-0002oV-ED for guix-patches@gnu.org; Tue, 16 Mar 2021 17:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMHSw-00076z-6u for guix-patches@gnu.org; Tue, 16 Mar 2021 17:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMHSw-0004UC-32 for guix-patches@gnu.org; Tue, 16 Mar 2021 17:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47013] [PATCH] gnu: Harden filesystem links. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Mar 2021 21:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47013 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 47013@debbugs.gnu.org Received: via spool by 47013-submit@debbugs.gnu.org id=B47013.161593095417210 (code B ref 47013); Tue, 16 Mar 2021 21:43:02 +0000 Received: (at 47013) by debbugs.gnu.org; 16 Mar 2021 21:42:34 +0000 Received: from localhost ([127.0.0.1]:41233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMHST-0004TW-NC for submit@debbugs.gnu.org; Tue, 16 Mar 2021 17:42:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMHSS-0004TJ-7t for 47013@debbugs.gnu.org; Tue, 16 Mar 2021 17:42:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48692) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMHSM-0006ti-Sh; Tue, 16 Mar 2021 17:42:26 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44454 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lMHSL-0000ad-V8; Tue, 16 Mar 2021 17:42:26 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Tue, 16 Mar 2021 22:42:24 +0100 In-Reply-To: (Leo Famulari's message of "Mon, 15 Mar 2021 14:56:06 -0400") Message-ID: <87blbi7p33.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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+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=1615931485; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=UTf04bMrRxshNGmxz1GBXL1rlOcVQGhOOnz9cdSJoQ8=; b=GpZi1JTDLgcP/1wdzJQwbG2NcwFNZ6QJk4JYRqGiaZZyjTDbnPLVt+dMi0cb4NuzgGYlPP CkYSyamaZwDfErODw7eFKT/7powXq4Y8uPVDJkwDOl8EZkVJLk18YnYIJ4TcyG9heID/yd HZ0ADcBBxYhjkyt+fYsjwcBsSiMkQY8zBB1fgUtTFa+oYNWITJajqRdMISTEfuMQIAQlaI Ukh7nlTQJsowJ4zIiPE8x77OQWgclj9O1hm5HcgTgKoeR2wNQnifAi/kq8FxRnzR4F49Mh 1w0j3tFgFkrFkptkWFcb/R2o52pCxdnHAq0D3M7egO+zlc/g+2AQdBAd5K4ANQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615931485; a=rsa-sha256; cv=none; b=iHynQJrUZMccz9/1VUFsjJkePc9LxOjNn1WS8DRqyGadwpoGxsx8+lhOqm0HEF245umDGw 1EdPcoRzmkX7MWYTZNjWpx4ffis2c0NEZKpjP/gTd8iCytb2KZ4qj2V9t1s8Oelevq5F52 husDsVxQD3VDtGQI56kOZkTLGSFnttaWlA1BwTp5kJMpk+hJAkg8MFiS1CFaaf4XXHa/IV Xg4F516V18D50rElcqrYOF2l6xwbsE6qKPOUEAep4HzxS41XNQeXokHZleWEwS2vFvjZiD h06bJPKV6HshjXPOVUGwGvhtZrwBbyp75OI4e7KXLw+5CIoQe6pGwGgt1a9WKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 2FD5015F88 X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: L5Sf2CueBDx9 Hi! Leo Famulari skribis: > From 38f1aaf8b44739ccfb1f824c7fb85d4dc6b5d991 Mon Sep 17 00:00:00 2001 > From: Leo Famulari > Date: Mon, 15 Mar 2021 14:51:52 -0400 > Subject: [PATCH 1/2] services: sysctl: Add a service to set default kernel > parameters. > > * gnu/services/sysctl.scm (default-sysctl-settings-service-type): New pub= lic > variable. > * doc/guix.texi (Miscellaneous Services): Document it. > > Co-authored-by: Julien Lepiller [...] > +(define default-sysctl-settings-service-type > +; "Return a service that is used to set default kernel parameters for G= uix > +; System." > + (service-type > + (name 'default-sysctl-settings) > + (extensions > + (list (service-extension sysctl-service-type > + identity))))) [...] > + (service default-sysctl-settings-service-type > + '(("fs.protected_hardlinks" . "1") > + ("fs.protected_symlinks" . "1"))) Why not just use =E2=80=98sysctl-service-type=E2=80=99 here? =E2=80=98default-sysctl-settings-service-type=E2=80=99 looks very much like =E2=80=98sysctl-service-type=E2=80=99, but I=E2=80=99m not sure we need a s= econd one? Thanks! Ludo=E2=80=99.