mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-21 08:24:10 +01:00
97 lines
2.0 KiB
C
97 lines
2.0 KiB
C
@BOTTOM@
|
|
|
|
#undef BINDIR
|
|
#undef LIBDIR
|
|
#undef LIBEXECDIR
|
|
#undef SBINDIR
|
|
|
|
#undef HAVE_INT8_T
|
|
#undef HAVE_INT16_T
|
|
#undef HAVE_INT32_T
|
|
#undef HAVE_INT64_T
|
|
#undef HAVE_U_INT8_T
|
|
#undef HAVE_U_INT16_T
|
|
#undef HAVE_U_INT32_T
|
|
#undef HAVE_U_INT64_T
|
|
#undef HAVE_UINT8_T
|
|
#undef HAVE_UINT16_T
|
|
#undef HAVE_UINT32_T
|
|
#undef HAVE_UINT64_T
|
|
|
|
#if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4)
|
|
#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S))
|
|
#else
|
|
#define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S))
|
|
#endif
|
|
|
|
#ifdef BROKEN_REALLOC
|
|
#define realloc(X, Y) isoc_realloc((X), (Y))
|
|
#define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
|
|
#endif
|
|
|
|
#ifdef VOID_RETSIGTYPE
|
|
#define SIGRETURN(x) return
|
|
#else
|
|
#define SIGRETURN(x) return (RETSIGTYPE)(x)
|
|
#endif
|
|
|
|
#define RCSID(msg) \
|
|
static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
|
|
|
|
#undef PROTOTYPES
|
|
|
|
/* Maximum values on all known systems */
|
|
#define MaxHostNameLen (64+4)
|
|
#define MaxPathLen (1024+4)
|
|
|
|
#if defined(HAVE_SGTTY_H) && defined(__NeXT__)
|
|
#define SGTTY
|
|
#endif
|
|
|
|
/* telnet stuff ----------------------------------------------- */
|
|
|
|
#if defined(ENCRYPTION) && !defined(AUTHENTICATION)
|
|
#define AUTHENTICATION 1
|
|
#endif
|
|
|
|
/* Set this to the default system lead string for telnetd
|
|
* can contain %-escapes: %s=sysname, %m=machine, %r=os-release
|
|
* %v=os-version, %t=tty, %h=hostname, %d=date and time
|
|
*/
|
|
#undef USE_IM
|
|
|
|
/* Used with login -p */
|
|
#undef LOGIN_ARGS
|
|
|
|
/* set this to a sensible login */
|
|
#ifndef LOGIN_PATH
|
|
#define LOGIN_PATH BINDIR "/login"
|
|
#endif
|
|
|
|
/* random defines */
|
|
|
|
/*
|
|
* Defining this enables lots of useful (and used) extensions on
|
|
* glibc-based systems such as Linux
|
|
*/
|
|
|
|
#define _GNU_SOURCE
|
|
|
|
/*
|
|
* this assumes that KRB_C_BIGENDIAN is used.
|
|
* if we can find out endianess at compile-time, do so,
|
|
* otherwise WORDS_BIGENDIAN should already have been defined
|
|
*/
|
|
|
|
#if ENDIANESS_IN_SYS_PARAM_H
|
|
# include <sys/types.h>
|
|
# include <sys/param.h>
|
|
# if BYTE_ORDER == BIG_ENDIAN
|
|
# define WORDS_BIGENDIAN 1
|
|
# endif
|
|
#endif
|
|
|
|
#ifdef ROKEN_RENAME
|
|
#include "roken_rename.h"
|
|
#endif
|