Searched refs:xattr_len (Results 1 – 7 of 7) sorted by relevance
/security/integrity/evm/ |
D | evm_posix_acl.c | 14 int xattr_len = strlen(xattr); in posix_xattr_acl() local 16 if ((strlen(XATTR_NAME_POSIX_ACL_ACCESS) == xattr_len) in posix_xattr_acl() 17 && (strncmp(XATTR_NAME_POSIX_ACL_ACCESS, xattr, xattr_len) == 0)) in posix_xattr_acl() 19 if ((strlen(XATTR_NAME_POSIX_ACL_DEFAULT) == xattr_len) in posix_xattr_acl() 20 && (strncmp(XATTR_NAME_POSIX_ACL_DEFAULT, xattr, xattr_len) == 0)) in posix_xattr_acl()
|
D | evm_main.c | 140 int rc, xattr_len; in evm_verify_hmac() local 165 xattr_len = rc; in evm_verify_hmac() 170 if (xattr_len != sizeof(struct evm_xattr)) { in evm_verify_hmac() 188 if (xattr_len <= sizeof(struct signature_v2_hdr)) { in evm_verify_hmac() 200 (const char *)xattr_data, xattr_len, in evm_verify_hmac()
|
/security/integrity/ima/ |
D | ima_appraise.c | 157 int xattr_len) in ima_get_hash_algo() argument 162 if (!xattr_value || xattr_len < 2) in ima_get_hash_algo() 169 if (sig->version != 2 || xattr_len <= sizeof(*sig)) in ima_get_hash_algo() 181 if (xattr_len == 21) { in ima_get_hash_algo() 187 } else if (xattr_len == 17) in ima_get_hash_algo() 216 struct evm_ima_xattr_data *xattr_value, int xattr_len, in xattr_verify() argument 233 if (xattr_len - sizeof(xattr_value->type) - hash_start >= in xattr_verify() 255 xattr_len, in xattr_verify() 266 xattr_len, in xattr_verify() 324 int xattr_len, const struct modsig *modsig) in ima_appraise_measurement() argument [all …]
|
D | ima.h | 63 int xattr_len; member 220 int xattr_len, const struct modsig *modsig, int pcr, 262 int xattr_len, const struct modsig *modsig); 268 int xattr_len); 278 int xattr_len, in ima_appraise_measurement() argument 303 ima_get_hash_algo(struct evm_ima_xattr_data *xattr_value, int xattr_len) in ima_get_hash_algo() argument
|
D | ima_main.c | 207 int xattr_len = 0; in process_measurement() local 299 xattr_len = ima_read_xattr(file_dentry(file), &xattr_value); in process_measurement() 300 if ((xattr_value && xattr_len > 2) && in process_measurement() 322 xattr_len = ima_read_xattr(file_dentry(file), &xattr_value); in process_measurement() 338 hash_algo = ima_get_hash_algo(xattr_value, xattr_len); in process_measurement() 349 xattr_value, xattr_len, modsig, pcr, in process_measurement() 354 xattr_value, xattr_len, modsig); in process_measurement()
|
D | ima_api.c | 301 int xattr_len, const struct modsig *modsig, int pcr, in ima_store_measurement() argument 313 .xattr_len = xattr_len, in ima_store_measurement()
|
D | ima_template_lib.c | 445 return ima_write_template_field_data(xattr_value, event_data->xattr_len, in ima_eventsig_init()
|