Lines Matching defs:new
317 static int lsm_append(const char *new, char **result);
450 static int lsm_append(const char *new, char **result)
455 *result = kstrdup(new, GFP_KERNEL);
460 if (match_last_lsm(*result, new))
462 cp = kasprintf(GFP_KERNEL, "%s,%s", *result, new);
770 int security_capset(struct cred *new, const struct cred *old,
775 return call_int_hook(capset, 0, new, old,
1035 const struct cred *old, struct cred *new)
1038 name, old, new);
1426 int security_inode_copy_up(struct dentry *src, struct cred **new)
1428 return call_int_hook(inode_copy_up, 0, src, new);
1665 int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp)
1667 int rc = lsm_cred_alloc(new, gfp);
1672 rc = call_int_hook(cred_prepare, 0, new, old, gfp);
1674 security_cred_free(new);
1678 void security_transfer_creds(struct cred *new, const struct cred *old)
1680 call_void_hook(cred_transfer, new, old);
1690 int security_kernel_act_as(struct cred *new, u32 secid)
1692 return call_int_hook(kernel_act_as, 0, new, secid);
1695 int security_kernel_create_files_as(struct cred *new, struct inode *inode)
1697 return call_int_hook(kernel_create_files_as, 0, new, inode);
1759 int security_task_fix_setuid(struct cred *new, const struct cred *old,
1762 return call_int_hook(task_fix_setuid, 0, new, old, flags);
1765 int security_task_fix_setgid(struct cred *new, const struct cred *old,
1768 return call_int_hook(task_fix_setgid, 0, new, old, flags);