Searched refs:tmpbuf (Results 1 – 4 of 4) sorted by relevance
/security/integrity/ima/ |
D | ima_api.c | 223 void *tmpbuf; in ima_collect_measurement() local 261 tmpbuf = krealloc(iint->ima_hash, length, GFP_NOFS); in ima_collect_measurement() 262 if (!tmpbuf) { in ima_collect_measurement() 267 iint->ima_hash = tmpbuf; in ima_collect_measurement()
|
D | ima_fs.c | 44 char tmpbuf[32]; /* greater than largest 'long' string value */ in ima_show_htable_value() local 47 len = scnprintf(tmpbuf, sizeof(tmpbuf), "%li\n", atomic_long_read(val)); in ima_show_htable_value() 48 return simple_read_from_buffer(buf, count, ppos, tmpbuf, len); in ima_show_htable_value()
|
/security/selinux/ |
D | selinuxfs.c | 129 char tmpbuf[TMPBUFLEN]; in sel_read_enforce() local 132 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_enforce() 134 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce() 209 char tmpbuf[TMPBUFLEN]; in sel_read_handle_unknown() local 216 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", handle_unknown); in sel_read_handle_unknown() 217 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_handle_unknown() 342 char tmpbuf[TMPBUFLEN]; in sel_read_policyvers() local 345 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", POLICYDB_VERSION_MAX); in sel_read_policyvers() 346 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policyvers() 377 char tmpbuf[TMPBUFLEN]; in sel_read_mls() local [all …]
|
/security/ |
D | commoncap.c | 386 char *tmpbuf = NULL; in cap_inode_getsecurity() local 401 &tmpbuf, size, GFP_NOFS); in cap_inode_getsecurity() 404 if (ret < 0 || !tmpbuf) { in cap_inode_getsecurity() 410 cap = (struct vfs_cap_data *) tmpbuf; in cap_inode_getsecurity() 414 nscap = (struct vfs_ns_cap_data *) tmpbuf; in cap_inode_getsecurity() 447 tmpbuf = NULL; in cap_inode_getsecurity() 478 tmpbuf = NULL; in cap_inode_getsecurity() 483 kfree(tmpbuf); in cap_inode_getsecurity()
|