Searched refs:tmpbuf (Results 1 – 3 of 3) sorted by relevance
/security/selinux/ |
D | selinuxfs.c | 132 char tmpbuf[TMPBUFLEN]; in sel_read_enforce() local 135 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", selinux_enforcing); in sel_read_enforce() 136 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce() 203 char tmpbuf[TMPBUFLEN]; in sel_read_handle_unknown() local 209 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", handle_unknown); in sel_read_handle_unknown() 210 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_handle_unknown() 329 char tmpbuf[TMPBUFLEN]; in sel_read_policyvers() local 332 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", POLICYDB_VERSION_MAX); in sel_read_policyvers() 333 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policyvers() 353 char tmpbuf[TMPBUFLEN]; in sel_read_mls() local [all …]
|
/security/integrity/ima/ |
D | ima_fs.c | 33 char tmpbuf[TMPBUFLEN]; in ima_show_htable_value() local 36 len = scnprintf(tmpbuf, TMPBUFLEN, "%li\n", atomic_long_read(val)); in ima_show_htable_value() 37 return simple_read_from_buffer(buf, count, ppos, tmpbuf, len); in ima_show_htable_value()
|
/security/keys/ |
D | keyctl.c | 548 char *tmpbuf; in keyctl_describe_key() local 574 tmpbuf = kmalloc(PAGE_SIZE, GFP_KERNEL); in keyctl_describe_key() 575 if (!tmpbuf) in keyctl_describe_key() 580 ret = snprintf(tmpbuf, PAGE_SIZE - 1, in keyctl_describe_key() 591 tmpbuf[ret] = 0; in keyctl_describe_key() 599 if (copy_to_user(buffer, tmpbuf, buflen) != 0) in keyctl_describe_key() 603 kfree(tmpbuf); in keyctl_describe_key()
|