Searched refs:TMPBUFLEN (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/security/selinux/
H A Dselinuxfs.c130 #define TMPBUFLEN 12 sel_read_enforce() macro
134 char tmpbuf[TMPBUFLEN]; sel_read_enforce()
137 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", selinux_enforcing); sel_read_enforce()
205 char tmpbuf[TMPBUFLEN]; sel_read_handle_unknown()
211 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", handle_unknown); sel_read_handle_unknown()
331 char tmpbuf[TMPBUFLEN]; sel_read_policyvers()
334 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", POLICYDB_VERSION_MAX); sel_read_policyvers()
355 char tmpbuf[TMPBUFLEN]; sel_read_mls()
358 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", sel_read_mls()
604 char tmpbuf[TMPBUFLEN]; sel_read_checkreqprot()
607 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", selinux_checkreqprot); sel_read_checkreqprot()
1283 char tmpbuf[TMPBUFLEN]; sel_read_avc_cache_threshold()
1286 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", avc_cache_threshold); sel_read_avc_cache_threshold()
1533 char res[TMPBUFLEN]; sel_read_class()
1547 char res[TMPBUFLEN]; sel_read_perm()
1561 char tmpbuf[TMPBUFLEN]; sel_read_policycap()
1566 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", value); sel_read_policycap()
/linux-4.4.14/security/integrity/ima/
H A Dima_fs.c29 #define TMPBUFLEN 12 ima_show_htable_value() macro
33 char tmpbuf[TMPBUFLEN]; ima_show_htable_value()
36 len = scnprintf(tmpbuf, TMPBUFLEN, "%li\n", atomic_long_read(val)); ima_show_htable_value()
/linux-4.4.14/kernel/
H A Dsysctl.c1921 #define TMPBUFLEN 22 macro
1943 char *p, tmp[TMPBUFLEN]; proc_get_long()
1949 if (len > TMPBUFLEN - 1) proc_get_long()
1950 len = TMPBUFLEN - 1; proc_get_long()
1971 if (len == TMPBUFLEN - 1) proc_get_long()
2001 char tmp[TMPBUFLEN], *p = tmp; proc_put_long()
2013 #undef TMPBUFLEN macro
/linux-4.4.14/fs/proc/
H A Dbase.c1220 #define TMPBUFLEN 21 proc_loginuid_read() macro
1227 char tmpbuf[TMPBUFLEN]; proc_loginuid_read()
1231 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", proc_loginuid_read()
1289 char tmpbuf[TMPBUFLEN]; proc_sessionid_read()
1293 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", proc_sessionid_read()

Completed in 151 milliseconds