Function report |
Source Code:security\selinux\netlabel.c |
Create Date:2022-07-28 19:17:19 |
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_sidlookup_cached - Cache a SID lookup*@skb: the packet*@secattr: the NetLabel security attributes*@sid: the SID* Description:* Query the SELinux security server to lookup the correct SID for the given* security attributes
Proto:static int selinux_netlbl_sidlookup_cached(struct sk_buff *skb, u16 family, struct netlbl_lsm_secattr *secattr, unsigned int *sid)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct sk_buff * | skb | |
u16 | family | |
struct netlbl_lsm_secattr * | secattr | |
unsigned int * | sid |
48 | rc = security_netlbl_secattr_to_sid( & selinux_state, secattr, sid) |
49 | If rc == 0 && flags & NETLBL_SECATTR_CACHEABLE && flags & NETLBL_SECATTR_CACHE Then netlbl_cache_add(skb, family, secattr) |
54 | Return rc |
Name | Describe |
---|---|
selinux_netlbl_skbuff_getsid | selinux_netlbl_skbuff_getsid - Get the sid of a packet using NetLabel*@skb: the packet*@family: protocol family*@type: NetLabel labeling protocol type*@sid: the SID* Description:* Call the NetLabel mechanism to get the security attributes of the given* |
selinux_netlbl_sock_rcv_skb | selinux_netlbl_sock_rcv_skb - Do an inbound access check using NetLabel*@sksec: the sock's sk_security_struct*@skb: the packet*@family: protocol family*@ad: the audit data* Description:* Fetch the NetLabel security attributes from @skb and perform an |
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 |