Lines Matching refs:old

1105  * @old: current credentials of the target process

1115 int security_capset(struct cred *new, const struct cred *old,
1120 return call_int_hook(capset, new, old, effective, inheritable,
1310 * transformed by an execve operation, based on the old credentials pointed to
1767 * @old: creds to use for LSM context calculations
1779 const struct cred *old, struct cred *new)
1782 name, old, new);
2007 * @old_dir: parent directory of the old file
2008 * @old_dentry: the old file
2242 * @old_dir: parent directory of the old file
2243 * @old_dentry: the old file
3262 * @old: original credentials
3265 * Prepare a new set of credentials by copying the data from the old set.
3269 int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp)
3276 rc = call_int_hook(cred_prepare, new, old, gfp);
3285 * @old: original credentials
3289 void security_transfer_creds(struct cred *new, const struct cred *old)
3291 call_void_hook(cred_transfer, new, old);
3446 * @old: credentials being replaced
3457 int security_task_fix_setuid(struct cred *new, const struct cred *old,
3460 return call_int_hook(task_fix_setuid, new, old, flags);
3466 * @old: credentials being replaced
3477 int security_task_fix_setgid(struct cred *new, const struct cred *old,
3480 return call_int_hook(task_fix_setgid, new, old, flags);
3486 * @old: credentials being replaced
3495 int security_task_fix_setgroups(struct cred *new, const struct cred *old)
3497 return call_int_hook(task_fix_setgroups, new, old);
3636 * @resource to @new_rlim. The old resource limit values can be examined by