Searched refs:tmpbuf (Results 1 – 4 of 4) sorted by relevance
/security/ |
D | commoncap.c | 376 char *tmpbuf = NULL; in cap_inode_getsecurity() local 391 &tmpbuf, size, GFP_NOFS); in cap_inode_getsecurity() 398 cap = (struct vfs_cap_data *) tmpbuf; in cap_inode_getsecurity() 403 *buffer = tmpbuf; in cap_inode_getsecurity() 405 kfree(tmpbuf); in cap_inode_getsecurity() 408 kfree(tmpbuf); in cap_inode_getsecurity() 412 nscap = (struct vfs_ns_cap_data *) tmpbuf; in cap_inode_getsecurity() 421 *buffer = tmpbuf; in cap_inode_getsecurity() 424 kfree(tmpbuf); in cap_inode_getsecurity() 429 kfree(tmpbuf); in cap_inode_getsecurity() [all …]
|
/security/integrity/ima/ |
D | ima_api.c | 215 void *tmpbuf; in ima_collect_measurement() local 253 tmpbuf = krealloc(iint->ima_hash, length, GFP_NOFS); in ima_collect_measurement() 254 if (!tmpbuf) { in ima_collect_measurement() 259 iint->ima_hash = tmpbuf; in ima_collect_measurement()
|
D | ima_fs.c | 45 char tmpbuf[32]; /* greater than largest 'long' string value */ in ima_show_htable_value() local 48 len = scnprintf(tmpbuf, sizeof(tmpbuf), "%li\n", atomic_long_read(val)); in ima_show_htable_value() 49 return simple_read_from_buffer(buf, count, ppos, tmpbuf, len); in ima_show_htable_value()
|
/security/selinux/ |
D | selinuxfs.c | 125 char tmpbuf[TMPBUFLEN]; in sel_read_enforce() local 128 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_enforce() 130 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce() 204 char tmpbuf[TMPBUFLEN]; in sel_read_handle_unknown() local 211 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", handle_unknown); in sel_read_handle_unknown() 212 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_handle_unknown() 330 char tmpbuf[TMPBUFLEN]; in sel_read_policyvers() local 333 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", POLICYDB_VERSION_MAX); in sel_read_policyvers() 334 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policyvers() 355 char tmpbuf[TMPBUFLEN]; in sel_read_mls() local [all …]
|