summaryrefslogtreecommitdiff
path: root/app-misc/kogaion-version/files/00-sabayon-anti-fork-bomb.conf
blob: 4dcf561f611bab75738c8ac61c51ee004824bc18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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