android_kernel_xiaomi_sm8350/security/selinux/ss
Venkat Yekkirala 334c85569b [SELINUX]: increment flow cache genid
Currently, old flow cache entries remain valid even after
a reload of SELinux policy.

This patch increments the flow cache generation id
on policy (re)loads so that flow cache entries are
revalidated as needed.

Thanks to Herbet Xu for pointing this out. See:
http://marc.theaimsgroup.com/?l=linux-netdev&m=116841378704536&w=2

There's also a general issue as well as a solution proposed
by David Miller for when flow_cache_genid wraps. I might be
submitting a separate patch for that later.

I request that this be applied to 2.6.20 since it's
a security relevant fix.

Signed-off-by: Venkat Yekkirala <vyekkirala@TrustedCS.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-01-23 20:25:41 -08:00
..
avtab.c [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
avtab.h
conditional.c
conditional.h
constraint.h
context.h selinux: Delete mls_copy_context 2007-01-08 17:32:51 -05:00
ebitmap.c NetLabel: convert to an extensibile/sparse category bitmap 2006-12-02 21:31:36 -08:00
ebitmap.h NetLabel: convert to an extensibile/sparse category bitmap 2006-12-02 21:31:36 -08:00
hashtab.c SELinux: ensure keys constant in hashtab_search 2006-11-28 12:04:37 -05:00
hashtab.h SELinux: ensure keys constant in hashtab_search 2006-11-28 12:04:37 -05:00
Makefile
mls_types.h
mls.c selinux: Delete mls_copy_context 2007-01-08 17:32:51 -05:00
mls.h selinux: Delete mls_copy_context 2007-01-08 17:32:51 -05:00
policydb.c Rename class_destroy to avoid namespace conflicts. 2006-12-02 21:31:39 -08:00
policydb.h [PATCH] selinux: add support for range transitions on object classes 2006-09-26 08:48:52 -07:00
services.c [SELINUX]: increment flow cache genid 2007-01-23 20:25:41 -08:00
services.h
sidtab.c
sidtab.h
symtab.c SELinux: ensure keys constant in hashtab_search 2006-11-28 12:04:37 -05:00
symtab.h