Displaying 6 results from an estimated 6 matches for "have_setlogin".
2003 Oct 26
2
setlogin failed: Function not implemented
...t;&5
/tmp/cc4nGZCj.o: In function `main':
/tmp/build/openssh-3.7.1p2/configure:6585: warning: setlogin is not implemented and will always fail
configure:6597: $? = 0
configure:6600: test -s conftest
configure:6603: $? = 0
configure:6613: result: yes
Also noting that there is no #if defined(HAVE_SETLOGIN) or similar
surrounding the offending call at session.c:1259;
if (setlogin(pw->pw_name) < 0)
error("setlogin failed: %s", strerror(errno));
Please CC me on replies..
EMH
2015 Feb 24
4
Current 6.8 git build issues on HP-UX
...return ("unknown"); /* XXX */
p = strrchr(argv0, '/');
@@ -57,9 +54,12 @@ char *ssh_get_progname(char *argv0)
p = argv0;
else
p++;
-
- return (xstrdup(p));
#endif
+ if ((q = strdup(p)) == NULL) {
+ perror("strdup");
+ exit(1);
+ }
+ return q;
}
#ifndef HAVE_SETLOGIN
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
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
...;
> @@ -57,9 +54,12 @@ char *ssh_get_progname(char *argv0)
> p = argv0;
> else
> p++;
> -
> - return (xstrdup(p));
> #endif
> + if ((q = strdup(p)) == NULL) {
> + perror("strdup");
> + exit(1);
> + }
> + return q;
> }
>
> #ifndef HAVE_SETLOGIN
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
1999 Dec 21
0
Problem with UTMP recording
...HAVE_ARC4RANDOM */
/* Define if you have the mkdtemp function. */
/* #undef HAVE_MKDTEMP */
/* Define if you have the openpty function. */
/* #undef HAVE_OPENPTY */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
/* Define if you have the setlogin function. */
/* #undef HAVE_SETLOGIN */
/* Define if you have the setproctitle function. */
/* #undef HAVE_SETPROCTITLE */
/* Define if you have the snprintf function. */
#define HAVE_SNPRINTF 1
/* Define if you have the strlcat function. */
/* #undef HAVE_STRLCAT */
/* Define if you have the strlcpy function. */
/* #undef HAV...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...e HAVE_RPC_TYPES_H 1
#define HAVE_RRESVPORT_AF 1
/* #undef HAVE_SECTOK_H */
/* #undef HAVE_SECURITY_PAM_APPL_H */
#define HAVE_SENDMSG 1
/* #undef HAVE_SETAUTHDB */
/* #undef HAVE_SETDTABLESIZE */
#define HAVE_SETEGID 1
#define HAVE_SETENV 1
#define HAVE_SETEUID 1
#define HAVE_SETGROUPS 1
/* #undef HAVE_SETLOGIN */
/* #undef HAVE_SETLUID */
/* #undef HAVE_SETPCRED */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_SETRESUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRLIMIT 1
#define HAVE_SETSID 1
#define HAVE_SETUTENT 1
#define HAVE_SETUTXENT 1
#define HAVE_SETVB...