Function report |
Source Code:security\apparmor\net.c |
Create Date:2022-07-28 19:54:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_sk_perm
Proto:int aa_sk_perm(const char *op, unsigned int request, struct sock *sk)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | op | |
| unsigned int | request | |
| struct sock * | sk |
| 168 | AA_BUG(in_interrupt()) |
| 175 | Return error |
| Name | Describe |
|---|---|
| apparmor_socket_connect | apparmor_socket_connect - check perms before connecting @sock to @address |
| apparmor_socket_listen | apparmor_socket_list - check perms before allowing listen |
| apparmor_socket_accept | apparmor_socket_accept - check perms before accepting a new connection.* Note: while @newsock is created and has some information, the accept* has not been done. |
| aa_sock_msg_perm | |
| aa_sock_perm | valiation, get/set attr, shutdown |
| aa_sock_opt_perm | valiation, get/set attr, opt |
| apparmor_socket_bind | apparmor_socket_bind - check perms before bind addr to socket |
| 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 |