Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:23:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smack_ipc_permission - Smack access for ipc_permission()*@ipp: the object permissions*@flag: access requested* Returns 0 if current has read and write access, error code otherwise
Proto:static int smack_ipc_permission(struct kern_ipc_perm *ipp, short flag)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kern_ipc_perm * | ipp | |
short | flag |
3230 | may = smack_flags_to_may - convert S_ to MAY_ values*@flags: the S_ value* Returns the equivalent MAY_ value |
3239 | rc = smk_bu_current("svipc", iskp, may, rc) |
3240 | Return rc |
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 |