Searched refs:new_dom (Results 1 – 2 of 2) sorted by relevance
406 struct landlock_ruleset *new_dom; in landlock_merge_ruleset() local423 new_dom = create_ruleset(num_layers); in landlock_merge_ruleset()424 if (IS_ERR(new_dom)) in landlock_merge_ruleset()425 return new_dom; in landlock_merge_ruleset()426 new_dom->hierarchy = in landlock_merge_ruleset()428 if (!new_dom->hierarchy) { in landlock_merge_ruleset()432 refcount_set(&new_dom->hierarchy->usage, 1); in landlock_merge_ruleset()435 err = inherit_ruleset(parent, new_dom); in landlock_merge_ruleset()440 err = merge_ruleset(new_dom, ruleset); in landlock_merge_ruleset()444 return new_dom; in landlock_merge_ruleset()[all …]
400 struct landlock_ruleset *new_dom, *ruleset; in SYSCALL_DEFINE2() local437 new_dom = landlock_merge_ruleset(new_llcred->domain, ruleset); in SYSCALL_DEFINE2()438 if (IS_ERR(new_dom)) { in SYSCALL_DEFINE2()439 err = PTR_ERR(new_dom); in SYSCALL_DEFINE2()445 new_llcred->domain = new_dom; in SYSCALL_DEFINE2()
Completed in 6 milliseconds