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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6DA3C433E6 for ; Sun, 14 Mar 2021 23:20:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 98ACD64E69 for ; Sun, 14 Mar 2021 23:20:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229469AbhCNXUU (ORCPT ); Sun, 14 Mar 2021 19:20:20 -0400 Received: from vmicros1.altlinux.org ([194.107.17.57]:58902 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbhCNXUL (ORCPT ); Sun, 14 Mar 2021 19:20:11 -0400 Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 13E0C72C8B9; Mon, 15 Mar 2021 02:20:10 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id DDA697CC8A7; Mon, 15 Mar 2021 02:20:09 +0300 (MSK) Date: Mon, 15 Mar 2021 02:20:09 +0300 From: "Dmitry V. Levin" To: "Michael Kerrisk (man-pages)" Cc: Szunti , Alejandro Colomar , linux-man Subject: Re: user_namespaces(7) should mention overlay as mountable since Linux 5.11 Message-ID: <20210314232009.GA2561@altlinux.org> References: <87v9a0wews.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org Hi Michael, On Sun, Mar 14, 2021 at 11:04:26PM +0100, Michael Kerrisk (man-pages) wrote: > On Tue, 9 Mar 2021 at 16:00, Szunti wrote: > > > > user_namespaces lists in Capabilities section the filesystems that can > > be mount: > > > > Holding CAP_SYS_ADMIN within the user namespace that owns a process's > > mount namespace allows that process to create bind mounts and mount the > > following types of filesystems: > > > > * /proc (since Linux 3.8) > > * /sys (since Linux 3.8) > > * devpts (since Linux 3.9) > > * tmpfs(5) (since Linux 3.9) > > * ramfs (since Linux 3.9) > > * mqueue (since Linux 3.9) > > * bpf (since Linux 4.4) > > > > IUUC this list should add > > * overlay (since Linux 5.11) It should rather say overlayfs. > Could you add some info about how you discovered/verified this please. > > That helps us check the details. What a coincidence, I just happen to have the relevant Linux kernel merge commits cached: 92dbc9dedccb9759c7f9f2f0ae6242396376988f aka v5.11-rc1~83 4cb2c00c43b3fe88b32f29df4f76da1b92c33224 aka v5.11-rc7~28 -- ldv