Function report |
Source Code:fs\inode.c |
Create Date:2022-07-28 20:07:59 |
| Last Modify:2020-03-18 19:19:59 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:de_owner_or_capable - check current task permissions to inode*@inode: inode being checked* Return true if current either has CAP_FOWNER in a namespace with the* inode owner uid mapped, or owns the file.
Proto:bool inode_owner_or_capable(const struct inode *inode)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct inode * | inode |
| 2082 | If uid_eq(current_fsuid(), i_uid) Then Return true |
| 2085 | ns = current_user_ns() |
| 2088 | Return false |
| Name | Describe |
|---|---|
| can_do_pageout | |
| selinux_inode_setxattr | |
| may_open | |
| setfl | |
| 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 |
| notify_change | y_change - modify attributes of a filesytem object*@dentry: object affected*@attr: new attributes*@delegated_inode: returns inode, if the inode is delegated* The caller must hold the i_mutex on the affected object |
| xattr_permission | Check permissions for extended attribute access. This is a bit complicated* because different namespaces have very different rules. |
| fscrypt_ioctl_set_policy | |
| set_posix_acl |
| 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 |