Lines Matching refs:tmpbuf
134 char tmpbuf[TMPBUFLEN]; in sel_read_enforce() local
137 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", selinux_enforcing); in sel_read_enforce()
138 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce()
205 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()
331 char tmpbuf[TMPBUFLEN]; in sel_read_policyvers() local
334 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", POLICYDB_VERSION_MAX); in sel_read_policyvers()
335 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policyvers()
355 char tmpbuf[TMPBUFLEN]; in sel_read_mls() local
358 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", in sel_read_mls()
360 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_mls()
604 char tmpbuf[TMPBUFLEN]; in sel_read_checkreqprot() local
607 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", selinux_checkreqprot); in sel_read_checkreqprot()
608 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_checkreqprot()
1283 char tmpbuf[TMPBUFLEN]; in sel_read_avc_cache_threshold() local
1286 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", avc_cache_threshold); in sel_read_avc_cache_threshold()
1287 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_avc_cache_threshold()
1561 char tmpbuf[TMPBUFLEN]; in sel_read_policycap() local
1566 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", value); in sel_read_policycap()
1568 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policycap()