From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C745AC74A5B for ; Thu, 23 Mar 2023 16:29:21 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 81C313CE303 for ; Thu, 23 Mar 2023 17:29:19 +0100 (CET) Received: from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it [217.194.8.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 8A57F3C0214 for ; Thu, 23 Mar 2023 17:29:08 +0100 (CET) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-3.smtp.seeweb.it (Postfix) with ESMTPS id B26821A00997 for ; Thu, 23 Mar 2023 17:29:07 +0100 (CET) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id AC40F337DC; Thu, 23 Mar 2023 16:29:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1679588946; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gUqGPm14TWXdUivTDGWX289VJx65vHZmUPIqfnVEUN0=; b=Zk9Ub0412Zi9CuEuoVqAQ7A4c48ZiURIZb7HHcerYOOCI4O0tzBCoi6U2vr+LQM9iCkTQu BlAXNvW9lgule8mR6YM4ab3+isuTU7kQL+bgA+zuw3+ojvF25cIsvB8aSaPZk88UPrtOWV yDHKlqBx1dFTK3wPCpRi5FNEUnBqLHA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1679588946; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gUqGPm14TWXdUivTDGWX289VJx65vHZmUPIqfnVEUN0=; b=4mgXTECh+aYMGBfKcr5oPMzGLKsKOegN5xiOsD+D3ehxLvvTYhw0s8GndLVx+WBSisUCkS X9UMK0KgxioNBPDQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 72642132C2; Thu, 23 Mar 2023 16:29:06 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id t104GVJ+HGRTSQAAMHmgww (envelope-from ); Thu, 23 Mar 2023 16:29:06 +0000 Date: Thu, 23 Mar 2023 17:29:04 +0100 From: Petr Vorel To: "Seth Forshee (DigitalOcean)" , ltp@lists.linux.it Message-ID: <20230323162904.GB476022@pevik> References: <20230323-override-unpriv-userns-sysctl-v1-1-0b62c71acd43@kernel.org> <20230323162459.GA476022@pevik> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230323162459.GA476022@pevik> X-Virus-Scanned: clamav-milter 0.102.4 at in-3.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] [PATCH] containers: override kernel.unprivileged_userns_clone sysctl where needed X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Petr Vorel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" > BTW it took me a while to find out /proc/sys/kernel/unprivileged_userns_clone is > Debian out of tree patch [1] (The funny note from 2013 "This is a short-term patch") > probably refused by upstream kernel (I've only found 3 years later one of Debian > kernel maintainers Ben Hutchings talking about it [2]). For curious people the detail about the patch being refused by the Linux kernel developers: https://lwn.net/Articles/673597/ Kind regards, Petr > Kind regards, > Petr > [1] https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/patches/debian/add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by-default.patch > [2] https://lore.kernel.org/lkml/1453510799.3734.153.camel@decadent.org.uk/ -- Mailing list info: https://lists.linux.it/listinfo/ltp