Searched refs:copy (Results 1 – 5 of 5) sorted by relevance
| /security/ipe/ |
| A D | fs.c | 140 char *copy = NULL; in new_policy() local 148 copy = memdup_user_nul(data, len); in new_policy() 149 if (IS_ERR(copy)) { in new_policy() 150 rc = PTR_ERR(copy); in new_policy() 151 copy = NULL; in new_policy() 155 p = ipe_new_policy(NULL, 0, copy, len); in new_policy() 166 kfree(copy); in new_policy()
|
| A D | policy_fs.c | 302 char *copy = NULL; in update_policy() local 310 copy = memdup_user(data, len); in update_policy() 311 if (IS_ERR(copy)) { in update_policy() 312 rc = PTR_ERR(copy); in update_policy() 313 copy = NULL; in update_policy() 319 rc = ipe_update_policy(root, NULL, 0, copy, len); in update_policy() 323 kfree(copy); in update_policy()
|
| /security/selinux/ss/ |
| A D | hashtab.c | 141 int (*copy)(struct hashtab_node *new, in hashtab_duplicate() 166 rc = copy(tmp, orig_cur, args); in hashtab_duplicate()
|
| A D | hashtab.h | 140 int (*copy)(struct hashtab_node *new,
|
| /security/smack/ |
| A D | smack_lsm.c | 4574 char *copy; in smack_key_getsecurity() local 4581 copy = kstrdup(skp->smk_known, GFP_KERNEL); in smack_key_getsecurity() 4582 if (copy == NULL) in smack_key_getsecurity() 4584 length = strlen(copy) + 1; in smack_key_getsecurity() 4586 *_buffer = copy; in smack_key_getsecurity()
|
Completed in 19 milliseconds