函数逻辑报告 |
Source Code:security\tomoyo\common.h |
Create Date:2022-07-27 21:02:02 |
Last Modify:2020-03-18 09:12:16 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_task - Get "struct tomoyo_task" for specified thread.*@task - Pointer to "struct task_struct".* Returns pointer to "struct tomoyo_task" for specified thread.
函数原型:static inline struct tomoyo_task *tomoyo_task(struct task_struct *task)
返回类型:struct tomoyo_task
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task |
名称 | 描述 |
---|---|
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |