Home
last modified time | relevance | path

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

/security/keys/
Dprocess_keys.c377 void key_fsuid_changed(struct cred *new_cred) in key_fsuid_changed() argument
380 if (new_cred->thread_keyring) { in key_fsuid_changed()
381 down_write(&new_cred->thread_keyring->sem); in key_fsuid_changed()
382 new_cred->thread_keyring->uid = new_cred->fsuid; in key_fsuid_changed()
383 up_write(&new_cred->thread_keyring->sem); in key_fsuid_changed()
390 void key_fsgid_changed(struct cred *new_cred) in key_fsgid_changed() argument
393 if (new_cred->thread_keyring) { in key_fsgid_changed()
394 down_write(&new_cred->thread_keyring->sem); in key_fsgid_changed()
395 new_cred->thread_keyring->gid = new_cred->fsgid; in key_fsgid_changed()
396 up_write(&new_cred->thread_keyring->sem); in key_fsgid_changed()