Function report |
Source Code:security\apparmor\lsm.c |
Create Date:2022-07-28 19:53:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:apparmor_task_kill
Proto:static int apparmor_task_kill(struct task_struct *target, struct kernel_siginfo *info, int sig, const struct cred *cred)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | target | |
struct kernel_siginfo * | info | |
int | sig | |
const struct cred * | cred |
748 | If cred Then |
752 | cl = aa_get_newest_cred_label - obtain the newest label on a cred*@cred: cred to obtain label from (NOT NULL)* Returns: newest version of confining label |
753 | tl = aa_get_task_label - Get another task's label*@task: task to query (NOT NULL)* Returns: counted reference to @task's label |
754 | error = aa_may_signal(cl, tl, sig) |
755 | aa_put_label(cl) |
756 | aa_put_label(tl) |
757 | Return error |
761 | tl = aa_get_task_label - Get another task's label*@task: task to query (NOT NULL)* Returns: counted reference to @task's label |
762 | error = aa_may_signal(cl, tl, sig) |
763 | aa_put_label(tl) |
766 | Return error |
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 |