- The l2tp_ppp kernel module is now in kernel-module-extra - Don't insist on openswan, some ISPS use L2TP without IPsec - Don't call grantpt(), it's not needed and triggers SElinux block (rhbz#834861)epel9
parent
c73b62ee6c
commit
66109b0d4b
@ -0,0 +1,19 @@
|
|||||||
|
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))
|
||||||
|
{
|
Loading…
Reference in new issue