android_kernel_sony_msm8994.../security/selinux
Paul Moore 96646337e1 selinux: reduce the number of calls to synchronize_net() when flushing caches
When flushing the AVC, such as during a policy load, the various
network caches are also flushed, with each making a call to
synchronize_net() which has shown to be expensive in some cases.
This patch consolidates the network cache flushes into a single AVC
callback which only calls synchronize_net() once for each AVC cache
flush.

Change-Id: I2a7f020748d1adf2b68246f6ef86d0c871adffb7
Reported-by: Jaejyn Shin <flagon22bass@gmail.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Git-commit: 615e51fdda6f274e94b1e905fcaf6111e0d9aa20
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
Signed-off-by: Ravi Kumar S <rsiddoji@codeaurora.org>
2015-01-28 11:24:46 +05:30
..
include selinux: reduce the number of calls to synchronize_net() when flushing caches 2015-01-28 11:24:46 +05:30
ss SELinux: bigendian problems with filename trans rules 2014-03-06 21:30:12 -08:00
.gitignore SELinux: add .gitignore files for dynamic classes 2009-10-24 09:42:27 +08:00
avc.c selinux: Report permissive mode in avc: denied messages. 2014-06-23 14:58:58 -07:00
exports.c selinux: sparse fix: include selinux.h in exports.c 2011-09-09 16:56:32 -07:00
hooks.c selinux: reduce the number of calls to synchronize_net() when flushing caches 2015-01-28 11:24:46 +05:30
Kconfig selinux: Deprecate and schedule the removal of the the compat_net functionality 2008-12-31 12:54:11 -05:00
Makefile selinux: change to new flag variable 2010-10-21 10:12:40 +11:00
netif.c selinux: reduce the number of calls to synchronize_net() when flushing caches 2015-01-28 11:24:46 +05:30
netlabel.c platform: msm: fix PFT for 64-bit 2014-07-06 13:51:12 +03:00
netlink.c platform: msm: fix PFT for 64-bit 2014-07-06 13:51:12 +03:00
netnode.c selinux: reduce the number of calls to synchronize_net() when flushing caches 2015-01-28 11:24:46 +05:30
netport.c selinux: reduce the number of calls to synchronize_net() when flushing caches 2015-01-28 11:24:46 +05:30
nlmsgtab.c bridge: update selinux perm table for RTM_NEWMDB and RTM_DELMDB 2012-12-15 17:14:38 -08:00
selinuxfs.c new helper: file_inode(file) 2013-02-22 23:31:31 -05:00
xfrm.c selinux: look for IPsec labels on both inbound and outbound packets 2014-01-09 12:24:24 -08:00