Lines Matching defs:temp
1584 char temp[80];
1590 sprintf(temp, "%d", smk_cipso_doi_value);
1591 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
1608 char temp[80];
1614 if (count >= sizeof(temp) || count == 0)
1617 if (copy_from_user(temp, buf, count) != 0)
1620 temp[count] = '\0';
1622 if (sscanf(temp, "%d", &i) != 1)
1650 char temp[80];
1656 sprintf(temp, "%d", smack_cipso_direct);
1657 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
1675 char temp[80];
1681 if (count >= sizeof(temp) || count == 0)
1684 if (copy_from_user(temp, buf, count) != 0)
1687 temp[count] = '\0';
1689 if (sscanf(temp, "%d", &i) != 1)
1728 char temp[80];
1734 sprintf(temp, "%d", smack_cipso_mapped);
1735 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
1753 char temp[80];
1759 if (count >= sizeof(temp) || count == 0)
1762 if (copy_from_user(temp, buf, count) != 0)
1765 temp[count] = '\0';
1767 if (sscanf(temp, "%d", &i) != 1)
2166 char temp[32];
2172 sprintf(temp, "%d\n", log_policy);
2173 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
2189 char temp[32];
2195 if (count >= sizeof(temp) || count == 0)
2198 if (copy_from_user(temp, buf, count) != 0)
2201 temp[count] = '\0';
2203 if (sscanf(temp, "%d", &i) != 1)
2826 char temp[32];
2832 sprintf(temp, "%d\n", smack_ptrace_rule);
2833 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
2847 char temp[32];
2853 if (*ppos != 0 || count >= sizeof(temp) || count == 0)
2856 if (copy_from_user(temp, buf, count) != 0)
2859 temp[count] = '\0';
2861 if (sscanf(temp, "%d", &i) != 1)