Function report |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-28 08:10:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set uid and gid of rdtgroup dirs and files to that of the creator
Proto:static int rdtgroup_kn_set_ugid(struct kernfs_node *kn)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kernfs_node * | kn |
191 | struct iattr iattr = {ia_valid = ATTR_UID | ATTR_GID, ia_uid = current_fsuid(), ia_gid = current_fsgid(), } |
195 | If uid_eq(ia_uid, GLOBAL_ROOT_UID) && gid_eq(ia_gid, GLOBAL_ROOT_GID) Then Return 0 |
199 | Return kernfs_setattr(kn, & iattr) |
Name | Describe |
---|---|
rdtgroup_add_file | |
rdtgroup_mkdir_info_resdir | |
rdtgroup_create_info_dir | |
mongroup_create_dir | |
mon_addfile | |
mkdir_mondata_subdir | |
mkdir_rdt_prepare |
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 |