| Function report | 
| Source Code: security\apparmor\include\cred.h | Create Date:2022-07-28 19:49:40 | 
| 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_ns
Proto:static inline struct aa_ns *aa_get_current_ns(void)
Type:struct aa_ns
Parameter:Nothing
| 185 | Return ns | 
| Name | Describe | 
|---|---|
| ns_revision_open | |
| p_start | p_start - start a depth first traversal of profile tree*@f: seq_file to fill*@pos: current position* Returns: first profile under current namespace or NULL if none found* acquires first ns->lock | 
| policy_get_link | |
| policy_view_capable | policy_view_capable - check if viewing policy in at @ns is allowed* Returns: true if viewing policy is allowed* If @ns is NULL then the namespace being viewed is assumed to be the* tasks current namespace. | 
| aa_getprocattr | aa_getprocattr - Return the profile information for @profile*@profile: the profile to print profile info about (NOT NULL)*@string: Returns - string containing the profile info (NOT NULL)* Returns: length of @string on success else error on failure* | 
| 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 | 
| aa_label_audit | |
| aa_label_seq_print | |
| aa_label_printk | 
| 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 |