Function report |
Source Code:kernel\auditsc.c |
Create Date:2022-07-28 11:28:28 |
Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__audit_log_bprm_fcaps - store information about a loading bprm and relevant fcaps*@bprm: pointer to the bprm being processed*@new: the proposed new credentials*@old: the old credentials* Simply check if the proc already has the caps given by the file and
Proto:int __audit_log_bprm_fcaps(struct linux_binprm *bprm, const struct cred *new, const struct cred *old)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct linux_binprm * | bprm | |
const struct cred * | new | |
const struct cred * | old |
2445 | context = audit_context() |
2448 | ax = Allocation memory |
2459 | inheritable = inheritable |
2460 | effective bit of file cap = Not Not (magic_etc & VFS_CAP_FLAGS_EFFECTIVE) |
2462 | fcap_ver = (magic_etc & VFS_CAP_REVISION_MASK) >> VFS_CAP_REVISION_SHIFT |
2464 | permitted = caps we're permitted |
2467 | ambient = Ambient capability set |
2469 | permitted = caps we're permitted |
2472 | ambient = Ambient capability set |
2473 | Return 0 |
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 |