Home
last modified time | relevance | path

Searched refs:parent_ctx (Results 1 – 1 of 1) sorted by relevance

/fs/crypto/
Dpolicy.c160 struct fscrypt_context parent_ctx, child_ctx; in fscrypt_has_permitted_context() local
209 res = cops->get_context(parent, &parent_ctx, sizeof(parent_ctx)); in fscrypt_has_permitted_context()
210 if (res != sizeof(parent_ctx)) in fscrypt_has_permitted_context()
217 return memcmp(parent_ctx.master_key_descriptor, in fscrypt_has_permitted_context()
220 (parent_ctx.contents_encryption_mode == in fscrypt_has_permitted_context()
222 (parent_ctx.filenames_encryption_mode == in fscrypt_has_permitted_context()
224 (parent_ctx.flags == child_ctx.flags); in fscrypt_has_permitted_context()