diff options
author | Steffen Klassert <[email protected]> | 2011-02-23 12:55:21 +0100 |
---|---|---|
committer | Eric Paris <[email protected]> | 2011-02-25 15:00:47 -0500 |
commit | b9679a76187694138099e09d7f5091b73086e6d7 (patch) | |
tree | 224bfa579013b55ed6c459879ba0aab6d28e8ae2 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 8f82a6880d8d03961181d973388e1df2772a8b24 (diff) |
selinux: Fix wrong checks for selinux_policycap_netpeer
selinux_sock_rcv_skb_compat and selinux_ip_postroute_compat are just
called if selinux_policycap_netpeer is not set. However in these
functions we check if selinux_policycap_netpeer is set. This leads
to some dead code and to the fact that selinux_xfrm_postroute_last
is never executed. This patch removes the dead code and the checks
for selinux_policycap_netpeer in the compatibility functions.
Signed-off-by: Steffen Klassert <[email protected]>
Acked-by: Paul Moore <[email protected]>
Signed-off-by: Eric Paris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions