Function report |
Source Code:security\selinux\ibpkey.c |
Create Date:2022-07-28 19:10:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sel_ib_pkey_insert - Insert a new pkey into the table*@pkey: the new pkey record* Description:* Add a new pkey record to the hash table.
Proto:static void sel_ib_pkey_insert(struct sel_ib_pkey *pkey)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sel_ib_pkey * | pkey |
| 101 | idx = sel_ib_pkey_hashfn - Hashing function for the pkey table*@pkey: pkey number* Description:* This is the hashing function for the pkey table, it returns the bucket* number for the given pkey. |
| 103 | If size == SEL_PKEY_HASH_BKT_LIMIT Then |
| 113 | Else |
| 114 | size++ |
| Name | Describe |
|---|---|
| sel_ib_pkey_sid_slow | sel_ib_pkey_sid_slow - Lookup the SID of a pkey using the policy*@subnet_prefix: subnet prefix*@pkey_num: pkey number*@sid: pkey SID* Description:* This function determines the SID of a pkey by querying the security* policy |
| 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 |