Searched refs:new_creds (Results 1 – 2 of 2) sorted by relevance
4639 struct cred *new_creds = *new; in smack_inode_copy_up() local4641 if (new_creds == NULL) { in smack_inode_copy_up()4642 new_creds = prepare_creds(); in smack_inode_copy_up()4643 if (new_creds == NULL) in smack_inode_copy_up()4647 tsp = smack_cred(new_creds); in smack_inode_copy_up()4655 *new = new_creds; in smack_inode_copy_up()
3466 struct cred *new_creds = *new; in selinux_inode_copy_up() local3468 if (new_creds == NULL) { in selinux_inode_copy_up()3469 new_creds = prepare_creds(); in selinux_inode_copy_up()3470 if (!new_creds) in selinux_inode_copy_up()3474 tsec = selinux_cred(new_creds); in selinux_inode_copy_up()3478 *new = new_creds; in selinux_inode_copy_up()