You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xl2tpd/xl2tpd-1.3.1-pty.patch

20 lines
426 B

diff -aur xl2tpd-1.3.1-orig/pty.c xl2tpd-1.3.1/pty.c
--- xl2tpd-1.3.1-orig/pty.c 2011-10-06 15:22:05.000000000 -0400
+++ xl2tpd-1.3.1/pty.c 2012-06-25 23:45:51.241543911 -0400
@@ -87,6 +87,7 @@
return -EINVAL;
}
+#if 0 /* not needed, triggers SElinux block */
/* change the onwership */
if (grantpt(fd))
{
@@ -95,6 +96,7 @@
close(fd);
return -EINVAL;
}
+#endif
if (unlockpt(fd))
{