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