Function report |
Source Code:fs\namespace.c |
Create Date:2022-07-28 20:09:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Don't allow locked mount flags to be cleared.* No locks need to be held here while testing the various MNT_LOCK* flags because those flags can never be cleared once they are set.
Proto:static bool can_change_locked_flags(struct mount *mnt, unsigned int mnt_flags)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mount * | mnt | |
| unsigned int | mnt_flags |
| 2420 | If fl & MNT_LOCK_READONLY && Not (mnt_flags & does the user want this to be r/o? ) Then Return false |
| 2424 | If fl & MNT_LOCK_NODEV && Not (mnt_flags & MNT_NODEV) Then Return false |
| 2428 | If fl & MNT_LOCK_NOSUID && Not (mnt_flags & MNT_NOSUID) Then Return false |
| 2432 | If fl & MNT_LOCK_NOEXEC && Not (mnt_flags & MNT_NOEXEC) Then Return false |
| 2436 | If fl & MNT_LOCK_ATIME && (fl & MNT_ATIME_MASK) != (mnt_flags & MNT_ATIME_MASK) Then Return false |
| 2440 | Return true |
| Name | Describe |
|---|---|
| do_reconfigure_mnt | Handle reconfiguration of the mountpoint only without alteration of the* superblock it refers to. This is triggered by specifying MS_REMOUNT|MS_BIND* to mount(2). |
| do_remount | hange filesystem flags. dir should be a physical root of filesystem.* If you've mounted a non-root directory somewhere and want to do remount* on it - tough luck. |
| 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 |