Function report |
Source Code:fs\open.c |
Create Date:2022-07-28 20:00:55 |
| Last Modify:2020-03-18 10:16:03 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:chmod_common
Proto:static int chmod_common(const struct path *path, umode_t mode)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct path * | path | |
| umode_t | mode |
| 547 | struct inode * delegated_inode = NULL |
| 551 | error = mnt_want_write(mnt) |
| 554 | retry_deleg : |
| 555 | inode_lock(inode) |
| 556 | error = security_path_chmod(path, mode) |
| 557 | If error Then Go to out_unlock |
| 560 | ia_valid = Attribute flags. These should be or-ed together to figure out what* has been changed! | ATTR_CTIME |
| 561 | error = notify_change(dentry, & newattrs, & delegated_inode) |
| 562 | out_unlock : |
| 563 | inode_unlock(inode) |
| 564 | If delegated_inode Then |
| 565 | error = break_deleg_wait( & delegated_inode) |
| 566 | If Not error Then Go to retry_deleg |
| 569 | mnt_drop_write(mnt) |
| 570 | Return error |
| Name | Describe |
|---|---|
| ksys_fchmod | |
| do_fchmodat |
| 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 |