]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
fuse client, fscrypt, test: Implement and create tests for S_ENCRYPTED in inode i_flags
authorChristopher Hoffman <choffman@redhat.com>
Thu, 19 Dec 2024 15:33:24 +0000 (15:33 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Thu, 14 Aug 2025 20:09:46 +0000 (20:09 +0000)
commit87c2a33e652dd39bb826e532ddf7deebc1ddee56
tree4e3ef62a8434d91f04fe92e0c2c2b16b8091c7ec
parent35fce85e5ec5f65b6401b8dd2e794c20d3d2a4f2
fuse client, fscrypt, test: Implement and create tests for S_ENCRYPTED in inode i_flags

This PR adds test for S_ENCRYPTED bit in the i_flags field of Inode.
The test implements 2 quering methods: using FS_IOC_GETFLAGS and STATX_ATTR_ENCRYPTED

Fixes: https://tracker.ceph.com/issues/64129
Author: Igor Golikov <igolikov@ibm.com>
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/Client.cc
src/client/Client.h
src/client/Inode.cc
src/client/Inode.h
src/client/fuse_ll.cc
src/include/cephfs/ceph_ll_client.h
src/include/cephfs/libcephfs.h
src/libcephfs.cc
src/test/libcephfs/fscrypt.cc