Commit Graph

1245 Commits

Author SHA1 Message Date
Michał Kowalczyk
f4abf7b726 config: Add more docs for disable_tsc 2022-02-18 00:33:52 +01:00
Robert Swiecki
cdf8e8f14c config: info about prctl(PR_SET_TSC, PR_TSC_ENABLE) being intel-only 2022-02-18 00:15:12 +01:00
robertswiecki
328ae491a7
Merge pull request #191 from mkow/mkow/add-disable-tsc
Add `disable_tsc` option
2022-02-18 00:10:49 +01:00
Michał Kowalczyk
16b4416d75 Add disable_tsc option
Implemented via prctl(PR_SET_TSC, PR_TSC_SIGSEGV, ...).
2022-02-17 23:53:13 +01:00
Robert Swiecki
999d4631f3 mnt: better error messages with mandatory mount points 2022-02-10 09:51:13 +01:00
Robert Swiecki
9b73eaa289 subproc: print correct si fields for SIGCHLD 2022-02-08 12:17:59 +01:00
Robert Swiecki
3c03973f1f configs/*: use KILL_PROCESS instead of KILL(_THREAD) when posssible 2022-02-07 17:23:31 +01:00
Robert Swiecki
6a99755e43 configs/imagemagick-convert: missing quote 2022-02-07 01:08:35 +01:00
Robert Swiecki
dccf911fd2 log: use TEMP_FAILURE_RETRY instead of fallback to dprintf 2021-11-24 22:25:57 +01:00
Robert Swiecki
aa0becd547 make indent 2021-11-12 20:24:33 +01:00
ndrewh
b248125c5f Fix compile using FROM ubuntu:20.04
Remove clone_args members that are only present in 5.5+ and 5.7+
2021-11-08 11:52:23 +01:00
Philip
bf93e8a25d cgroup2: use cgroup_mem_swap_max and cgroup_mem_memsw_max 2021-11-01 10:28:41 +01:00
Philip
5a8ad82311 cgroup2: support cgroup_mem_memsw_max 2021-11-01 10:28:41 +01:00
robertswiecki
cf4cfd5499
Merge pull request #185 from flaryer/fix-memsw
Fix mem clean in finishFromParent
2021-10-18 15:50:56 +02:00
flaeyer
26869e8956 fix mem clean in finishFromParent 2021-10-14 12:12:46 +08:00
Wiktor Garbacz
5b82f51b8a Fix whitespace in kafel 2021-10-11 16:20:09 +02:00
Wiktor Garbacz
acf3bf8de5 Fix build 2021-10-11 16:11:50 +02:00
Wiktor Garbacz
a21bb242b1 Update kafel for RISC-V support 2021-10-11 15:49:16 +02:00
Johan Kartiwa
29a556068a Add support for setting cgroup memory.memsw.limit_in_bytes 2021-10-11 15:46:36 +02:00
James Kay
e09610e789 Allow mount options to contain colons.
This is particularly important for overlayfs, which allows multiple
layers to be given to `lowerdir` separated by colons: see
<https://www.kernel.org/doc/Documentation/filesystems/overlayfs.txt>,
section ‘Multiple lower layers’.
2021-10-11 15:46:16 +02:00
Robert Swiecki
246d4721b1 macros: make NS_VALSTR_STRUCT accept unsigned/64-bit vals 2021-09-30 16:44:48 +02:00
Robert Swiecki
2b6a093e09 configs/firefox-with-net-wayland.cfg: retain original WAYLAND_DISPLAY value 2021-09-29 09:48:11 +02:00
robertswiecki
3932b67781
Merge pull request #182 from ccstolley/fix_rlimitas_default
The default rlimit_as value is 4096, not 512.
2021-09-14 20:31:59 +02:00
Colin Stolley
8a1f3b5f4d The default rlimit_as value is 4096, not 512.
In 9b8d91bd7f the default for rlimit_as
was increased to 4096 MB, but old default remained in the man page,
readme, etc. This patch corrects those spots with the right value.
2021-09-14 11:57:30 -05:00
Robert Swiecki
4909f45fe0 configs: firefox+wayland example 2021-08-11 00:31:31 +02:00
Robert Swiecki
d6b9357e6b config.proto: renumerate fields 2021-08-10 19:17:33 +02:00
Robert Swiecki
8ce33a17ec configs/imagemagick: alternative file conversion command 2021-08-10 17:46:44 +02:00
Wiktor Garbacz
8e13a76b99 Fix duplicate field number 2021-08-04 10:25:38 +02:00
Wiktor Garbacz
95e112cf41 Fix formatting 2021-08-03 17:46:08 +02:00
Wiktor Garbacz
4136dd50d8 Merge branch 'use_switchroot' 2021-08-03 17:44:57 +02:00
Wiktor Garbacz
87af69bea4 Update kafel - x86 build fixes 2021-08-02 19:45:32 +02:00
happyCoder92
4f50821655
Merge pull request #179 from ginkoid/master
write CPU CFS period before quota in cgroup1
2021-07-22 15:47:09 +02:00
happyCoder92
3876c7e203
Merge pull request #177 from eli-zr/_rlimits
Added rtpr, memlock & msgq rlimits
2021-07-22 15:43:16 +02:00
Philip Papurt
44fe720102 cgroup: write period before quota 2021-07-21 11:54:12 -04:00
Eli Zrihen
7aace9bdc6 rtprio, msgqueue - defaulting to 'soft' 2021-07-20 16:00:13 +03:00
Eli Zrihen
b83d6f7421 Renaming use_switchroot option with no_pivotroot 2021-07-20 15:45:58 +03:00
Eli Zrihen
9f4b4f41e7 Consistentency with RLIMIT_* constant name 2021-07-20 15:20:47 +03:00
Eli Zrihen
10d6264a28 Merge branch 'master' into _rlimits 2021-07-20 10:35:36 +03:00
Eli Zrihen
b6576fcde7 Adding a warning when switchroot is used 2021-07-20 10:20:23 +03:00
Eli Zrihen
f208e9206c Merge commit 'db9e34ebd3ec78c0a3a8f689aea4361daaab0187' into _use_switchroot 2021-07-20 09:31:03 +03:00
Eli Zrihen
0f903ba9a0 Added rt, memlock & msgq limits 2021-07-19 17:21:34 +03:00
Robert Swiecki
db9e34ebd3 subproc: warn about CLONE_NEWTIME and clone(), and remove notice about CLONE_NEWCGROUP as the kernel versions should be now new enough for its support 2021-07-16 22:53:40 +02:00
Robert Swiecki
737b300609 subproc: debug log for unshare() 2021-07-16 22:47:18 +02:00
Eli Zrihen
99507c5920 Merge branch '_test_switchroot_alternative' 2021-07-13 15:40:21 +03:00
Eli Zrihen
0e0e34c33d Merge remote-tracking branch 'origin/HEAD' into _use_switchroot 2021-07-13 11:13:35 +03:00
Eli Zrihen
15205a23f9 No Yoda 2021-07-08 21:47:13 +03:00
Robert Swiecki
62879de5de cmdline: clone_newcgroup -> true by default; clone_newtime should be false 2021-07-07 11:55:17 +02:00
Eli Zrihen
be302c4cc9 Comment fix 2021-06-23 14:51:34 +03:00
Eli Zrihen
dab1713ac9 Added use_switchroot option 2021-06-17 14:57:01 +03:00
Robert Swiecki
2e9fd0e2e4 make indent 2021-06-16 17:44:07 +02:00