/linux-6.1.9/security/integrity/ima/ |
D | ima_appraise.c | 177 enum hash_algo ima_get_hash_algo(const struct evm_ima_xattr_data *xattr_value, in ima_get_hash_algo() argument 183 if (!xattr_value || xattr_len < 2) in ima_get_hash_algo() 187 switch (xattr_value->type) { in ima_get_hash_algo() 189 sig = (typeof(sig))xattr_value; in ima_get_hash_algo() 195 sig = (typeof(sig))xattr_value; in ima_get_hash_algo() 202 ret = xattr_value->data[0]; in ima_get_hash_algo() 210 if (!memcmp(&xattr_value->data[16], &zero, 4)) in ima_get_hash_algo() 224 struct evm_ima_xattr_data **xattr_value) in ima_read_xattr() argument 229 (char **)xattr_value, 0, GFP_NOFS); in ima_read_xattr() 277 struct evm_ima_xattr_data *xattr_value, int xattr_len, in xattr_verify() argument [all …]
|
D | ima.h | 66 struct evm_ima_xattr_data *xattr_value; member 268 struct evm_ima_xattr_data *xattr_value, 319 struct evm_ima_xattr_data *xattr_value, 326 enum hash_algo ima_get_hash_algo(const struct evm_ima_xattr_data *xattr_value, 329 struct evm_ima_xattr_data **xattr_value); 342 struct evm_ima_xattr_data *xattr_value, in ima_appraise_measurement() argument 369 ima_get_hash_algo(struct evm_ima_xattr_data *xattr_value, int xattr_len) in ima_get_hash_algo() argument 375 struct evm_ima_xattr_data **xattr_value) in ima_read_xattr() argument
|
D | ima_main.c | 213 struct evm_ima_xattr_data *xattr_value = NULL; in process_measurement() local 296 xattr_len = ima_read_xattr(file_dentry(file), &xattr_value); in process_measurement() 297 if ((xattr_value && xattr_len > 2) && in process_measurement() 298 (xattr_value->type == EVM_IMA_XATTR_DIGSIG)) in process_measurement() 319 xattr_len = ima_read_xattr(file_dentry(file), &xattr_value); in process_measurement() 335 hash_algo = ima_get_hash_algo(xattr_value, xattr_len); in process_measurement() 346 xattr_value, xattr_len, modsig, pcr, in process_measurement() 353 pathname, xattr_value, in process_measurement() 381 kfree(xattr_value); in process_measurement()
|
D | ima_template_lib.c | 536 struct evm_ima_xattr_data *xattr_value = event_data->xattr_value; in ima_eventsig_init() local 538 if (!xattr_value || in ima_eventsig_init() 539 (xattr_value->type != EVM_IMA_XATTR_DIGSIG && in ima_eventsig_init() 540 xattr_value->type != IMA_VERITY_DIGSIG)) in ima_eventsig_init() 543 return ima_write_template_field_data(xattr_value, event_data->xattr_len, in ima_eventsig_init()
|
D | ima_api.c | 341 struct evm_ima_xattr_data *xattr_value, in ima_store_measurement() argument 353 .xattr_value = xattr_value, in ima_store_measurement()
|
/linux-6.1.9/security/integrity/evm/ |
D | evm_main.c | 169 char *xattr_value, in evm_verify_hmac() argument 214 rc = evm_calc_hmac(dentry, xattr_name, xattr_value, in evm_verify_hmac() 235 rc = evm_calc_hash(dentry, xattr_name, xattr_value, in evm_verify_hmac() 253 xattr_value, in evm_verify_hmac() 405 void *xattr_value, size_t xattr_value_len, in evm_verifyxattr() argument 416 return evm_verify_hmac(dentry, xattr_name, xattr_value, in evm_verifyxattr() 451 const void *xattr_value, size_t xattr_value_len) in evm_xattr_acl_change() argument 474 xattr_value, xattr_value_len); in evm_xattr_acl_change() 511 const void *xattr_value, size_t xattr_value_len) in evm_xattr_change() argument 518 xattr_value, xattr_value_len); in evm_xattr_change() [all …]
|
D | evm_crypto.c | 220 char *xattr_value = NULL; in evm_calc_hmac_or_hash() local 269 &xattr_value, xattr_size, GFP_NOFS); in evm_calc_hmac_or_hash() 285 crypto_shash_update(desc, (const u8 *)xattr_value, xattr_size); in evm_calc_hmac_or_hash() 291 (int)xattr_size, xattr_value); in evm_calc_hmac_or_hash() 293 dump_security_xattr(xattr->name, xattr_value, in evm_calc_hmac_or_hash() 302 kfree(xattr_value); in evm_calc_hmac_or_hash() 357 const char *xattr_value, size_t xattr_value_len) in evm_update_evmxattr() argument 374 rc = evm_calc_hmac(dentry, xattr_name, xattr_value, in evm_update_evmxattr()
|
/linux-6.1.9/include/linux/ |
D | evm.h | 21 void *xattr_value, 32 const void *xattr_value, 64 void *xattr_value, in evm_verifyxattr() argument 92 const void *xattr_value, in evm_inode_post_setxattr() argument
|
D | ima.h | 189 const void *xattr_value, size_t xattr_value_len); 205 const void *xattr_value, in ima_inode_setxattr() argument
|
D | xattr.h | 73 char **xattr_value, size_t size, gfp_t flags);
|
/linux-6.1.9/fs/nfs/ |
D | nfs42xattr.c | 85 void *xattr_value; member 234 entry->xattr_value = valp; in nfs4_xattr_alloc_entry() 250 kvfree(entry->xattr_value); in nfs4_xattr_free_entry() 631 memcpy(buf, entry->xattr_value, entry->xattr_size); in nfs4_xattr_cache_get() 669 memcpy(buf, entry->xattr_value, entry->xattr_size); in nfs4_xattr_cache_list()
|
/linux-6.1.9/fs/ |
D | xattr.c | 363 const char *name, char **xattr_value, size_t xattr_size, in vfs_getxattr_alloc() argument 368 char *value = *xattr_value; in vfs_getxattr_alloc() 385 value = krealloc(*xattr_value, error + 1, flags); in vfs_getxattr_alloc() 392 *xattr_value = value; in vfs_getxattr_alloc()
|
/linux-6.1.9/fs/ceph/ |
D | mds_client.h | 102 char *xattr_value; member
|
D | inode.c | 2351 char *xattr_value; in ceph_do_getvxattr() local 2373 xattr_value = req->r_reply_info.xattr_info.xattr_value; in ceph_do_getvxattr() 2387 memcpy(value, xattr_value, xattr_value_len); in ceph_do_getvxattr()
|
D | mds_client.c | 571 info->xattr_info.xattr_value = *p; in parse_reply_info_getvxattr()
|