Home
last modified time | relevance | path

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

/fs/
Dopen.c453 struct cred *override_cred; in SYSCALL_DEFINE3() local
461 override_cred = prepare_creds(); in SYSCALL_DEFINE3()
462 if (!override_cred) in SYSCALL_DEFINE3()
465 override_cred->fsuid = override_cred->uid; in SYSCALL_DEFINE3()
466 override_cred->fsgid = override_cred->gid; in SYSCALL_DEFINE3()
470 if (override_cred->uid) in SYSCALL_DEFINE3()
471 cap_clear(override_cred->cap_effective); in SYSCALL_DEFINE3()
473 override_cred->cap_effective = in SYSCALL_DEFINE3()
474 override_cred->cap_permitted; in SYSCALL_DEFINE3()
477 old_cred = override_creds(override_cred); in SYSCALL_DEFINE3()
[all …]