Home
last modified time | relevance | path

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

/security/selinux/
A Dselinuxfs.c126 char tmpbuf[TMPBUFLEN]; in sel_read_enforce() local
129 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_enforce()
202 char tmpbuf[TMPBUFLEN]; in sel_read_handle_unknown() local
314 char tmpbuf[TMPBUFLEN]; in sel_read_policyvers() local
345 char tmpbuf[TMPBUFLEN]; in sel_read_mls() local
348 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_mls()
670 char tmpbuf[TMPBUFLEN]; in sel_read_checkreqprot() local
673 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in sel_read_checkreqprot()
1417 char tmpbuf[TMPBUFLEN]; in sel_read_avc_cache_threshold() local
1420 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in sel_read_avc_cache_threshold()
[all …]
/security/integrity/ima/
A Dima_api.c255 void *tmpbuf; in ima_collect_measurement() local
300 tmpbuf = krealloc(iint->ima_hash, length, GFP_NOFS); in ima_collect_measurement()
301 if (!tmpbuf) { in ima_collect_measurement()
306 iint->ima_hash = tmpbuf; in ima_collect_measurement()
A Dima_fs.c44 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/
A Dcommoncap.c419 char *tmpbuf = NULL; in cap_inode_getsecurity() local
431 size = vfs_getxattr_alloc(idmap, dentry, XATTR_NAME_CAPS, &tmpbuf, in cap_inode_getsecurity()
435 if (size < 0 || !tmpbuf) in cap_inode_getsecurity()
439 cap = (struct vfs_cap_data *) tmpbuf; in cap_inode_getsecurity()
443 nscap = (struct vfs_ns_cap_data *) tmpbuf; in cap_inode_getsecurity()
476 tmpbuf = NULL; in cap_inode_getsecurity()
507 tmpbuf = NULL; in cap_inode_getsecurity()
512 kfree(tmpbuf); in cap_inode_getsecurity()

Completed in 17 milliseconds