summaryrefslogtreecommitdiff
path: root/app-misc/rogentos-version/files
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:24:26 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:24:26 +0200
commit7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch)
tree1684924656132935256e034f35f92abee6623265 /app-misc/rogentos-version/files
Added ebuilds for kogaion desktop
Diffstat (limited to 'app-misc/rogentos-version/files')
-rw-r--r--app-misc/rogentos-version/files/00-sabayon-anti-fork-bomb.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-misc/rogentos-version/files/00-sabayon-anti-fork-bomb.conf b/app-misc/rogentos-version/files/00-sabayon-anti-fork-bomb.conf
new file mode 100644
index 00000000..4dcf561f
--- /dev/null
+++ b/app-misc/rogentos-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
+