Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _FS_CEPH_AUTH_NONE_H
0003 #define _FS_CEPH_AUTH_NONE_H
0004 
0005 #include <linux/slab.h>
0006 #include <linux/ceph/auth.h>
0007 
0008 /*
0009  * null security mode.
0010  *
0011  * we use a single static authorizer that simply encodes our entity name
0012  * and global id.
0013  */
0014 
0015 struct ceph_none_authorizer {
0016     struct ceph_authorizer base;
0017     char buf[128];
0018     int buf_len;
0019 };
0020 
0021 struct ceph_auth_none_info {
0022     bool starting;
0023 };
0024 
0025 int ceph_auth_none_init(struct ceph_auth_client *ac);
0026 
0027 #endif