Function report |
Source Code:security\apparmor\secid.c |
Create Date:2022-07-28 19:53:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_alloc_secid - allocate a new secid for a profile*@label: the label to allocate a secid for*@gfp: memory allocation flags* Returns: 0 with @label->secid initialized* <0 returns error with @label->secid set to AA_SECID_INVALID
Proto:int aa_alloc_secid(struct aa_label *label, gfp_t gfp)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_label * | label | |
| gfp_t | gfp |
| 130 | spin_lock_irqsave( & secid_lock, flags) |
| 132 | spin_unlock_irqrestore( & secid_lock, flags) |
| 135 | If ret < 0 Then |
| 137 | Return ret |
| 142 | Return 0 |
| Name | Describe |
|---|---|
| aa_label_init |
| 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 |