Home
last modified time | relevance | path

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

/linux/security/integrity/evm/
H A Devm.h69 int evm_protected_xattr(const char *req_xattr_name);
73 const char *req_xattr_name,
76 int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name,
80 int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name,
H A Devm_crypto.c221 const char *req_xattr_name, in evm_calc_hmac_or_hash() argument
261 if ((req_xattr_name && req_xattr_value) in evm_calc_hmac_or_hash()
262 && !strcmp(xattr->name, req_xattr_name)) { in evm_calc_hmac_or_hash()
269 dump_security_xattr(req_xattr_name, in evm_calc_hmac_or_hash()
315 int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hmac() argument
319 return evm_calc_hmac_or_hash(dentry, req_xattr_name, req_xattr_value, in evm_calc_hmac()
324 int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hash() argument
328 return evm_calc_hmac_or_hash(dentry, req_xattr_name, req_xattr_value, in evm_calc_hash()
H A Devm_main.c299 static int evm_protected_xattr_common(const char *req_xattr_name, in evm_protected_xattr_common() argument
306 namelen = strlen(req_xattr_name); in evm_protected_xattr_common()
312 && (strncmp(req_xattr_name, xattr->name, namelen) == 0)) { in evm_protected_xattr_common()
316 if (strncmp(req_xattr_name, in evm_protected_xattr_common()
318 strlen(req_xattr_name)) == 0) { in evm_protected_xattr_common()
327 int evm_protected_xattr(const char *req_xattr_name) in evm_protected_xattr() argument
329 return evm_protected_xattr_common(req_xattr_name, false); in evm_protected_xattr()
332 int evm_protected_xattr_if_enabled(const char *req_xattr_name) in evm_protected_xattr_if_enabled() argument
334 return evm_protected_xattr_common(req_xattr_name, true); in evm_protected_xattr_if_enabled()
/linux/include/linux/
H A Devm.h25 extern int evm_protected_xattr_if_enabled(const char *req_xattr_name);
69 static inline int evm_protected_xattr_if_enabled(const char *req_xattr_name) in evm_protected_xattr_if_enabled() argument