Function report |
Source Code:security\tomoyo\common.h |
Create Date:2022-07-28 19:32:41 |
Last Modify:2020-03-18 09:12:16 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_task - Get "struct tomoyo_task" for specified thread.*@task - Pointer to "struct task_struct".* Returns pointer to "struct tomoyo_task" for specified thread.
Proto:static inline struct tomoyo_task *tomoyo_task(struct task_struct *task)
Type:struct tomoyo_task
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | task |
1222 | Return Used by LSM modules for access restriction: + lbs_task |
Name | Describe |
---|---|
tomoyo_select_domain | moyo_select_domain - Parse select command.*@head: Pointer to "struct tomoyo_io_buffer".*@data: String to parse.* Returns true on success, false otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_read_pid | moyo_read_pid - Get domainname of the specified PID |
tomoyo_find_next_domain | moyo_find_next_domain - Find a domain.*@bprm: Pointer to "struct linux_binprm".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_write_self | moyo_write_self - write() for /sys/kernel/security/tomoyo/self_domain interface |
tomoyo_domain | moyo_domain - Get "struct tomoyo_domain_info" for current thread.* Returns pointer to "struct tomoyo_domain_info" for current thread. |
tomoyo_cred_prepare | moyo_cred_prepare - Target for security_prepare_creds().*@new: Pointer to "struct cred".*@old: Pointer to "struct cred".*@gfp: Memory allocation flags.* Returns 0. |
tomoyo_bprm_committed_creds | moyo_bprm_committed_creds - Target for security_bprm_committed_creds().*@bprm: Pointer to "struct linux_binprm". |
tomoyo_bprm_check_security | moyo_bprm_check_security - Target for security_bprm_check().*@bprm: Pointer to "struct linux_binprm".* Returns 0 on success, negative value otherwise. |
tomoyo_task_alloc | moyo_task_alloc - Target for security_task_alloc().*@task: Pointer to "struct task_struct".*@flags: clone() flags.* Returns 0. |
tomoyo_task_free | moyo_task_free - Target for security_task_free().*@task: Pointer to "struct task_struct". |
tomoyo_init | moyo_init - Register TOMOYO Linux as a LSM module.* Returns 0. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |