Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:19:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smk_copy_relabel - copy smk_relabel labels list*@nhead: new rules header pointer*@ohead: old rules header pointer*@gfp: type of the memory for the allocation* Returns 0 on success, -ENOMEM on error
Proto:static int smk_copy_relabel(struct list_head *nhead, struct list_head *ohead, gfp_t gfp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct list_head * | nhead | |
struct list_head * | ohead | |
gfp_t | gfp |
381 | nklep = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
382 | If (nklep == NULL) Then |
384 | Return -ENOMEM |
390 | Return 0 |
Name | Describe |
---|---|
smack_cred_prepare | smack_cred_prepare - prepare new set of credentials for modification*@new: the new credentials*@old: the original credentials*@gfp: the atomicity of any memory allocations* Prepare a new set of credentials for modification. |
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 |