Searched refs:new_creds (Results 1 – 2 of 2) sorted by relevance
4517 struct cred *new_creds = *new; in smack_inode_copy_up() local4519 if (new_creds == NULL) { in smack_inode_copy_up()4520 new_creds = prepare_creds(); in smack_inode_copy_up()4521 if (new_creds == NULL) in smack_inode_copy_up()4525 tsp = smack_cred(new_creds); in smack_inode_copy_up()4533 *new = new_creds; in smack_inode_copy_up()
3416 struct cred *new_creds = *new; in selinux_inode_copy_up() local3418 if (new_creds == NULL) { in selinux_inode_copy_up()3419 new_creds = prepare_creds(); in selinux_inode_copy_up()3420 if (!new_creds) in selinux_inode_copy_up()3424 tsec = selinux_cred(new_creds); in selinux_inode_copy_up()3428 *new = new_creds; in selinux_inode_copy_up()