Function report |
Source Code:ipc\sem.c |
Create Date:2022-07-28 16:45:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:copy_compat_semid_to_user
Proto:static int copy_compat_semid_to_user(void __user *buf, struct semid64_ds *in, int version)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void __user * | buf | |
struct semid64_ds * | in | |
int | version |
1735 | If version == New version (support 32-bit UIDs, biggermessage sizes, etc. Then |
1738 | to_compat_ipc64_perm( & sem_perm, & permissions .. see ipc.h ) |
1739 | sem_otime = lower_32_bits - return bits 0-31 of a number*@n: the number we're accessing(last semop time ) |
1741 | sem_ctime = lower_32_bits - return bits 0-31 of a number*@n: the number we're accessing(last change time ) |
1744 | Return copy_to_user(buf, & v, size of v ) |
1745 | Else |
1748 | to_compat_ipc_perm( & sem_perm, & permissions .. see ipc.h ) |
1749 | sem_otime = last semop time |
1750 | sem_ctime = last change time |
1752 | Return copy_to_user(buf, & v, size of v ) |
Name | Describe |
---|---|
compat_ksys_semctl |
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 |