Whamcloud - gitweb
LUDOC 299 protocol: Spell-check document
[doc/protocol.git] / struct_lustre_capa.txt
1 .Lustre Capability
2 [[struct-lustre-capa]]
3 ****
4 The so-called "capabilities" structure is deprecated in recent
5 versions of Lustre, and commonly appears in the packet header as a zero
6 length buffer. It conveys security capabilities. See <<security>>.
7 ----
8 struct lustre_capa {
9         struct lu_fid   lc_fid;         /** fid */
10         __u64           lc_opc;         /** operations allowed */
11         __u64           lc_uid;         /** file owner */
12         __u64           lc_gid;         /** file group */
13         __u32           lc_flags;       /** HMAC algorithm & flags */
14         __u32           lc_keyid;       /** key# used for the capability */
15         __u32           lc_timeout;     /** capa timeout value (sec) */
16         __u32           lc_expiry;      /** expiry time (sec) */
17         __u8            lc_hmac[CAPA_HMAC_MAX_LEN];   /** HMAC */
18 };
19 ----
20 ****