[Devel] [PATCH vz9 4/5] configs: VZ options

Nikita Yushchenko nikita.yushchenko at virtuozzo.com
Wed Sep 29 21:25:23 MSK 2021


This adds config keys from vz8 commits:
- 33d7489adbc5 ("configs: OpenVZ related config options are added")
- 75f7b93b1a91 ("config.debug: OpenVZ related config options are added")
- 6d0e6c8b977a ("configs: provide kernel config via proc")
to vz9 config infrastructure (redhat/configs/custom-overrides/)

CONFIG_PANIC_ON_OOPS moved from debug to generic, per discussion with
Konstantin Khorenko.

Signed-off-by: Nikita Yushchenko <nikita.yushchenko at virtuozzo.com>
---
 .../custom-overrides/generic/CONFIG_DEFAULT_MMAP_MIN_ADDR        | 1 +
 redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG          | 1 +
 redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG_PROC     | 1 +
 redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY        | 1 +
 redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY_COUNT  | 1 +
 redhat/configs/custom-overrides/generic/CONFIG_LSM_MMAP_MIN_ADDR | 1 +
 redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS     | 1 +
 .../configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS_VALUE  | 1 +
 8 files changed, 8 insertions(+)
 create mode 100644 redhat/configs/custom-overrides/generic/CONFIG_DEFAULT_MMAP_MIN_ADDR
 create mode 100644 redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG
 create mode 100644 redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG_PROC
 create mode 100644 redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY
 create mode 100644 redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY_COUNT
 create mode 100644 redhat/configs/custom-overrides/generic/CONFIG_LSM_MMAP_MIN_ADDR
 create mode 100644 redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS
 create mode 100644 redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS_VALUE

diff --git a/redhat/configs/custom-overrides/generic/CONFIG_DEFAULT_MMAP_MIN_ADDR b/redhat/configs/custom-overrides/generic/CONFIG_DEFAULT_MMAP_MIN_ADDR
new file mode 100644
index 000000000000..9a839923afd9
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_DEFAULT_MMAP_MIN_ADDR
@@ -0,0 +1 @@
+CONFIG_DEFAULT_MMAP_MIN_ADDR=69632
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG b/redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG
new file mode 100644
index 000000000000..3d80bd86a196
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG
@@ -0,0 +1 @@
+CONFIG_IKCONFIG=y
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG_PROC b/redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG_PROC
new file mode 100644
index 000000000000..7d45f8bfb857
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_IKCONFIG_PROC
@@ -0,0 +1 @@
+CONFIG_IKCONFIG_PROC=y
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY b/redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY
new file mode 100644
index 000000000000..6b59316c9549
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY
@@ -0,0 +1 @@
+CONFIG_LEGACY_PTYS=y
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY_COUNT b/redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY_COUNT
new file mode 100644
index 000000000000..e7e4a86ca9ca
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_LEGACY_PTY_COUNT
@@ -0,0 +1 @@
+CONFIG_LEGACY_PTY_COUNT=12
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_LSM_MMAP_MIN_ADDR b/redhat/configs/custom-overrides/generic/CONFIG_LSM_MMAP_MIN_ADDR
new file mode 100644
index 000000000000..c9311b3e3d4a
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_LSM_MMAP_MIN_ADDR
@@ -0,0 +1 @@
+CONFIG_LSM_MMAP_MIN_ADDR=69632
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS b/redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS
new file mode 100644
index 000000000000..29dc6ff9860c
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS
@@ -0,0 +1 @@
+CONFIG_PANIC_ON_OOPS=y
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS_VALUE b/redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS_VALUE
new file mode 100644
index 000000000000..165233f74875
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_PANIC_ON_OOPS_VALUE
@@ -0,0 +1 @@
+CONFIG_PANIC_ON_OOPS_VALUE=1
-- 
2.30.2



More information about the Devel mailing list