Function report |
Source Code:fs\attr.c |
Create Date:2022-07-28 20:08:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:chgrp_ok
Proto:static bool chgrp_ok(const struct inode *inode, kgid_t gid)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
const struct inode * | inode | |
kgid_t | gid |
36 | If uid_eq(current_fsuid(), i_uid) && (Check whether we're fsgid/egid or in the supplemental group.. || gid_eq(gid, i_gid)) Then Return true |
44 | Return false |
Name | Describe |
---|---|
setattr_prepare | setattr_prepare - check if attribute changes to a dentry are allowed*@dentry: dentry to check*@attr: attributes to change* Check if we are allowed to change the attributes contained in @attr* in the given dentry |
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 |