Function report |
Source Code:fs\posix_acl.c |
Create Date:2022-07-28 20:29:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Returns 0 if the acl can be exactly represented in the traditional* file mode permission bits, or else 1. Returns -E... on error.
Proto:int posix_acl_equiv_mode(const struct posix_acl *acl, umode_t *mode_p)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct posix_acl * | acl | |
| umode_t * | mode_p |
| 282 | mode = 0 |
| 283 | not_equiv = 0 |
| 288 | If Not acl Then Return 0 |
| 293 | Case e_tag == _tag entry in struct posix_acl_entry |
| 296 | Case e_tag == ACL_GROUP_OBJ |
| 309 | not_equiv = 1 |
| 310 | Break |
| 311 | Default |
| 312 | Return -EINVAL |
| 317 | Return not_equiv |
| Name | Describe |
|---|---|
| posix_acl_update_mode | posix_acl_update_mode - update mode in set_acl*@inode: target inode*@mode_p: mode (pointer) for update*@acl: acl pointer* Update the file mode when setting an ACL: compute the new file permission* bits based on the 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 |