Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kernfs.h Create Date:2022-07-28 05:44:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kernfs_setattr

Proto:static inline int kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr)

Type:int

Parameter:

TypeParameterName
struct kernfs_node *kn
const struct iattr *iattr
495  Return -ENOSYS
Caller
NameDescribe
rdtgroup_kn_set_ugidset uid and gid of rdtgroup dirs and files to that of the creator
rdtgroup_kn_mode_restrictdtgroup_kn_mode_restrict - Restrict user access to named resctrl file*@r: The resource group with which the file is associated.*@name: Name of the file* The permissions of named resctrl file, directory, or link are modified
rdtgroup_kn_mode_restoredtgroup_kn_mode_restore - Restore user access to named resctrl file*@r: The resource group with which the file is associated.*@name: Name of the file*@mask: Mask of permissions that should be restored* Restore the permissions of the named file
cgroup_kn_set_ugidset uid and gid of cgroup dirs and files to that of the creator