Skip to main content

max / alloy

498 B · 12 lines History Blame Raw
1 # The last piece of the coredump policy: the per-process limit.
2 #
3 # The sysctl sets where cores go (nowhere). This sets how large a core a
4 # process is allowed to produce, which is the door a program can open for
5 # itself with setrlimit if the hard limit permits it. 0 hard means it cannot.
6 #
7 # A person debugging raises it deliberately in their own shell; a hard limit
8 # of 0 means that takes root, which is the intended friction.
9 #
10 #<domain> <type> <item> <value>
11 * hard core 0
12