Home
last modified time | relevance | path

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

/security/keys/
Dpermission.c40 if (uid_eq(key->uid, cred->fsuid)) { in key_task_permission()
Drequest_key.c115 keyring = keyring_alloc(desc, cred->fsuid, cred->fsgid, cred, in call_sbin_request_key()
130 sprintf(uid_str, "%d", from_kuid(&init_user_ns, cred->fsuid)); in call_sbin_request_key()
367 ctx->cred->fsuid, ctx->cred->fsgid, ctx->cred, in construct_alloc_key()
Dprocess_keys.c300 tsk->cred->thread_keyring->uid = tsk->cred->fsuid; in key_fsuid_changed()
858 new->fsuid = old->fsuid; in key_change_session_keyring()
Drequest_key_auth.c213 cred->fsuid, cred->fsgid, cred, in request_key_auth_new()
Dkey.c917 cred->fsuid, cred->fsgid, cred, perm, flags, NULL); in key_create_or_update()
/security/
Dcommoncap.c802 new->suid = new->fsuid = new->euid; in cap_bprm_set_creds()
1021 if (uid_eq(old->fsuid, root_uid) && !uid_eq(new->fsuid, root_uid)) in cap_task_fix_setuid()
1025 if (!uid_eq(old->fsuid, root_uid) && uid_eq(new->fsuid, root_uid)) in cap_task_fix_setuid()
/security/apparmor/
Dfile.c61 kuid_t fsuid = current_fsuid(); in file_audit_cb() local
73 from_kuid(&init_user_ns, fsuid)); in file_audit_cb()