Function report |
Source Code:security\apparmor\label.c |
Create Date:2022-07-28 19:54:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_update_label_name - update a label to have a stored name*@ns: ns being viewed from (NOT NULL)*@label: label to update (NOT NULL)*@gfp: type of memory allocation* Requires: labels_set(label) not locked in caller* note: only updates the label name if it
Proto:bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct aa_ns * | ns | |
struct aa_label * | label | |
gfp_t | gfp |
1420 | atm just a notation * name |
1421 | bool res = false |
1429 | If aa_label_acntsxprint - allocate a __counted string buffer and print label*@strp: buffer to write to == -1 Then Return res |
1432 | ls = labels_set(label) |
1433 | write_lock_irqsave( & lock, flags) |
1434 | If Not hname && flags & label is in tree Then |
1437 | Else aa_put_str(name) |
1439 | write_unlock_irqrestore( & lock, flags) |
1441 | Return res |
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 |