Blame openssh-5.8p1-selinux.patch
|
Jan F |
003cb0b |
diff -up openssh-5.8p1/openbsd-compat/port-linux.c.selinux openssh-5.8p1/openbsd-compat/port-linux.c
|
|
Jan F |
003cb0b |
--- openssh-5.8p1/openbsd-compat/port-linux.c.selinux 2011-02-12 09:38:45.000000000 +0100
|
|
Jan F |
003cb0b |
+++ openssh-5.8p1/openbsd-compat/port-linux.c 2011-02-12 09:39:10.000000000 +0100
|
|
Jan F |
003cb0b |
@@ -213,7 +213,7 @@ ssh_selinux_setfscreatecon(const char *p
|
|
Jan F |
003cb0b |
|
|
Jan F |
003cb0b |
if (!ssh_selinux_enabled())
|
|
Jan F |
003cb0b |
return;
|
|
Jan F |
003cb0b |
- if (path == NULL)
|
|
Jan F |
003cb0b |
+ if (path == NULL) {
|
|
Jan F |
003cb0b |
setfscreatecon(NULL);
|
|
Jan F |
003cb0b |
return;
|
|
Jan F |
003cb0b |
}
|