Searched refs:override_cred (Results 1 – 1 of 1) sorted by relevance
302 struct cred *override_cred; in SYSCALL_DEFINE3() local310 override_cred = prepare_creds(); in SYSCALL_DEFINE3()311 if (!override_cred) in SYSCALL_DEFINE3()314 override_cred->fsuid = override_cred->uid; in SYSCALL_DEFINE3()315 override_cred->fsgid = override_cred->gid; in SYSCALL_DEFINE3()319 if (override_cred->uid) in SYSCALL_DEFINE3()320 cap_clear(override_cred->cap_effective); in SYSCALL_DEFINE3()322 override_cred->cap_effective = in SYSCALL_DEFINE3()323 override_cred->cap_permitted; in SYSCALL_DEFINE3()326 old_cred = override_creds(override_cred); in SYSCALL_DEFINE3()[all …]