mcoverlayfs code is now unused (technically should work on top of the soft emulation but not well tested, and untested unused code is bad). Remove it. Left the unshare/bind_mount_recursive code in mcexec in a new MCEXEC_BIND_MOUNT ifdef (only in config.h.in directly to discourage use. it disables the ioctl as well, but the main code is still compiled to keep up to date with linux api changes... although it's using kallsyms lookup so it does not validate much more than "the symbol still exists") I honestly think this should go as well (people who would want to use it are root and could do it manually), but will give up for now. Change-Id: I832b6a8ab19e24ed67a1a5044b1c6c32381ae0aa
38 lines
990 B
C
38 lines
990 B
C
/* config.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* IHK build-id to confirm IHK and McKernel built at the same time are used */
|
|
#define BUILDID "${BUILDID}"
|
|
|
|
/* version number */
|
|
#define MCKERNEL_VERSION "${MCKERNEL_VERSION}"
|
|
|
|
/* enable the required code for mcexec to be able to use bind mount
|
|
* there is no config option as its use is discouraged */
|
|
// #define MCEXEC_BIND_MOUNT 1
|
|
|
|
/* whether memdump feature is enabled */
|
|
#cmakedefine ENABLE_MEMDUMP 1
|
|
|
|
/* whether perf is enabled */
|
|
#cmakedefine ENABLE_PERF 1
|
|
|
|
/* whether qlmpi is enabled */
|
|
#cmakedefine ENABLE_QLMPI 1
|
|
|
|
/* whether rusage is enabled */
|
|
#cmakedefine ENABLE_RUSAGE 1
|
|
|
|
/* whether UTI is enabled */
|
|
#cmakedefine ENABLE_UTI 1
|
|
|
|
/* whether undefined behaviour sanitizer is enabled */
|
|
#cmakedefine ENABLE_UBSAN 1
|
|
|
|
/* Path of bind-mount source directory */
|
|
#cmakedefine ROOTFSDIR "${ROOTFSDIR}"
|
|
|
|
/* for non-RHEL kernels */
|
|
#ifndef RHEL_RELEASE_VERSION
|
|
#define RHEL_RELEASE_VERSION(a,b) (((a) << 8) + (b))
|
|
#endif
|