Home
last modified time | relevance | path

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

/openbmc/linux/security/landlock/
H A Dcred.h24 landlock_cred(const struct cred *cred) in landlock_cred() function
31 return landlock_cred(current_cred())->domain; in landlock_get_current_domain()
40 return landlock_cred(__task_cred(task))->domain; in landlock_get_task_domain()
H A Dcred.c20 struct landlock_ruleset *const old_dom = landlock_cred(old)->domain; in hook_cred_prepare()
24 landlock_cred(new)->domain = old_dom; in hook_cred_prepare()
31 struct landlock_ruleset *const dom = landlock_cred(cred)->domain; in hook_cred_free()
H A Dsyscalls.c443 new_llcred = landlock_cred(new_cred); in SYSCALL_DEFINE2()