mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +00:00
openssh: re enable uid test and disable IP_OPTIONS check
This commit is contained in:
@@ -1,15 +1,13 @@
|
|||||||
diff --git openssh-clean/configure.ac openssh-workdir/configure.ac
|
diff --git openssh-clean/sshd.c openssh-workdir/sshd.c
|
||||||
index 82e8bb7..84d2753 100644
|
index b4f2b97..302ac7a 100644
|
||||||
--- openssh-clean/configure.ac
|
--- openssh-clean/sshd.c
|
||||||
+++ openssh-workdir/configure.ac
|
+++ openssh-workdir/sshd.c
|
||||||
@@ -719,6 +719,10 @@ case "$host" in
|
@@ -1403,7 +1403,7 @@ server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s)
|
||||||
AC_DEFINE([DISABLE_UTMP], [1], [Define if you don't want to use utmp])
|
static void
|
||||||
AC_DEFINE([DISABLE_WTMP], [1], [Define if you don't want to use wtmp])
|
check_ip_options(struct ssh *ssh)
|
||||||
;;
|
{
|
||||||
+*-*-astral*)
|
-#ifdef IP_OPTIONS
|
||||||
+ AC_DEFINE([NO_UID_RESTORATION_TEST], [1],
|
+#if 0//def IP_OPTIONS
|
||||||
+ [Define to disable UID restoration test])
|
int sock_in = ssh_packet_get_connection_in(ssh);
|
||||||
+ ;;
|
struct sockaddr_storage from;
|
||||||
*-*-cygwin*)
|
u_char opts[200];
|
||||||
LIBS="$LIBS /usr/lib/textreadmode.o"
|
|
||||||
AC_DEFINE([HAVE_CYGWIN], [1], [Define if you are on Cygwin])
|
|
||||||
|
|||||||
Reference in New Issue
Block a user