diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-02-26 19:08:06 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-02-26 19:08:06 +0000 |
commit | ef4d8c74f9342cc67421f20e4aaa4d62a911fcb8 (patch) | |
tree | c0101f833e82b2b4ff3d1f7214a9a7c2e333235d /src/init/rlimit.txt | |
parent | 96cb4bc24db14b353fd47d8d4325fd02730b6b5f (diff) | |
download | s6-linux-init-ef4d8c74f9342cc67421f20e4aaa4d62a911fcb8.tar.xz |
Prepare for 1.1.1.0; add s6-l-i-m -R option to set hard limits
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/init/rlimit.txt')
-rw-r--r-- | src/init/rlimit.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/init/rlimit.txt b/src/init/rlimit.txt new file mode 100644 index 0000000..70e7004 --- /dev/null +++ b/src/init/rlimit.txt @@ -0,0 +1,27 @@ +s6-l-i-m -R argument parser: + +class | 0 1 2 3 4 5 +st\ev | \0 letter = 0-9 , other + + +START | g +0 | END ARG X X START X + +ARG | = m +1 | X X WAIT SCAN X X + +SCAN | s s +2 | END X X SCAN START X + +WAIT | +3 | END X X X START X + +END = 4, X = 5 + +3 bits state +4 bits action + +0x10 g print letter +0x20 = set max +0x40 m mark +0x80 s scan from mark |