Function report |
Source Code:ipc\shm.c |
Create Date:2022-07-28 16:48:09 |
Last Modify:2020-03-17 22:58:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:copy_compat_shmid_to_user
Proto:static int copy_compat_shmid_to_user(void __user *buf, struct shmid64_ds *in, int version)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void __user * | buf | |
struct shmid64_ds * | in | |
int | version |
1291 | If version == New version (support 32-bit UIDs, biggermessage sizes, etc. Then |
1294 | to_compat_ipc64_perm( & shm_perm, & peration perms ) |
1295 | shm_atime = lower_32_bits - return bits 0-31 of a number*@n: the number we're accessing(last attach time ) |
1297 | shm_dtime = lower_32_bits - return bits 0-31 of a number*@n: the number we're accessing(last detach time ) |
1299 | shm_ctime = lower_32_bits - return bits 0-31 of a number*@n: the number we're accessing(last change time ) |
1301 | shm_segsz = size of segment (bytes) |
1302 | shm_nattch = . of current attaches |
1303 | shm_cpid = pid of creator |
1304 | shm_lpid = pid of last operator |
1305 | Return copy_to_user(buf, & v, size of v ) |
1306 | Else |
1309 | to_compat_ipc_perm( & shm_perm, & peration perms ) |
1311 | shm_atime = last attach time |
1312 | shm_dtime = last detach time |
1313 | shm_ctime = last change time |
1314 | shm_segsz = size of segment (bytes) |
1315 | shm_nattch = . of current attaches |
1316 | shm_cpid = pid of creator |
1317 | shm_lpid = pid of last operator |
1318 | Return copy_to_user(buf, & v, size of v ) |
Name | Describe |
---|---|
compat_ksys_shmctl |
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 |