Displaying 14 results from an estimated 14 matches for "have___prognam".
Did you mean:
have___progname
2000 Nov 05
1
suggested bsd-setproctitle.c
...u before committing it incase you had some
other plans in mind (and I know how I hate when others break my code =).
Thanks,
- Ben
--- ../openssh/bsd-setproctitle.c Wed Oct 18 08:11:44 2000
+++ bsd-setproctitle.c Sun Nov 5 16:59:07 2000
@@ -56,11 +56,13 @@
#define MAX_PROCTITLE 2048
-#ifdef HAVE___PROGNAME
-extern char *__progname;
-#else
-static const char *__progname = "sshd";
-#endif /* HAVE___PROGNAME */
+#if SPT_TYPE != SPT_NONE
+# ifdef HAVE___PROGNAME
+ extern char *__progname;
+# else
+ static const char *__progname = "sshd";
+# endif /* HAVE___PROGNAME */
+#endif /*...
2015 Feb 24
4
Current 6.8 git build issues on HP-UX
...one that will compile:
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c
index 65e8003..40efc87 100644
--- a/openbsd-compat/bsd-misc.c
+++ b/openbsd-compat/bsd-misc.c
@@ -31,8 +31,6 @@
#include <time.h>
#include <unistd.h>
-#include "xmalloc.h"
-
#ifndef HAVE___PROGNAME
char *__progname;
#endif
@@ -43,13 +41,12 @@ char *__progname;
*/
char *ssh_get_progname(char *argv0)
{
+ char *p, *q;
#ifdef HAVE___PROGNAME
extern char *__progname;
- return xstrdup(__progname);
+ p = progname;
#else
- char *p;
-
if (argv0 == NULL)
return ("unknown");...
2000 Oct 30
2
Minor fixes for openssh-SNAP-20001028
...exit 0;
diff -urN openssh-snap20001028/log-server.c /projects/encap-src/common/wsg/openssh-snap20001028/log-server.c
--- openssh-snap20001028/log-server.c Fri Sep 15 21:29:09 2000
+++ /projects/encap-src/common/wsg/openssh-snap20001028/log-server.c Mon Oct 30 14:42:31 2000
@@ -46,7 +46,7 @@
#ifdef HAVE___PROGNAME
extern char *__progname;
#else /* HAVE___PROGNAME */
-static const char *__progname = "sshd";
+static const char *__progname = NULL;
#endif /* HAVE___PROGNAME */
static LogLevel log_level = SYSLOG_LEVEL_INFO;
@@ -118,6 +118,10 @@
exit(1);
}
log_on_stderr = on_stderr;
+ if (_...
2015 Feb 24
6
Current 6.8 git build issues on HP-UX
HP-UX 11.23/11.31 build failures
OS Build_Target CC
OpenSSL BUILD TEST
============== =========================== ================
============= ====== =================
HP-UX 11.23 ia64-hp-hpux11.23 C/aC++ C.11.23.12
0.9.8zb *F1
HP-UX 11.23 ia64-hp-hpux11.23 gcc 4.3.1
0.9.8zb *F2
HP-UX 11.31 ia64-hp-hpux11.31
2015 Feb 24
2
Current 6.8 git build issues on HP-UX
...t/bsd-misc.c b/openbsd-compat/bsd-misc.c
> index 65e8003..f7be415 100644
> --- a/openbsd-compat/bsd-misc.c
> +++ b/openbsd-compat/bsd-misc.c
> @@ -31,8 +31,6 @@
> #include <time.h>
> #include <unistd.h>
>
> -#include "xmalloc.h"
> -
> #ifndef HAVE___PROGNAME
> char *__progname;
> #endif
> @@ -43,13 +41,12 @@ char *__progname;
> */
> char *ssh_get_progname(char *argv0)
> {
> + char *p, *q;
> #ifdef HAVE___PROGNAME
> extern char *__progname;
>
> - return xstrdup(__progname);
> + p = __progname;
> #else...
2000 Dec 27
1
patch to support hurd-i386.
...ere it comes.
diff -Nur openssh-2.2.0p1-/ssh-keygen.c openssh-2.2.0p1/ssh-keygen.c
--- openssh-2.2.0p1-/ssh-keygen.c Wed Aug 23 02:46:24 2000
+++ openssh-2.2.0p1/ssh-keygen.c Sun Oct 29 16:44:50 2000
@@ -68,7 +68,7 @@
static const char *__progname = "ssh-keygen";
#endif /* HAVE___PROGNAME */
-char hostname[MAXHOSTNAMELEN];
+char *hostname;
void
ask_filename(struct passwd *pw, const char *prompt)
@@ -525,10 +525,24 @@
printf("You don't exist, go away!\n");
exit(1);
}
- if (gethostname(hostname, sizeof(hostname)) <...
2002 Jan 27
5
[PATCH] Add scp -1 and -2 options to OpenSSH-3.0.2p1
...openssh-3.0.2p1/scp.c openssh-3.0.2p1J2/scp.c
--- openssh-3.0.2p1/scp.c Sun Oct 21 18:53:59 2001
+++ openssh-3.0.2p1J2/scp.c Sat Jan 19 15:26:34 2002
@@ -82,6 +82,7 @@
#include "pathnames.h"
#include "log.h"
#include "misc.h"
+#include "compat.h"
#ifdef HAVE___PROGNAME
extern char *__progname;
@@ -242,9 +243,15 @@
addargs(&args, "-oClearAllForwardings yes");
fflag = tflag = 0;
- while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:F:")) != -1)
+ while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q1246S:o:F:")) != -1)
swit...
2001 Apr 20
1
[patch] one warning, one omission, and two requests; portable CVS
...ass, const char *msg)
{
pid_t pid;
size_t len;
--- #scp.c Fri Apr 20 13:17:39 2001
+++ scp.c Fri Apr 20 13:45:32 2001
@@ -82,6 +82,7 @@
#include "pathnames.h"
#include "log.h"
#include "misc.h"
+#include "scp-common.h"
#ifdef HAVE___PROGNAME
extern char *__progname;
2000 Oct 07
2
[PATCH]: Add tcp_wrappers protection to port forwarding
...0
@@ -30,6 +30,11 @@ RCSID("$OpenBSD: ssh.c,v 1.63 2000/08/28
#include "key.h"
#include "authfd.h"
#include "authfile.h"
+#ifdef LIBWRAP
+#include <syslog.h>
+int allow_severity = LOG_INFO;
+int deny_severity = LOG_WARNING;
+#endif /* LIBWRAP */
#ifdef HAVE___PROGNAME
extern char *__progname;
1999 Dec 21
0
Problem with UTMP recording
...#define HAVE_OPENSSL 1
/* Define is utmp.h has a ut_host field */
#define HAVE_HOST_IN_UTMP 1
/* Define is utmpx.h has a ut_host field */
/* #undef HAVE_HOST_IN_UTMPX */
/* Define is libutil has login() function */
/* #undef HAVE_LIBUTIL_LOGIN */
/* Define if libc defines __progname */
#define HAVE___PROGNAME 1
/* Define if you want Kerberos 4 support */
/* #undef KRB4 */
/* Define if you want AFS support */
/* #undef AFS */
/* Define if you want S/Key support */
/* #undef SKEY */
/* Define if you want TCP Wrappers support */
/* #undef LIBWRAP */
/* Define if your libraries define login() */
#defi...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...define DISABLE_WTMPX 1
/* #undef LOGIN_NEEDS_UTMPX */
/* #undef LOGIN_NEEDS_TERM */
/* #undef LOGIN_NO_ENDOPT */
/* #undef CONF_LASTLOG_FILE */
/* #undef CONF_UTMP_FILE */
/* #undef CONF_WTMP_FILE */
/* #undef CONF_UTMPX_FILE */
/* #undef CONF_WTMPX_FILE */
/* #undef USE_EXTERNAL_ASKPASS */
#define HAVE___PROGNAME 1
#define HAVE___FUNCTION__ 1
#define HAVE___func__ 1
/* #undef GSSAPI */
/* #undef KRB5 */
/* #undef HEIMDAL */
/* #undef USE_AFS */
/* #undef SKEY */
/* #undef LIBWRAP */
#define HAVE_LOGIN 1
#define HAVE_DAEMON 1
#define HAVE_GETPAGESIZE 1
#define XAUTH_PATH "/usr/X11R6/bin/xauth"
/*...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...NAME 1
#define HAVE_UTMPX_H 1
#define HAVE_UTMP_H 1
#define HAVE_U_CHAR 1
#define HAVE_U_INT 1
#define HAVE_U_INT64_T 1
#define HAVE_U_INTXX_T 1
#define HAVE_VASPRINTF 1
#define HAVE_VA_COPY 1
#define HAVE_VHANGUP 1
#define HAVE_VSNPRINTF 1
#define HAVE_WAITPID 1
#define HAVE___FUNCTION__ 1
#define HAVE___PROGNAME 1
#define HAVE___VA_COPY 1
#define HAVE___func__ 1
#define IP_TOS_IS_BROKEN 1
#define LIBWRAP 1
#define LOGIN_PROGRAM_FALLBACK "/usr/bin/login"
#define NO_IPPORT_RESERVED_CONCEPT 1
#define NO_X11_UNIX_SOCKETS 1
#define OPENSSL_PRNG_ONLY 1
#define PACKAGE_BUGREPORT "openssh-unix-dev...
2000 Aug 23
1
Protocol 2 remote forwarding patch
...sh-2.1.1p4/session.c openssh-2.1.1p4-jhchanges/session.c
--- openssh-2.1.1p4/session.c Wed Jul 12 02:45:27 2000
+++ openssh-2.1.1p4-jhchanges/session.c Wed Aug 23 10:25:53 2000
@@ -82,6 +82,9 @@
/* import */
extern ServerOptions options;
+/* Jarno */
+extern int allow_port_forwarding;
+
#ifdef HAVE___PROGNAME
extern char *__progname;
#else /* HAVE___PROGNAME */
@@ -324,6 +327,19 @@
debug("Port forwarding not permitted for this authentication.");
break;
}
+
+ /* JARNO: Todo: Better logging */
+#ifndef DISABLE_FORWARDING
+ if ( !allow_port_forwarding ) {
+#endif /* DISABLE_F...
2004 Aug 12
14
Pending OpenSSH release, call for testing.
Hi All.
OpenSSH is getting ready for a release soon, so we are asking for all
interested parties to test a snapshot.
Changes include:
* sshd will now re-exec itself for each new connection (the "-e" option
is required when running sshd in debug mode).
* PAM password authentication has been (re)added.
* Interface improvements to sftp(1)
* Many bug fixes and improvements, for