函数逻辑报告 |
Source Code:security\selinux\netlabel.c |
Create Date:2022-07-27 20:47:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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().
函数原型:static inline int selinux_netlbl_option(int level, int optname)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | level | |
int | optname |
484 | 返回:level恒等于IPPROTO_IP且optname恒等于IP_OPTIONS或level恒等于IPPROTO_IPV6且optname恒等于IPV6_HOPOPTS |
名称 | 描述 |
---|---|
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* |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |