Function report |
Source Code:security\selinux\avc.c |
Create Date:2022-07-28 18:43:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:avc_latest_notif_update
Proto:static int avc_latest_notif_update(struct selinux_avc *avc, int seqno, int is_insert)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct selinux_avc * | avc | |
int | seqno | |
int | is_insert |
574 | ret = 0 |
578 | spin_lock_irqsave( & notif_lock, flag) |
579 | If is_insert Then |
580 | If seqno < latest revocation notification Then |
581 | pr_warn("SELinux: avc: seqno %d < latest_notif %d\n", seqno, latest revocation notification ) |
585 | Else |
586 | If seqno > latest revocation notification Then latest revocation notification = seqno |
589 | spin_unlock_irqrestore( & notif_lock, flag) |
591 | Return ret |
Name | Describe |
---|---|
avc_insert | avc_insert - Insert an AVC entry.*@ssid: source security identifier*@tsid: target security identifier*@tclass: target security class*@avd: resulting av decision*@xp_node: resulting extended permissions* Insert an AVC entry for the SID pair |
avc_ss_reset | avc_ss_reset - Flush the cache and revalidate migrated permissions.*@seqno: policy sequence number |
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 |