auth_none.h 464 B

1234567891011121314151617181920212223242526272829
  1. #ifndef _FS_CEPH_AUTH_NONE_H
  2. #define _FS_CEPH_AUTH_NONE_H
  3. #include <linux/slab.h>
  4. #include <linux/ceph/auth.h>
  5. /*
  6. * null security mode.
  7. *
  8. * we use a single static authorizer that simply encodes our entity name
  9. * and global id.
  10. */
  11. struct ceph_none_authorizer {
  12. struct ceph_authorizer base;
  13. char buf[128];
  14. int buf_len;
  15. char reply_buf[0];
  16. };
  17. struct ceph_auth_none_info {
  18. bool starting;
  19. };
  20. int ceph_auth_none_init(struct ceph_auth_client *ac);
  21. #endif