Searched refs:temp (Results 1 – 7 of 7) sorted by relevance
/security/integrity/evm/ |
D | evm_secfs.c | 44 char temp[80]; in evm_read_key() local 50 sprintf(temp, "%d", (evm_initialized & ~EVM_SETUP_COMPLETE)); in evm_read_key() 51 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); in evm_read_key() 131 char *temp; in evm_read_xattrs() local 146 temp = kmalloc(size + 1, GFP_KERNEL); in evm_read_xattrs() 147 if (!temp) { in evm_read_xattrs() 153 sprintf(temp + offset, "%s\n", xattr->name); in evm_read_xattrs() 158 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); in evm_read_xattrs() 160 kfree(temp); in evm_read_xattrs()
|
/security/lockdown/ |
D | lockdown.c | 118 char temp[80]; in lockdown_read() local 128 offset += sprintf(temp+offset, "[%s] ", label); in lockdown_read() 130 offset += sprintf(temp+offset, "%s ", label); in lockdown_read() 136 temp[offset-1] = '\n'; in lockdown_read() 138 return simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); in lockdown_read()
|
/security/smack/ |
D | smackfs.c | 1552 char temp[80]; in smk_read_doi() local 1558 sprintf(temp, "%d", smk_cipso_doi_value); in smk_read_doi() 1559 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); in smk_read_doi() 1576 char temp[80]; in smk_write_doi() local 1582 if (count >= sizeof(temp) || count == 0) in smk_write_doi() 1585 if (copy_from_user(temp, buf, count) != 0) in smk_write_doi() 1588 temp[count] = '\0'; in smk_write_doi() 1590 if (sscanf(temp, "%d", &i) != 1) in smk_write_doi() 1618 char temp[80]; in smk_read_direct() local 1624 sprintf(temp, "%d", smack_cipso_direct); in smk_read_direct() [all …]
|
/security/ |
D | device_cgroup.c | 599 char temp[12]; /* 11 + 1 characters needed for a u32 */ in devcgroup_update_access() local 657 memset(temp, 0, sizeof(temp)); in devcgroup_update_access() 658 for (count = 0; count < sizeof(temp) - 1; count++) { in devcgroup_update_access() 659 temp[count] = *b; in devcgroup_update_access() 664 rc = kstrtou32(temp, 10, &ex.major); in devcgroup_update_access() 679 memset(temp, 0, sizeof(temp)); in devcgroup_update_access() 680 for (count = 0; count < sizeof(temp) - 1; count++) { in devcgroup_update_access() 681 temp[count] = *b; in devcgroup_update_access() 686 rc = kstrtou32(temp, 10, &ex.minor); in devcgroup_update_access()
|
/security/selinux/ss/ |
D | hashtab.c | 102 struct hashtab_node *cur, *temp; in hashtab_destroy() local 110 temp = cur; in hashtab_destroy() 112 kmem_cache_free(hashtab_node_cachep, temp); in hashtab_destroy()
|
D | avtab.c | 280 struct avtab_node *cur, *temp; in avtab_destroy() local 288 temp = cur; in avtab_destroy() 290 if (temp->key.specified & AVTAB_XPERMS) in avtab_destroy() 292 temp->datum.u.xperms); in avtab_destroy() 293 kmem_cache_free(avtab_node_cachep, temp); in avtab_destroy()
|
D | ebitmap.c | 329 struct ebitmap_node *n, *temp; in ebitmap_destroy() local 336 temp = n; in ebitmap_destroy() 338 kmem_cache_free(ebitmap_node_cachep, temp); in ebitmap_destroy()
|