Function report |
Source Code:security\apparmor\label.c |
Create Date:2022-07-28 19:54:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_label_insert - insert label @label into @ls or return existing label*@ls - labelset to insert @label into*@label - label to insert* Requires: caller to hold a valid ref on @label* Returns: ref counted @label if successful in inserting @label* else ref
Proto:struct aa_label *aa_label_insert(struct aa_labelset *ls, struct aa_label *label)
Type:struct aa_label
Parameter:
Type | Parameter | Name |
---|---|---|
struct aa_labelset * | ls | |
struct aa_label * | label |
907 | If Not label_is_stale(label) Then |
908 | read_lock_irqsave( & lock, flags) |
910 | read_unlock_irqrestore( & lock, flags) |
915 | write_lock_irqsave( & lock, flags) |
917 | write_unlock_irqrestore( & lock, flags) |
919 | Return l |
Name | Describe |
---|---|
__label_update | __label_update - insert updated version of @label into labelset*@label - the label to update/replace* Returns: new label that is up to date* else NULL on failure* Requires: @ns lock be held* Note: worst case is the stale @label does not get updated and has |
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 |