Function report |
Source Code:fs\namei.c |
Create Date:2022-07-28 20:05:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:may_follow_link - Check symlink following for unsafe situations*@nd: nameidata pathwalk data* In the case of the sysctl_protected_symlinks sysctl being enabled,* CAP_DAC_OVERRIDE needs to be specifically ignored if the symlink is
Proto:static inline int may_follow_link(struct nameidata *nd)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct nameidata * | nd |
| 906 | If Not sysctl_protected_symlinks Then Return 0 |
| 910 | inode = link_inode |
| 915 | parent = path.dentry.d_inode |
| 924 | If flags & RCU pathwalk mode; semi-internal Then Return -ECHILD |
| 927 | audit_inode(name, dentry, 0) |
| 929 | Return -EACCES |
| Name | Describe |
|---|---|
| trailing_symlink |
| 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 |