Home
last modified time | relevance | path

Searched refs:new_creds (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/security/smack/
Dsmack_lsm.c4639 struct cred *new_creds = *new; in smack_inode_copy_up() local
4641 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()
/linux-6.1.9/security/selinux/
Dhooks.c3466 struct cred *new_creds = *new; in selinux_inode_copy_up() local
3468 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()