1
linux/net/netlabel
Paul Moore ba6ff9f2b5 [NetLabel]: consolidate the struct socket/sock handling to just struct sock
The current NetLabel code has some redundant APIs which allow both
"struct socket" and "struct sock" types to be used; this may have made
sense at some point but it is wasteful now.  Remove the functions that
operate on sockets and convert the callers.  Not only does this make
the code smaller and more consistent but it pushes the locking burden
up to the caller which can be more intelligent about the locks.  Also,
perform the same conversion (socket to sock) on the SELinux/NetLabel
glue code where it make sense.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-06-08 13:33:09 -07:00
..
Kconfig [NETLABEL]: Fix build failure. 2006-11-05 16:44:06 -08:00
Makefile
netlabel_cipso_v4.c [NETLINK]: Mark netlink policies const 2007-06-07 13:40:10 -07:00
netlabel_cipso_v4.h [NetLabel]: rework the Netlink attribute handling (part 2) 2006-09-25 15:56:37 -07:00
netlabel_domainhash.c NetLabel: honor the audit_enabled flag 2006-12-02 21:24:15 -08:00
netlabel_domainhash.h [NetLabel]: audit fixups due to delayed feedback 2006-09-29 17:05:05 -07:00
netlabel_kapi.c [NetLabel]: consolidate the struct socket/sock handling to just struct sock 2007-06-08 13:33:09 -07:00
netlabel_mgmt.c [NETLINK]: Mark netlink policies const 2007-06-07 13:40:10 -07:00
netlabel_mgmt.h [NetLabel]: rework the Netlink attribute handling (part 2) 2006-09-25 15:56:37 -07:00
netlabel_unlabeled.c [NETLINK]: Mark netlink policies const 2007-06-07 13:40:10 -07:00
netlabel_unlabeled.h [NetLabel]: rework the Netlink attribute handling (part 2) 2006-09-25 15:56:37 -07:00
netlabel_user.c NetLabel: honor the audit_enabled flag 2006-12-02 21:24:15 -08:00
netlabel_user.h [GENL]: Add genlmsg_put_reply() to simplify building reply headers 2006-12-02 21:22:42 -08:00