mbox series

[v2,0/5] check the cephx mds auth access in client side

Message ID 20231113011706.542551-1-xiubli@redhat.com (mailing list archive)
Headers show
Series check the cephx mds auth access in client side | expand

Message

Xiubo Li Nov. 13, 2023, 1:17 a.m. UTC
From: Xiubo Li <xiubli@redhat.com>

The code are refered to the userspace libcephfs:
https://github.com/ceph/ceph/pull/48027.


V2:
- Fix memleak for built 'path'.


Xiubo Li (5):
  ceph: save the cap_auths in client when session being opened
  ceph: add ceph_mds_check_access() helper support
  ceph: check the cephx mds auth access for setattr
  ceph: check the cephx mds auth access for open
  ceph: check the cephx mds auth access for async dirop

 fs/ceph/dir.c        |  28 +++++
 fs/ceph/file.c       |  61 +++++++++-
 fs/ceph/inode.c      |  46 ++++++--
 fs/ceph/mds_client.c | 265 ++++++++++++++++++++++++++++++++++++++++++-
 fs/ceph/mds_client.h |  24 ++++
 5 files changed, 412 insertions(+), 12 deletions(-)