Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:22:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static int smk_curacc_sem(struct kern_ipc_perm *isp, int access)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
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 | Return rc |
Name | Describe |
---|---|
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 |
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 |