diff mbox

python/semanage: fix export of fcontext socket entries

Message ID 20170315171412.24265-1-sds@tycho.nsa.gov (mailing list archive)
State Not Applicable
Headers show

Commit Message

Stephen Smalley March 15, 2017, 5:14 p.m. UTC
Fixes https://github.com/SELinuxProject/selinux/issues/49 (#49).

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
---
 python/semanage/seobject.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/python/semanage/seobject.py b/python/semanage/seobject.py
index 94bd368..7a54373 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"}