mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
b0d6c67372
* exec/config.h.in: Autoheader. * exec/configure.ac: Check for siginfo_t.si_syscall. * exec/trace.c (exec_waitpid): If SIGSYS is received, and caused by seccomp, drop it should the call number be the invalid system call used by Emacs.
359 lines
10 KiB
C
359 lines
10 KiB
C
/* config.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* Copyright (C) 2023 Free Software Foundation, Inc.
|
|
|
|
This file is part of GNU Emacs.
|
|
|
|
GNU Emacs is free software: you can redistribute it and/or modify it
|
|
under the terms of the GNU General Public License as published by the
|
|
Free Software Foundation, either version 3 of the License, or (at your
|
|
option) any later version.
|
|
|
|
GNU Emacs is distributed in the hope that it will be useful, but
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
|
|
|
/* Define to number of reserved bytes past the stack frame. */
|
|
#undef ABI_RED_ZONE
|
|
|
|
/* Define if building universal (internal helper macro) */
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
/* Define to number of the `clone3' system call. */
|
|
#undef CLONE3_SYSCALL
|
|
|
|
/* Define to number of the `clone' system call. */
|
|
#undef CLONE_SYSCALL
|
|
|
|
/* Virtual address for loading PIC executables */
|
|
#undef EXECUTABLE_BASE
|
|
|
|
/* Define to 1 if the system utilizes 64-bit ELF. */
|
|
#undef EXEC_64
|
|
|
|
/* Define to number of the `exec' system call. */
|
|
#undef EXEC_SYSCALL
|
|
|
|
/* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_STPCPY
|
|
|
|
/* Define to 1 if you have the declaration of `stpncpy', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_STPNCPY
|
|
|
|
/* Define to 1 if you have the `getpagesize' function. */
|
|
#undef HAVE_GETPAGESIZE
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
/* Define to 1 if you have the <minix/config.h> header file. */
|
|
#undef HAVE_MINIX_CONFIG_H
|
|
|
|
/* Define to 1 if process_vm_readv is available. */
|
|
#undef HAVE_PROCESS_VM
|
|
|
|
/* Define to 1 if `si_syscall' is a member of `siginfo_t'. */
|
|
#undef HAVE_SIGINFO_T_SI_SYSCALL
|
|
|
|
/* Define to 1 if stdbool.h conforms to C99. */
|
|
#undef HAVE_STDBOOL_H
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#undef HAVE_STDINT_H
|
|
|
|
/* Define to 1 if you have the <stdio.h> header file. */
|
|
#undef HAVE_STDIO_H
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#undef HAVE_STDLIB_H
|
|
|
|
/* Define to 1 if you have the `stpcpy' function. */
|
|
#undef HAVE_STPCPY
|
|
|
|
/* Define to 1 if you have the `stpncpy' function. */
|
|
#undef HAVE_STPNCPY
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#undef HAVE_STRINGS_H
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#undef HAVE_STRING_H
|
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
|
#undef HAVE_SYS_PARAM_H
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
/* Define to 1 if you have the <sys/uio.h> header file. */
|
|
#undef HAVE_SYS_UIO_H
|
|
|
|
/* Define to 1 if the system has the type `uintptr_t'. */
|
|
#undef HAVE_UINTPTR_T
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Define to 1 if you have the <wchar.h> header file. */
|
|
#undef HAVE_WCHAR_H
|
|
|
|
/* Define to 1 if the system has the type `_Bool'. */
|
|
#undef HAVE__BOOL
|
|
|
|
/* Virtual address for loading PIC interpreters */
|
|
#undef INTERPRETER_BASE
|
|
|
|
/* Define to 1 if MIPS NABI calling convention is being used. */
|
|
#undef MIPS_NABI
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
/* Define to the full name of this package. */
|
|
#undef PACKAGE_NAME
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#undef PACKAGE_STRING
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#undef PACKAGE_TARNAME
|
|
|
|
/* Define to the home page for this package. */
|
|
#undef PACKAGE_URL
|
|
|
|
/* Define to the version of this package. */
|
|
#undef PACKAGE_VERSION
|
|
|
|
/* Define to number of the `readlinkat' system call. */
|
|
#undef READLINKAT_SYSCALL
|
|
|
|
/* Define to number of the `readlink' system call. */
|
|
#undef READLINK_SYSCALL
|
|
|
|
/* Define to 1 if the library is used within a signal handler. */
|
|
#undef REENTRANT
|
|
|
|
/* Define to 1 if the stack grows downwards. */
|
|
#undef STACK_GROWS_DOWNWARDS
|
|
|
|
/* Define to register holding the stack pointer. */
|
|
#undef STACK_POINTER
|
|
|
|
/* Define to 1 if all of the C90 standard headers exist (not just the ones
|
|
required in a freestanding environment). This macro is provided for
|
|
backward compatibility; new code need not use it. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Define to register holding arg1 to system calls. */
|
|
#undef SYSCALL_ARG1_REG
|
|
|
|
/* Define to register holding arg2 to system calls. */
|
|
#undef SYSCALL_ARG2_REG
|
|
|
|
/* Define to register holding arg3 to system calls. */
|
|
#undef SYSCALL_ARG3_REG
|
|
|
|
/* Define to register holding arg0 to system calls. */
|
|
#undef SYSCALL_ARG_REG
|
|
|
|
/* Define to header holding system call numbers. */
|
|
#undef SYSCALL_HEADER
|
|
|
|
/* Define to register holding the system call number. */
|
|
#undef SYSCALL_NUM_REG
|
|
|
|
/* Define to register holding value of system calls. */
|
|
#undef SYSCALL_RET_REG
|
|
|
|
/* Define to header holding USER_REGS_STRUCT. */
|
|
#undef USER_HEADER
|
|
|
|
/* Define to structure holding user registers. */
|
|
#undef USER_REGS_STRUCT
|
|
|
|
/* Define to word type used by tracees. */
|
|
#undef USER_WORD
|
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
|
#ifndef _ALL_SOURCE
|
|
# undef _ALL_SOURCE
|
|
#endif
|
|
/* Enable general extensions on macOS. */
|
|
#ifndef _DARWIN_C_SOURCE
|
|
# undef _DARWIN_C_SOURCE
|
|
#endif
|
|
/* Enable general extensions on Solaris. */
|
|
#ifndef __EXTENSIONS__
|
|
# undef __EXTENSIONS__
|
|
#endif
|
|
/* Enable GNU extensions on systems that have them. */
|
|
#ifndef _GNU_SOURCE
|
|
# undef _GNU_SOURCE
|
|
#endif
|
|
/* Enable X/Open compliant socket functions that do not require linking
|
|
with -lxnet on HP-UX 11.11. */
|
|
#ifndef _HPUX_ALT_XOPEN_SOCKET_API
|
|
# undef _HPUX_ALT_XOPEN_SOCKET_API
|
|
#endif
|
|
/* Identify the host operating system as Minix.
|
|
This macro does not affect the system headers' behavior.
|
|
A future release of Autoconf may stop defining this macro. */
|
|
#ifndef _MINIX
|
|
# undef _MINIX
|
|
#endif
|
|
/* Enable general extensions on NetBSD.
|
|
Enable NetBSD compatibility extensions on Minix. */
|
|
#ifndef _NETBSD_SOURCE
|
|
# undef _NETBSD_SOURCE
|
|
#endif
|
|
/* Enable OpenBSD compatibility extensions on NetBSD.
|
|
Oddly enough, this does nothing on OpenBSD. */
|
|
#ifndef _OPENBSD_SOURCE
|
|
# undef _OPENBSD_SOURCE
|
|
#endif
|
|
/* Define to 1 if needed for POSIX-compatible behavior. */
|
|
#ifndef _POSIX_SOURCE
|
|
# undef _POSIX_SOURCE
|
|
#endif
|
|
/* Define to 2 if needed for POSIX-compatible behavior. */
|
|
#ifndef _POSIX_1_SOURCE
|
|
# undef _POSIX_1_SOURCE
|
|
#endif
|
|
/* Enable POSIX-compatible threading on Solaris. */
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
# undef _POSIX_PTHREAD_SEMANTICS
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
|
|
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
|
|
# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
|
|
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
|
|
# undef __STDC_WANT_IEC_60559_BFP_EXT__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
|
|
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
|
|
# undef __STDC_WANT_IEC_60559_DFP_EXT__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
|
|
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
|
|
# undef __STDC_WANT_IEC_60559_FUNCS_EXT__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
|
|
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
|
|
# undef __STDC_WANT_IEC_60559_TYPES_EXT__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
|
|
#ifndef __STDC_WANT_LIB_EXT2__
|
|
# undef __STDC_WANT_LIB_EXT2__
|
|
#endif
|
|
/* Enable extensions specified by ISO/IEC 24747:2009. */
|
|
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
|
|
# undef __STDC_WANT_MATH_SPEC_FUNCS__
|
|
#endif
|
|
/* Enable extensions on HP NonStop. */
|
|
#ifndef _TANDEM_SOURCE
|
|
# undef _TANDEM_SOURCE
|
|
#endif
|
|
/* Enable X/Open extensions. Define to 500 only if necessary
|
|
to make mbstate_t available. */
|
|
#ifndef _XOPEN_SOURCE
|
|
# undef _XOPEN_SOURCE
|
|
#endif
|
|
|
|
|
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
|
# if defined __BIG_ENDIAN__
|
|
# define WORDS_BIGENDIAN 1
|
|
# endif
|
|
#else
|
|
# ifndef WORDS_BIGENDIAN
|
|
# undef WORDS_BIGENDIAN
|
|
# endif
|
|
#endif
|
|
|
|
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
|
#define below would cause a syntax error. */
|
|
#undef _UINT32_T
|
|
|
|
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
|
#define below would cause a syntax error. */
|
|
#undef _UINT64_T
|
|
|
|
/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
|
#define below would cause a syntax error. */
|
|
#undef _UINT8_T
|
|
|
|
/* Define as a signed integer type capable of holding a process identifier. */
|
|
#undef pid_t
|
|
|
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
|
#undef size_t
|
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
#undef ssize_t
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 16 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef uint16_t
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 32 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef uint32_t
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 64 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef uint64_t
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 8 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef uint8_t
|
|
|
|
/* Define to the type of an unsigned integer type wide enough to hold a
|
|
pointer, if such a type exists, and if the system does not define it. */
|
|
#undef uintptr_t
|
|
|
|
|
|
#ifdef HAVE_STDBOOL_H
|
|
# include <stdbool.h>
|
|
#else
|
|
# ifndef HAVE__BOOL
|
|
# ifdef __cplusplus
|
|
typedef bool _Bool;
|
|
# else
|
|
# define _Bool signed char
|
|
# endif
|
|
# endif
|
|
# define bool _Bool
|
|
# define false 0
|
|
# define true 1
|
|
# define __bool_true_false_are_defined 1
|
|
#endif
|
|
|
|
#ifdef HAVE_SYS_PARAM_H
|
|
#include <sys/param.h>
|
|
#endif /* HAVE_SYS_PARAM_H */
|
|
|
|
#ifndef MAX
|
|
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
|
#endif /* MAX */
|
|
|
|
#ifndef MIN
|
|
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
|
#endif /* MIN */
|
|
|