Home
last modified time | relevance | path

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

/Linux-v5.4/security/smack/
Dsmack_lsm.c4517 struct cred *new_creds = *new; in smack_inode_copy_up() local
4519 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()
/Linux-v5.4/security/selinux/
Dhooks.c3416 struct cred *new_creds = *new; in selinux_inode_copy_up() local
3418 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()