Function report |
Source Code:security\smack\smack_access.c |
Create Date:2022-07-28 19:25:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smk_netlbl_mls - convert a catset to netlabel mls categories*@catset: the Smack categories*@sap: where to put the netlabel categories* Allocates and fills attr.mls* Returns 0 on success, error code on failure.
Proto:int smk_netlbl_mls(int level, char *catset, struct netlbl_lsm_secattr *sap, int len)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | level | |
| char * | catset | |
| struct netlbl_lsm_secattr * | sap | |
| int | len |
| 494 | flags |= NETLBL_SECATTR_MLS_CAT |
| 496 | cat = NULL |
| 510 | Return 0 |
| Name | Describe |
|---|---|
| smk_import_entry | smk_import_entry - import a label, return the list entry*@string: a text string that might be a Smack label*@len: the maximum size, or zero if it is NULL terminated |
| smk_set_cipso | smk_set_cipso - do the work for write() for cipso and cipso2*@file: file pointer, not actually used*@buf: where to get the data from*@count: bytes sent*@ppos: where to start*@format: /smack/cipso or /smack/cipso2 |
| smk_preset_netlabel |
| 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 |