SELinux: avc: remove the useless fields in avc_add_callback
authorWanlong Gao <gaowanlong@cn.fujitsu.com>
Wed, 7 Mar 2012 14:17:14 +0000 (22:17 +0800)
committerEric Paris <eparis@redhat.com>
Mon, 9 Apr 2012 16:23:44 +0000 (12:23 -0400)
commit562c99f20d989f222138dddfd71e275bfb3665de
tree47743a88f3aed8b77f79899f45409a597ab77263
parent0b36e44cc680b355f0d1b34002b2a10c9e1cae60
SELinux: avc: remove the useless fields in avc_add_callback

avc_add_callback now just used for registering reset functions
in initcalls, and the callback functions just did reset operations.
So, reducing the arguments to only one event is enough now.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
security/selinux/avc.c
security/selinux/include/avc.h
security/selinux/netif.c
security/selinux/netnode.c
security/selinux/netport.c
security/selinux/ss/services.c