From 317743bbe2a235a5c68f1066b4153e0726a3118f Mon Sep 17 00:00:00 2001 From: Stephen Smalley Date: Wed, 15 Mar 2017 13:10:18 -0400 Subject: [PATCH] python/semanage: fix export of fcontext socket entries Fixes https://github.com/SELinuxProject/selinux/issues/49 (#49). Signed-off-by: Stephen Smalley --- python/semanage/seobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/semanage/seobject.py b/python/semanage/seobject.py index 94bd3687..7a543733 100644 --- a/python/semanage/seobject.py +++ b/python/semanage/seobject.py @@ -84,7 +84,7 @@ file_type_str_to_option = {"all files": "a", "directory": "d", "character device": "c", "block device": "b", - "socket file": "s", + "socket": "s", "symbolic link": "l", "named pipe": "p"}