diff options
author | Paul Moore <paul.moore@hp.com> | 2008-10-10 10:16:34 -0400 |
---|---|---|
committer | Paul Moore <paul.moore@hp.com> | 2008-10-10 10:16:34 -0400 |
commit | d91d40799165b0c84c97e7c71fb8039494ff07dc (patch) | |
tree | 5394e5d167ec1074f5f52da02e5406f5e183c080 /net/netlabel/netlabel_kapi.c | |
parent | 15c45f7b2e81655f6eb500ec949c8bd70a04325a (diff) | |
download | linux-d91d40799165b0c84c97e7c71fb8039494ff07dc.tar.bz2 |
netlabel: Add configuration support for local labeling
Add the necessary NetLabel support for the new CIPSO mapping,
CIPSO_V4_MAP_LOCAL, which allows full LSM label/context support.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Reviewed-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'net/netlabel/netlabel_kapi.c')
-rw-r--r-- | net/netlabel/netlabel_kapi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/netlabel/netlabel_kapi.c b/net/netlabel/netlabel_kapi.c index 8435b15c3f7d..b32eceb3ab0d 100644 --- a/net/netlabel/netlabel_kapi.c +++ b/net/netlabel/netlabel_kapi.c @@ -163,6 +163,9 @@ cfg_cipsov4_add_map_return: case CIPSO_V4_MAP_PASS: type_str = "pass"; break; + case CIPSO_V4_MAP_LOCAL: + type_str = "local"; + break; default: type_str = "(unknown)"; } |