From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cDkRGJvUumTl1gAASxT56A (envelope-from ) for ; Fri, 21 Jul 2023 20:55:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mNkXF5vUumTPKwEAG6o9tA (envelope-from ) for ; Fri, 21 Jul 2023 20:55:23 +0200 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 DF8E547139 for ; Fri, 21 Jul 2023 20:55:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=dmGVHxHN; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689965723; 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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=gkT1xF5uaYjONB+/r9jYd/rZQwSEcCT7Pmr2rM9Epl0=; b=HJGEFwiUIRve447knBMt8ptalnVP3Rp7ljrRw5C6pEtUBDbL7JU2EqOSNrIT1M5IUvMCIX uhkHAb61C8cNdmrKMA4xDR75jx9kgb9iu/wsJhGU12N/zWfqmT2hMR+yAFRkVeLNKB2uSy xxe69mtUbxNUD6RoekU0/lVh11XH6hvPjyQWZFYUcUisJ5UYblVeOu7RNASKcogzUEOHnO KZTFAVz+F68nvgI/e3f2LrKTcCCJbc/V5FM+Hoa0B4rF894Rm+0g6E2mvWSz4f5szDADHL yOcAEpvlryDeOEPQ6gltjYyWdhExr3UVxmTnvwp6c9+tK5iJp+rKsvYYmPDX1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689965723; a=rsa-sha256; cv=none; b=aDXM86KIiyWCykUb2YsVNb9yqIhH/AcVy4w+3Bdnx3H3411vZtZmZ1HNdffQeIeesDZKQX BYGikEJbjjhAi/2MJuQOYSAXDPoGzu9z7jL8xW7ERz0fyJ9s+3M3C6/dOyspOyKA3e/TtR 0ushWyX1UcnVkQI25OjF3fUztrUHfIA7hqppOV6r2x939xIemME2jO4gM+/yRrM9UIBh/z SLAU3532wbwJxeeEJgOXxiO21q8OZniIgs2ftODNxBGPw5HYPsRQ3F1tmFrRjXRdZkDskp QLu6Ang9Y14yz7X1Na3E2AdbE2/iRbdO/5sfck6EC+pVgtDFtkbJhOTejnF6bg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=dmGVHxHN; 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"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMvHO-00039r-IZ; Fri, 21 Jul 2023 14:55:06 -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 1qMvHK-00039U-E3 for guix-patches@gnu.org; Fri, 21 Jul 2023 14:55:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMvHK-00063u-66 for guix-patches@gnu.org; Fri, 21 Jul 2023 14:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMvHJ-0002OH-Ud for guix-patches@gnu.org; Fri, 21 Jul 2023 14:55:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61462] Add support for file capabilities(7) Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Jul 2023 18:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61462 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice , 61462@debbugs.gnu.org Received: via spool by 61462-submit@debbugs.gnu.org id=B61462.16899656559120 (code B ref 61462); Fri, 21 Jul 2023 18:55:01 +0000 Received: (at 61462) by debbugs.gnu.org; 21 Jul 2023 18:54:15 +0000 Received: from localhost ([127.0.0.1]:34879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMvGZ-0002N2-57 for submit@debbugs.gnu.org; Fri, 21 Jul 2023 14:54:15 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:39104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMvGV-0002Mm-Jr for 61462@debbugs.gnu.org; Fri, 21 Jul 2023 14:54:13 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id D69791AD10; Fri, 21 Jul 2023 11:54:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1689965641; bh=hgScSJvpMk5dphhTVwIjL5QF86XyPs3gxneyK4ooFwo=; h=From:To:Subject:In-Reply-To:References:Date:From; b=dmGVHxHNP5p1Z+xxN51GSg/dfgRnay39FbnVlv01Cp3nIhi1tygFWNNwY/KUCpOXg 5gf4Gmnd5MrwcWuSDmMJms4RRdGzJDIn0rAQ0EgkEzHmXBX6GsZQABOppsnTNZah1I AqXUCoqk9/FkKUfRaBM93lmig9XVLs0oeXKqUsyYu0nzJrO2Lt1faAxm+h4EyMkpHw /YOC02Jkqr+9aiQMkq2mGwpH+00tQgSaqodkXf4IrI/t/k+m7MwC5iZTtTO0eM5ea2 nCXgwBxM4hk264C5loEQtVTUBVZkRUjpvzW1fd+t+TnDUVyh9t2KRoAdquYR7YlXXS lqUK+OS1FOGrg== From: Vagrant Cascadian In-Reply-To: <129e8d298556f6a159fcb704ed3df4bf0709ddd3.1689465600.git.me@tobias.gr> References: <87r0uuehlr.fsf@nckx> <129e8d298556f6a159fcb704ed3df4bf0709ddd3.1689465600.git.me@tobias.gr> Date: Fri, 21 Jul 2023 11:53:55 -0700 Message-ID: <87edl1yu2k.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -2.19 X-Spam-Score: -2.19 X-Migadu-Queue-Id: DF8E547139 X-TUID: Vuu0haA9NELQ --=-=-= Content-Type: text/plain Thanks for the refreshed v2 patches! I gave them a quick spin... As noted on IRC, apparently it lacks actual calls to setcap, so that part still needs another patch at least! Otherwise, it did seem to more-or-less work... There are compatibility symlinks from /run/setuid-programs to /run/privledged/bin and it sets setuid on requested files. I was a little curious about why /run/privlidged/bin as opposed to without /bin ... keeping the door open for other privlidged things? What about things that come from /gnu/store/*/sbin ? are those handled any differently? My only concern is... wow is it hard, even for a native speaker, to spell privileged! live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZLrUQwAKCRDcUY/If5cW qlsnAQDZyoaeGDW7NJoFImkuWScFNoiNCEyLFG8K4TAQ/2C+igD/e0sqYqh1Pu3v ra5mSCfe0DqotjcGedqDhzqMMC3A0wY= =EI+h -----END PGP SIGNATURE----- --=-=-=--