Function report |
Source Code:fs\posix_acl.c |
Create Date:2022-07-28 20:29:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Modify acl when creating a new inode. The caller must ensure the acl is* only referenced once.* mode_p initially must contain the mode parameter to the open() / creat()* system calls. All permissions that are not granted by the acl are removed.
Proto:static int posix_acl_create_masq(struct posix_acl *acl, umode_t *mode_p)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct posix_acl * | acl | |
| umode_t * | mode_p |
| 419 | struct posix_acl_entry * group_obj = NULL, * mask_obj = NULL |
| 421 | not_equiv = 0 |
| 427 | Case e_tag == _tag entry in struct posix_acl_entry |
| 434 | not_equiv = 1 |
| 435 | Break |
| 437 | Case e_tag == ACL_GROUP_OBJ |
| 451 | Default |
| 452 | Return -EIO |
| 456 | If mask_obj Then |
| 459 | Else |
| 467 | Return not_equiv |
| Name | Describe |
|---|---|
| __posix_acl_create | |
| posix_acl_create |
| 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 |