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:rootid_from_xattr
Proto:static kuid_t rootid_from_xattr(const void *value, size_t size, struct user_namespace *task_ns)
Type:kuid_t
Parameter:
Type | Parameter | Name |
---|---|---|
const void * | value | |
size_t | size | |
struct user_namespace * | task_ns |
457 | rootid = 0 |
459 | If size == XATTR_CAPS_SZ_3 Then rootid = le32_to_cpu(rootid) |
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 |