Skip to contentSkip to conversation

python/semanage: fix export of fcontext socket entries

PATCH New Stephen Smalley 1 participant 1 message Mar 15, 2017 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python/semanage: fix export of fcontext socket entries

Fixes https://github.com/SELinuxProject/selinux/issues/49 (#49).

---
 python/semanage/seobject.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
python/semanage/seobject.py +1 -1
index 94bd368..7a54373 100644
@@ -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"}
 
Signature · 1 line
2.9.3