generic: add test for tmpfs POSIX ACLs
authorChristian Brauner <brauner@kernel.org>
Wed, 20 Apr 2022 17:52:22 +0000 (19:52 +0200)
committerZorro Lang <zlang@kernel.org>
Tue, 26 Apr 2022 18:54:00 +0000 (02:54 +0800)
commit31c01ce18f733117bda68870d42d78a88b93c97d
tree9c9e6b4263362297d141593615a9a450ac267876
parente81417a0964a36aed4392326f3736c116296f451
generic: add test for tmpfs POSIX ACLs

Add a regression test for commit 705191b03d50 ("fs: fix acl translation").
This tests whether setting POSIX ACLs on a tmpfs mounted in a
non-initial user and mount namespace works as expected.

Note, once again the idmapped mount testsuite is grossly misnamed at
this point. It has morphed into a full-blown generic vfs feature
testsuite.

Cc: Eryu Guan <guaneryu@gmail.com>
Cc: Seth Forshee <sforshee@digitalocean.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Zorro Lang <zlang@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Reviewed-by: Zorro Lang <zlang@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
src/idmapped-mounts/idmapped-mounts.c
tests/generic/689 [new file with mode: 0755]
tests/generic/689.out [new file with mode: 0644]