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:posix_acl_chmod
Proto:int posix_acl_chmod(struct inode *inode, umode_t mode)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode | |
| umode_t | mode |
| 558 | ret = 0 |
| 560 | If Not IS_POSIXACL(inode) Then Return 0 |
| 562 | If Not set_acl Then Return -EOPNOTSUPP |
| 566 | If IS_ERR_OR_NULL(acl) Then |
| 567 | If acl == ERR_PTR( - EOPNOTSUPP) Then Return 0 |
| 572 | ret = __posix_acl_chmod( & acl, GFP_KERNEL, mode) |
| 575 | ret = set_acl(inode, acl, a_type field in acl_user_posix_entry_t ) |
| 577 | Return ret |
| 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 |