函数逻辑报告 |
Source Code:ipc\sem.c |
Create Date:2022-07-27 18:19:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:semctl_info
函数原型:static int semctl_info(struct ipc_namespace *ns, int semid, int cmd, void __user *p)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ipc_namespace * | ns | |
int | semid | |
int | cmd | |
void __user * | p |
1296 | err等于security_sem_semctl(NULL, cmd) |
1309 | lock for reading |
1313 | 否则 |
1314 | semusz等于sizeof struct sem_undo |
1317 | max_idx等于pc_get_maxidx - get the highest assigned index*@ids: ipc identifier set* Called with ipc_ids.rwsem held for reading. |
1318 | lease a read lock |
1319 | 如果copy_to_user(p, & seminfo, seminfo的长度)则返回:负EFAULT |
名称 | 描述 |
---|---|
ksys_semctl | |
compat_ksys_semctl |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |