teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0596-set-core-ulimit-to-0-like-on-RHEL-7.patch

df98bb
From 830bd662276ee117e65a4b3d541f77e8b172eafd Mon Sep 17 00:00:00 2001
df98bb
From: David Tardon <dtardon@redhat.com>
df98bb
Date: Mon, 25 Jan 2021 16:19:56 +0100
df98bb
Subject: [PATCH] set core ulimit to 0 like on RHEL-7
df98bb
df98bb
RHEL-only
df98bb
df98bb
Resolves: #1905582
df98bb
---
df98bb
 src/core/system.conf.in | 2 +-
df98bb
 1 file changed, 1 insertion(+), 1 deletion(-)
df98bb
df98bb
diff --git a/src/core/system.conf.in b/src/core/system.conf.in
df98bb
index 0d93fbf147..b4d6dfa15a 100644
df98bb
--- a/src/core/system.conf.in
df98bb
+++ b/src/core/system.conf.in
df98bb
@@ -52,7 +52,7 @@
df98bb
 #DefaultLimitFSIZE=
df98bb
 #DefaultLimitDATA=
df98bb
 #DefaultLimitSTACK=
df98bb
-#DefaultLimitCORE=
df98bb
+DefaultLimitCORE=0
df98bb
 #DefaultLimitRSS=
df98bb
 #DefaultLimitNOFILE=
df98bb
 #DefaultLimitAS=