Function report |
Source Code:security\apparmor\lsm.c |
Create Date:2022-07-28 19:53:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static int apparmor_socket_post_create(struct socket *sock, int family, int type, int protocol, int kern)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct socket * | sock | |
int | family | |
int | type | |
int | protocol | |
int | kern |
847 | If kern Then |
848 | ns = aa_get_current_ns() |
850 | label = aa_get_label(ns_unconfined(ns)) |
855 | If sk Then |
861 | aa_put_label(label) |
863 | Return 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 |