Function report |
Source Code:fs\devpts\inode.c |
Create Date:2022-07-28 20:34:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:parse_mount_options():* Set @opts to mount options specified in @data. If an option is not* specified in @data, set it to its default value.* Note: @data may be NULL (in which case all options are set to default).
Proto:static int parse_mount_options(char *data, int op, struct pts_mount_opts *opts)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | data | |
| int | op | |
| struct pts_mount_opts * | opts |
| 252 | setuid = 0 |
| 253 | setgid = 0 |
| 254 | uid = GLOBAL_ROOT_UID |
| 255 | gid = GLOBAL_ROOT_GID |
| 256 | mode = DEVPTS_DEFAULT_MODE |
| 258 | max = Absolute limit |
| 263 | If op == PARSE_MOUNT Then reserve = mnt_ns == mnt_ns |
| 272 | If Not p Then Continue |
| 284 | setuid = 1 |
| 285 | Break |
| 293 | setgid = 1 |
| 294 | Break |
| 299 | Break |
| 300 | Case token == Opt_ptmxmode |
| 304 | Break |
| 305 | Case token == Opt_newinstance |
| 306 | Break |
| 312 | Break |
| 313 | Default |
| 319 | Return 0 |
| Name | Describe |
|---|---|
| devpts_remount | |
| devpts_fill_super |
| 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 |