Function report |
Source Code:ipc\util.c |
Create Date:2022-07-28 16:39:59 |
| Last Modify:2022-05-23 18:05:07 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pc_update_perm - update the permissions of an ipc object*@in: the permission given as input.*@out: the permission of the ipc to set.
Proto:int ipc_update_perm(struct ipc64_perm *in, struct kern_ipc_perm *out)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ipc64_perm * | in | |
| struct kern_ipc_perm * | out |
| 655 | uid = make_kuid(current_user_ns(), uid) |
| 656 | gid = make_kgid(current_user_ns(), gid) |
| 665 | Return 0 |
| Name | Describe |
|---|---|
| msgctl_down | This function handles some msgctl commands which require the rwsem* to be held in write mode.* NOTE: no locks must be held, the rwsem is taken inside this function. |
| semctl_down | This function handles some semctl commands which require the rwsem* to be held in write mode.* NOTE: no locks must be held, the rwsem is taken inside this function. |
| shmctl_down | This function handles some shmctl commands which require the rwsem* to be held in write mode.* NOTE: no locks must be held, the rwsem is taken inside this function. |
| 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 |