Function report |
Source Code:security\selinux\netlabel.c |
Create Date:2022-07-28 19:17:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_netlbl_option - Is this a NetLabel option*@level: the socket level or protocol*@optname: the socket option name* Description:* Returns true if @level and @optname refer to a NetLabel option.* Helper for selinux_netlbl_socket_setsockopt().
Proto:static inline int selinux_netlbl_option(int level, int optname)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | level | |
int | optname |
484 | Return level == IPPROTO_IP && optname == IP_OPTIONS || level == IPPROTO_IPV6 && optname == IPV6_HOPOPTS |
Name | Describe |
---|---|
selinux_netlbl_socket_setsockopt | selinux_netlbl_socket_setsockopt - Do not allow users to remove a NetLabel*@sock: the socket*@level: the socket level or protocol*@optname: the socket option name* Description:* Check the setsockopt() call and if the user is trying to replace the IP* |
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 |