Function report | 
Source Code:security\commoncap.c | 
Create Date:2022-07-28 18:36:15 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:validheader
Proto:static bool validheader(size_t size, const struct vfs_cap_data *cap)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| size_t | size | |
| const struct vfs_cap_data * | cap | 
| 467 | Return is_v2header(size, cap) || is_v3header(size, cap) | 
| Name | Describe | 
|---|---|
| cap_convert_nscap | User requested a write of security.capability. If needed, update the* xattr to change from v2 to v3, or to fixup the v3 rootid.* If all is ok, we return the new size, on error return < 0. | 
| 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  |