Function report |
Source Code:security\smack\smackfs.c |
Create Date:2022-07-28 19:27:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smk_cipso_doi - initialize the CIPSO domain
Proto:static void smk_cipso_doi(void)
Type:void
Parameter:Nothing
696 | doip = Allocation memory |
697 | If (doip == NULL) Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
699 | std = NULL |
700 | doi = smk_cipso_doi_value |
701 | type = CIPSO_V4_MAP_PASS |
702 | tags[0] = CIPSO_V4_TAG_RBITMAP |
703 | When rc < DOI definition struct cycle tags[rc] = standard tag types |
706 | rc = netlbl_cfg_cipsov4_add(doip, & nai) |
707 | If rc != 0 Then |
711 | Return |
714 | If rc != 0 Then |
718 | Return |
Name | Describe |
---|---|
smk_write_doi | smk_write_doi - write() for /smack/doi*@file: file pointer, not actually used*@buf: where to get the data from*@count: bytes sent*@ppos: where to start* Returns number of bytes written or error code, as appropriate |
init_smk_fs | _smk_fs - get the smackfs superblock* register the smackfs* Do not register smackfs if Smack wasn't enabled* on boot |
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 |