Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:23:00 |
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_msq : helper to check if current has access on msq*@isp : the msq*@access : access requested* return 0 if current has access, error otherwise
Proto:static int smk_curacc_msq(struct kern_ipc_perm *isp, int access)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kern_ipc_perm * | isp | |
int | access |
3124 | msp = smack_of_ipc - the smack pointer for the ipc*@isp: the object* Returns a pointer to the smack value |
3133 | rc = smk_bu_current("msq", msp, access, rc) |
3134 | Return rc |
Name | Describe |
---|---|
smack_msg_queue_associate | smack_msg_queue_associate - Smack access check for msg_queue*@isp: the object*@msqflg: access requested* Returns 0 if current has the requested access, error code otherwise |
smack_msg_queue_msgctl | smack_msg_queue_msgctl - Smack access check for msg_queue*@isp: the object*@cmd: what it wants to do* Returns 0 if current has the requested access, error code otherwise |
smack_msg_queue_msgsnd | smack_msg_queue_msgsnd - Smack access check for msg_queue*@isp: the object*@msg: unused*@msqflg: access requested* Returns 0 if current has the requested access, error code otherwise |
smack_msg_queue_msgrcv | smack_msg_queue_msgsnd - Smack access check for msg_queue*@isp: the object*@msg: unused*@target: unused*@type: unused*@mode: unused* Returns 0 if current has read and write 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 |