-diff -urN openssh-3.7.1p2.org/sshpty.c openssh-3.7.1p2/sshpty.c
---- openssh-3.7.1p2.org/sshpty.c 2004-01-05 14:23:20.667189473 +0100
-+++ openssh-3.7.1p2/sshpty.c 2004-01-05 14:29:33.403698686 +0100
-@@ -397,8 +397,12 @@
- security_context_t new_tty_context=NULL,
- user_context=NULL, old_tty_context=NULL;
-
-- if (get_default_context(pw->pw_name,NULL,&user_context))
-- fatal("Failed to get default security context for %s.", pw->pw_name);
-+ if (get_default_context(pw->pw_name,NULL,&user_context)) {
-+ if (security_getenforce())
-+ fatal("Failed to get default security context for %s.", pw->pw_name);
-+ else
-+ error("Failed to get default security context for %s (SELinux in permissive mode, continuing).", pw->pw_name);
-+ } else {
-
- if (getfilecon(ttyname, &old_tty_context)<0) {
- error("getfilecon(%.100s) failed: %.100s", ttyname,
-@@ -421,6 +425,7 @@
- freecon(old_tty_context);
- }
- freecon(user_context);
-+ }
+diff -urN openssh-3.9p1.org/sshpty.c openssh-3.9p1/sshpty.c
+--- openssh-3.9p1.org/sshpty.c 2004-08-17 19:17:21.189103664 +0200
++++ openssh-3.9p1/sshpty.c 2004-08-17 19:20:59.265950944 +0200
+@@ -207,8 +207,12 @@
+ security_context_t new_tty_context=NULL,
+ user_context=NULL,
+ old_tty_context=NULL;
+- if (get_default_context(pw->pw_name,NULL,&user_context))
+- fatal("Failed to get default security context for %s.", pw->pw_name);
++ if (get_default_context(pw->pw_name,NULL,&user_context)) {
++ if (security_getenforce() > 0)
++ fatal("Failed to get default security context for %s.", pw->pw_name);
++ else
++ error("Failed to get default security context for %s (SELinux in permissive mode, continuing).", pw->pw_name);
++ } else {
+
+ if (getfilecon(tty, &old_tty_context)<0) {
+ error("getfilecon(%.100s) failed: %.100s", tty, strerror(errno));
+@@ -225,6 +229,7 @@
+ freecon(old_tty_context);
+ }
+ freecon(user_context);
++ }