]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - openssh/patches/openssh-5.8p1-selinux.patch
Move all packages to root.
[people/ms/ipfire-3.x.git] / openssh / patches / openssh-5.8p1-selinux.patch
diff --git a/openssh/patches/openssh-5.8p1-selinux.patch b/openssh/patches/openssh-5.8p1-selinux.patch
new file mode 100644 (file)
index 0000000..6967cbd
--- /dev/null
@@ -0,0 +1,12 @@
+diff -up openssh-5.8p1/openbsd-compat/port-linux.c.selinux openssh-5.8p1/openbsd-compat/port-linux.c
+--- openssh-5.8p1/openbsd-compat/port-linux.c.selinux  2011-02-12 09:38:45.000000000 +0100
++++ openssh-5.8p1/openbsd-compat/port-linux.c  2011-02-12 09:39:10.000000000 +0100
+@@ -213,7 +213,7 @@ ssh_selinux_setfscreatecon(const char *p
+       if (!ssh_selinux_enabled())
+               return;
+-      if (path == NULL)
++      if (path == NULL) {
+               setfscreatecon(NULL);
+               return;
+       }