summaryrefslogtreecommitdiff
path: root/app-misc/kogaion-version/files/00-sabayon-anti-fork-bomb.conf
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-11-07 12:02:19 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-11-07 12:02:19 +0200
commit86c8d1f28bd2b785ccbb28f41c4e0763d062ba2f (patch)
tree205e5a642a9ce8f49a009d87e1dea4b55d7a2c29 /app-misc/kogaion-version/files/00-sabayon-anti-fork-bomb.conf
parent168104a2cc50f1b461993257cdbce4c83cdb8038 (diff)
Added kogaion version
Diffstat (limited to 'app-misc/kogaion-version/files/00-sabayon-anti-fork-bomb.conf')
-rw-r--r--app-misc/kogaion-version/files/00-sabayon-anti-fork-bomb.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-misc/kogaion-version/files/00-sabayon-anti-fork-bomb.conf b/app-misc/kogaion-version/files/00-sabayon-anti-fork-bomb.conf
new file mode 100644
index 00000000..4dcf561f
--- /dev/null
+++ b/app-misc/kogaion-version/files/00-sabayon-anti-fork-bomb.conf
@@ -0,0 +1,20 @@
+# 00-sabayon-anti-fork-bomb.conf
+#
+# This file estabilishes Sabayon Linux default process
+# limits to defend the system against malicious or faulty
+# code that could potentially make the system unusable by
+# spawning an excessive amount of processes.
+#
+# The root account is not affected by process number
+# limitations. This way a root console can always kill any
+# offending process, but an offending root process could
+# still block the system.
+#
+# Each line describes a limit for a user in the form:
+#
+# <domain> <type> <item> <value>
+
+* soft nproc 1300
+* hard nproc 1800
+root - nproc infinity
+