| Function report | 
| Source Code: security\apparmor\include\cred.h | Create Date:2022-07-28 19:49:39 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:aa_get_current_label - get the newest version of the current tasks label* Returns: newest version of confining label (NOT NULL)* This fn will not update the tasks cred, so it is safe inside of locks* The returned reference must be put with aa_put_label()
Proto:static inline struct aa_label *aa_get_current_label(void)
Type:struct aa_label
Parameter:Nothing
| 107 | Return aa_get_label(l) | 
| Name | Describe | 
|---|---|
| aa_change_profile | aa_change_profile - perform a one-way profile transition*@fqname: name of profile may include namespace (NOT NULL)*@onexec: whether this transition is to take place immediately or at exec*@flags: flags affecting change behavior | 
| apparmor_sb_pivotroot | |
| apparmor_socket_post_create | apparmor_socket_post_create - setup the per-socket security struct* Note:* - kernel sockets currently labeled unconfined but we may want to* move to a special kernel label* - socket may not have sk here if created with sock_create_lite or* sock_alloc | 
| apparmor_sock_graft | apparmor_sock_graft - Initialize newly created socket*@sk: child sock*@parent: parent socket* Note: could set off of SOCK_CTX(parent) but need to track inode and we can* just set sk security information off of current creating process label* Labeling of | 
| 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 |