All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amir Goldstein <amir73il@gmail.com>
To: Christian Brauner <brauner@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>,
	Dave Chinner <david@fromorbit.com>,
	Eryu Guan <guaneryu@gmail.com>,
	Seth Forshee <sforshee@digitalocean.com>,
	Peter Jin <peter@peterjin.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	fstests <fstests@vger.kernel.org>
Subject: Re: [PATCH] generic: add test for tmpfs POSIX ACLs
Date: Sat, 23 Apr 2022 10:17:59 +0300	[thread overview]
Message-ID: <CAOQ4uxhNskcDAuguYYkkvwrwFSw2A_s+MpJj6WcsguOSUSE7mg@mail.gmail.com> (raw)
In-Reply-To: <20220421155320.agny6epqti2tcmit@wittgenstein>

On Thu, Apr 21, 2022 at 9:05 PM Christian Brauner <brauner@kernel.org> wrote:
>
> On Thu, Apr 21, 2022 at 05:37:17PM +0200, Christoph Hellwig wrote:
> > On Thu, Apr 21, 2022 at 11:35:13PM +0800, Zorro Lang wrote:
> > > Sure, I won't do that wilfully, just try to ask how we can improve this
> > > huge and 'keep growing' idmapped-mounts.c, not tend to remove the whole
> > > idmapped-mount testing coverage :)
> >
> > It might just be time to split that file up into a few ones if there
> > is a sensible split.  I'll let Christian think about that, though.
>
> Yep, I agree. I think we need to at least rename it to reflect is vfs
> generic nature and then split it into separate test binaries.
> I'll think about a good approach.

The majority of test cases still do require_fs_allow_idmap and from
those who don't, most of them are variants for test cases that run
with and without idmapped mounts and possibly also in_userns.

And this new test case is no exception - there is still idmapping
involved, just not idmapped-mounts.

However you decide to break it up and/or rename the test binary
(I am not sure you must split the binary - only the source files),
I think we need to be more consistent about the groups that the tests
that run this binary are in.

'perms' group is adequate, but adding to the 'idmapped' group and
maybe also to a new 'userns' group would be useful.

BTW, the tests that use src/nsexec should also belong to the userns
group as does overlay/020, the only test that uses the 'unshare' tool.

Thanks,
Amir.

  reply	other threads:[~2022-04-23  7:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-19 13:14 [PATCH] fs: fix acl translation Christian Brauner
2022-04-20 17:52 ` [PATCH] generic: add test for tmpfs POSIX ACLs Christian Brauner
2022-04-21  5:41   ` Zorro Lang
2022-04-21  7:05     ` Christian Brauner
2022-04-21  7:18       ` Christoph Hellwig
2022-04-21  7:52         ` Amir Goldstein
2022-04-21  7:55           ` Christoph Hellwig
2022-04-21  8:59     ` Dave Chinner
2022-04-21 15:35       ` Zorro Lang
2022-04-21 15:37         ` Christoph Hellwig
2022-04-21 15:53           ` Christian Brauner
2022-04-23  7:17             ` Amir Goldstein [this message]
2022-04-23 11:07               ` Christian Brauner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOQ4uxhNskcDAuguYYkkvwrwFSw2A_s+MpJj6WcsguOSUSE7mg@mail.gmail.com \
    --to=amir73il@gmail.com \
    --cc=brauner@kernel.org \
    --cc=david@fromorbit.com \
    --cc=fstests@vger.kernel.org \
    --cc=guaneryu@gmail.com \
    --cc=hch@lst.de \
    --cc=peter@peterjin.org \
    --cc=sforshee@digitalocean.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.