syscall: rename z_thread_perms_inherit -> k_thread_perms_inherit
Rename internal API to not use z_/Z_. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
993f903830
commit
a5b49458eb
3 changed files with 3 additions and 4 deletions
|
@ -120,8 +120,7 @@ void z_object_wordlist_foreach(_wordlist_cb_func_t func, void *context);
|
|||
* @param parent Parent thread, to get permissions from
|
||||
* @param child Child thread, to copy permissions to
|
||||
*/
|
||||
void z_thread_perms_inherit(struct k_thread *parent,
|
||||
struct k_thread *child);
|
||||
void k_thread_perms_inherit(struct k_thread *parent, struct k_thread *child);
|
||||
|
||||
/**
|
||||
* Grant a thread permission to a kernel object
|
||||
|
|
|
@ -673,7 +673,7 @@ char *z_setup_new_thread(struct k_thread *new_thread,
|
|||
z_mem_domain_init_thread(new_thread);
|
||||
|
||||
if ((options & K_INHERIT_PERMS) != 0U) {
|
||||
z_thread_perms_inherit(_current, new_thread);
|
||||
k_thread_perms_inherit(_current, new_thread);
|
||||
}
|
||||
#endif
|
||||
#ifdef CONFIG_SCHED_DEADLINE
|
||||
|
|
|
@ -589,7 +589,7 @@ static void wordlist_cb(struct k_object *ko, void *ctx_ptr)
|
|||
}
|
||||
}
|
||||
|
||||
void z_thread_perms_inherit(struct k_thread *parent, struct k_thread *child)
|
||||
void k_thread_perms_inherit(struct k_thread *parent, struct k_thread *child)
|
||||
{
|
||||
struct perm_ctx ctx = {
|
||||
thread_index_get(parent),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue