函数逻辑报告 |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-27 20:52:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smk_curacc_sem : check if current has access on sem*@isp : the object*@access : access requested* Returns 0 if current has the requested access, error code otherwise
函数原型:static int smk_curacc_sem(struct kern_ipc_perm *isp, int access)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kern_ipc_perm * | isp | |
int | access |
3029 | ssp等于smack_of_ipc - the smack pointer for the ipc*@isp: the object* Returns a pointer to the smack value |
3038 | rc等于smk_bu_current("sem", ssp, access, rc) |
3039 | 返回:rc |
名称 | 描述 |
---|---|
smack_sem_associate | smack_sem_associate - Smack access check for sem*@isp: the object*@semflg: access requested* Returns 0 if current has the requested access, error code otherwise |
smack_sem_semctl | smack_sem_shmctl - Smack access check for sem*@isp: the object*@cmd: what it wants to do* Returns 0 if current has the requested access, error code otherwise |
smack_sem_semop | smack_sem_semop - Smack checks of semaphore operations*@isp: the object*@sops: unused*@nsops: unused*@alter: unused* Treated as read and write in all cases.* Returns 0 if access is allowed, error code otherwise |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |