Function report |
Source Code:ipc\shm.c |
Create Date:2022-07-28 16:47:56 |
Last Modify:2020-03-17 22:58:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ksys_shmctl
Proto:static long ksys_shmctl(int shmid, int cmd, struct shmid_ds __user *buf, int version)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
int | shmid | |
int | cmd | |
struct shmid_ds __user * | buf | |
int | version |
1154 | err = shmctl_ipc_info(ns, & shminfo) |
1159 | Return err |
1163 | err = shmctl_shm_info(ns, & shm_info) |
1168 | Return err |
1170 | Case cmd == pcs ctl commands |
1171 | Case cmd == SHM_STAT_ANY |
1172 | Case cmd == get ipc_perm options |
1178 | Return err |
1180 | Case cmd == set ipc_perm options |
1181 | If copy_shmid_from_user( & sem64, buf, version) Then Return -EFAULT |
1184 | Case cmd == move resource |
1186 | Case cmd == super user shmctl commands |
1187 | Case cmd == SHM_UNLOCK |
1188 | Return shmctl_do_lock(ns, shmid, cmd) |
1189 | Default |
1190 | Return -EINVAL |
Name | Describe |
---|---|
SYSCALL_DEFINE3 |
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 |