From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A26328CF5D; Mon, 29 Jun 2026 10:31:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782729101; cv=none; b=g5P+RUvGAaD5EqJ8EsmbP1zh1b+Nr01rYdHjlBvc0lltWYXyCQvDmTn2caTUJTlMMowwy9a5kO3B57mkBzPoHnYQYbBWDhX2EI2mb3iDGB7kU59ix2ye+Il+kDZo2U2l+laYgC8gKdo48M8PQ1Yp3L+Joq3q+xA9kMrwkOmTibU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782729101; c=relaxed/simple; bh=ytkV7hcokUzl4TuVl61zJBHjebIrKvs1gvmLCTFBA4g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OEkuBKawSWeyh9IlB9/0ZZmegzQf6BOuavsBsrp7vLReDkSuE+3IVUz3QaW0n9yFVA9tQBadslNeM45M55KBBrXLvbtedyGjppZtVlhAYWsshXrbSHdxNtnxo0KZe7y+MQoSCZQYSnH4NJmJfCqlgcxJT61KwN+brg0eTHIihUI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jHr2ajkK; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jHr2ajkK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D3511F000E9; Mon, 29 Jun 2026 10:31:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782729100; bh=RT8yWbDeKwEmQZtLq+f3M6TtP8uGbz5p5b/YTk59k20=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=jHr2ajkK5owuB7Yg5VBd8ULJvukLZc0+xaFZn/wsJViqPHbC9njU4HVpn5wJAKk6x +R5BjVoBKzOlU9a133aFg9AXxhtbF0JdeoJYLsfKsQh7KAnAxM6DWSNjgm0Wn24Lt1 a5KUjVFBy7m+r4edcTwIkFZtI1kKdHGEVb/jaY3Udcn4ILRowdiOP/a4fQfPzzkiQI QZ5+6nlh5c7hwhOHz76VYMGiMrHN5gCgGw/aneIU1YFsgAyTqSnaNVnJlVUFh63twf cdF9+r26nvDhX/xi9HGymnUTYj+l4sg8VgupcQE+iCk60ftbAtG6LyKY1gHhRilmj5 GeCqdLhXq6iWA== Date: Mon, 29 Jun 2026 12:31:33 +0200 From: Christian Brauner To: Al Viro Cc: John Ericson , Andy Lutomirski , Li Chen , Cong Wang , linux-arch , LKML , linux-fsdevel , linux-api , Arnd Bergmann , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Jan Kara , Jonathan Corbet , Shuah Khan , Kees Cook , Sergei Zimmerman , Farid Zakaria Subject: Re: [RFC] Null Namespaces Message-ID: <20260629-parabel-kraut-waldsee-a4ebfab949ee@brauner> References: <103524f8-1658-41df-88e9-cf49c628a721@app.fastmail.com> <20260625011023.GM2636677@ZenIV> <20260626001538.GO2636677@ZenIV> Precedence: bulk X-Mailing-List: linux-api@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260626001538.GO2636677@ZenIV> > So supply a library of your own and try to convince people to use it > instead of libc. You'll have to anyway, seeing that a large and I agree. And in fact that is what we've been doing: https://github.com/cyphar/libpathrs I also plan on splitting the chase*() machinery in systemd out as a separate C library as well: https://github.com/systemd/systemd/blob/104750fd60da4c563650785e272a7ce0a6694d01/src/basic/chase.c#L238 > hard-to-predict part of libc will be non-functional. Which syscalls > are used by your library is entirely up to you. > > Would that kind of thing added kernel-side assist the development of such > library? Maybe, but I wouldn't bet too much on that - if you start from It wouldn't really and we haven't needed it for that.