Lines Matching defs:buf
24 char *buf;
33 buf = kzalloc(buf_len, GFP_KERNEL);
34 if (!buf)
37 rc = strscpy(buf, "initialized", buf_len);
40 rc = strlcat(buf, selinux_initialized() ? on : off, buf_len);
43 rc = strlcat(buf, "enforcing", buf_len);
46 rc = strlcat(buf, enforcing_enabled() ? on : off, buf_len);
49 rc = strlcat(buf, "checkreqprot", buf_len);
52 rc = strlcat(buf, checkreqprot_get() ? on : off, buf_len);
56 rc = strlcat(buf, selinux_policycap_names[i], buf_len);
59 rc = strlcat(buf, selinux_state.policycap[i] ? on : off,
64 return buf;