Displaying 9 results from an estimated 9 matches for "have_daemon".
2001 Feb 13
1
configure.in reorder patch
...DEFINE(HAVE_GETUSERATTR)],
- [AC_CHECK_LIB(s, getuserattr, [LIBS="$LIBS -ls"; AC_DEFINE(HAVE_GETUSERATTR)])]
-)
-
-AC_CHECK_FUNC(login,
- [AC_DEFINE(HAVE_LOGIN)],
- [AC_CHECK_LIB(bsd, login, [LIBS="$LIBS -lbsd"; AC_DEFINE(HAVE_LOGIN)])]
-)
-
-AC_CHECK_FUNC(daemon,
- [AC_DEFINE(HAVE_DAEMON)],
- [AC_CHECK_LIB(bsd, daemon, [LIBS="$LIBS -lbsd"; AC_DEFINE(HAVE_DAEMON)])]
-)
-
-AC_CHECK_FUNC(getpagesize,
- [AC_DEFINE(HAVE_GETPAGESIZE)],
- [AC_CHECK_LIB(ucb, getpagesize, [LIBS="$LIBS -lucb"; AC_DEFINE(HAVE_GETPAGESIZE)])]
-)
-
-# Check for broken snprintf
-if test &quo...
2001 Jan 04
2
Patch to allow openssh-2.2.0-p1 to be started from /etc/inittab
...Eriksson <peter at ifm.liu.se>
diff -c -r openssh-2.2.0p1/bsd-daemon.c openssh-2.2.0p1-pen1/bsd-daemon.c
*** openssh-2.2.0p1/bsd-daemon.c Wed Aug 30 00:21:22 2000
--- openssh-2.2.0p1-pen1/bsd-daemon.c Thu Jan 4 23:32:52 2001
***************
*** 70,74 ****
return (0);
}
! #endif /* !HAVE_DAEMON */
--- 70,111 ----
return (0);
}
! #endif
!
! int
! sshd_daemon(nochdir, noclose)
! int nochdir, noclose;
! {
! int fd;
!
! if (getppid() != 1)
! {
! switch (fork()) {
! case -1:
! return (-1);
! case 0:
! break;
! default:
! _exit(0);
! }
! }...
2002 Aug 29
0
RFC: configure option to disable daemon mode
...to select this at build time and not include those parts
of the code that are only used in daemon mode.
A quick attempt to link rsync without the object files from DAEMON_OBJ
revealed that a couple of undefined symbols result from this, so one will
have to wrap a couple of code fragments in, say, HAVE_DAEMON to really
achieve this goal.
If there's any interest in such an option, I might work on a clean patch to
implement it. Otherwise, I'll keep this simply as a local hack.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technolo...
2004 Oct 12
2
daemon() failed
A friend of mine is having an issue running sshd as a daemon. I don't
have full access to this box, so troubleshooting may be difficult, but
from what I can gather, the call to daemon() is failing. sshd -D works
fine, but sshd -e returns "daemon() failed: Success" , which is in and
of itself funny. This is Slackware 10.0, with openssh 3.8.1p1 and glibc
2.3.2. I have several
1999 Dec 21
0
Problem with UTMP recording
...efine 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() */
#define HAVE_LOGIN 1
/* Define if your libraries define daemon() */
#define HAVE_DAEMON 1
/* Define if you want to allow MD5 passwords */
/* #undef HAVE_MD5_PASSWORDS */
/* Define if you have an old version of PAM which takes only one argument */
/* to pam_strerror */
#define HAVE_OLD_PAM 1
/* Data types */
/* #undef HAVE_QUAD_T */
#define HAVE_INTXX_T 1
#define HAVE_U_INTXX_T 1
#d...
1999 Nov 19
1
[solaris 7 patch] resubmit and extended ...
Okay, everything as the first large one I sent today, with a few extra
mods. _PATH_MAILDIR is only used in sshd.c, that I can see, so moved the
#ifdef from config.h.in to there.
several files had __progname defined in the middle of the code, as well as
at the top of the code, so cleaned those out.
all the fixes for u_int32_t -> uint32_t and u_int16_t -> uint16_t, plus
added appropriate
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...PX_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"
/* #undef HAVE_MD5_PASSWORDS */
/* #undef DISABLE_SHADOW */
#define HAS_SHADOW_EXPIRE 1
/* #undef HAVE_OSF_SIA */
/* #undef HAVE_GETPWANAM */
/* #undef HAVE_OLD_PAM */
/* #undef PAM_SUN_CODEBASE */
/* #undef MAIL_DIREC...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...ETPGRP_VOID 1
#define GLOB_HAS_ALTDIRFUNC 1
#define HAVE_ADDR_IN_UTMP 1
#define HAVE_ADDR_IN_UTMPX 1
#define HAVE_ASPRINTF 1
#define HAVE_BASENAME 1
#define HAVE_BCOPY 1
#define HAVE_CLOCK 1
#define HAVE_CLOCK_T 1
#define HAVE_CONTROL_IN_MSGHDR 1
#define HAVE_CRYPT_H 1
#define HAVE_CYGWIN 1
#define HAVE_DAEMON 1
#define HAVE_DECL_H_ERRNO 1
#define HAVE_DECL__GETLONG 0
#define HAVE_DECL__GETSHORT 0
#define HAVE_DEV_PTMX 1
#define HAVE_DIRENT_H 1
#define HAVE_DIRFD 1
#define HAVE_DIRNAME 1
#define HAVE_ENDIAN_H 1
#define HAVE_ENDUTENT 1
#define HAVE_ENDUTXENT 1
#define HAVE_FCHMOD 1
#define HAVE_FCHOWN 1
#...
2001 Jun 04
2
creating /etc/tinc directories in make install
Hi,
I am curious why don't you guys create /etc/tinc directory, set permissions,
add /etc/rc.d scripts etc. from the Makefile(s) in the source distribution ?
Doing a make install and not finding an example config in /etc/tinc is kind
of frustrating. Am I missing something? Maybe there is a good reason for
that?
Also, why is it not finding evp.h when I try to do configure? Is creating