android_kernel_motorola_sm6375/net/netlabel
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Huw Davies 8f18e675c3 netlabel: Add an address family to domain hash entries.
The reason is to allow different labelling protocols for
different address families with the same domain.

This requires the addition of an address family attribute
in the netlink communication protocol.  It is used in several
messages:

NLBL_MGMT_C_ADD and NLBL_MGMT_C_ADDDEF take it as an optional
attribute for the unlabelled protocol.  It may be one of AF_INET,
AF_INET6 or AF_UNSPEC (to specify both address families).  If it
is missing, it defaults to AF_UNSPEC.

NLBL_MGMT_C_LISTALL and NLBL_MGMT_C_LISTDEF return it as part of
the enumeration of each item.  Addtionally, it may be sent to
LISTDEF to specify which address family to return.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2016-06-27 15:02:46 -04:00
..
Kconfig
Makefile
netlabel_addrlist.c
netlabel_addrlist.h
netlabel_cipso_v4.c netlabel: Deletion of an unnecessary check before the function call "cipso_v4_doi_free" 2015-02-03 16:22:12 -08:00
netlabel_cipso_v4.h
netlabel_domainhash.c netlabel: Add an address family to domain hash entries. 2016-06-27 15:02:46 -04:00
netlabel_domainhash.h netlabel: Add an address family to domain hash entries. 2016-06-27 15:02:46 -04:00
netlabel_kapi.c netlabel: Add an address family to domain hash entries. 2016-06-27 15:02:46 -04:00
netlabel_mgmt.c netlabel: Add an address family to domain hash entries. 2016-06-27 15:02:46 -04:00
netlabel_mgmt.h netlabel: Add an address family to domain hash entries. 2016-06-27 15:02:46 -04:00
netlabel_unlabeled.c netlabel: Add an address family to domain hash entries. 2016-06-27 15:02:46 -04:00
netlabel_unlabeled.h
netlabel_user.c netlabel: directly return netlbl_unlabel_genl_init() 2014-10-08 16:08:04 -04:00
netlabel_user.h