Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:22:49 |
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_shm : check if current has access on shm*@isp : the object*@access : access requested* Returns 0 if current has the requested access, error code otherwise
Proto:static int smk_curacc_shm(struct kern_ipc_perm *isp, int access)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kern_ipc_perm * | isp | |
int | access |
2940 | ssp = smack_of_ipc - the smack pointer for the ipc*@isp: the object* Returns a pointer to the smack value |
2949 | rc = smk_bu_current("shm", ssp, access, rc) |
2950 | Return rc |
Name | Describe |
---|---|
smack_shm_associate | smack_shm_associate - Smack access check for shm*@isp: the object*@shmflg: access requested* Returns 0 if current has the requested access, error code otherwise |
smack_shm_shmctl | smack_shm_shmctl - Smack access check for shm*@isp: the object*@cmd: what it wants to do* Returns 0 if current has the requested access, error code otherwise |
smack_shm_shmat | smack_shm_shmat - Smack access for shmat*@isp: the object*@shmaddr: unused*@shmflg: access requested* Returns 0 if current has the requested access, 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 |