projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e083dd4
)
procd: jail/cgroups: correctly enable "rdma" when requested
author
Roman Azarenko
<roman.azarenko@iopsys.eu>
Tue, 11 Jan 2022 15:45:51 +0000
(16:45 +0100)
committer
Daniel Golle
<daniel@makrotopia.org>
Tue, 11 Jan 2022 16:19:19 +0000
(16:19 +0000)
Fixes a copy-paste error, where "pids" cgroup was enabled instead of "rdma".
Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu>
jail/cgroups.c
patch
|
blob
|
history
diff --git
a/jail/cgroups.c
b/jail/cgroups.c
index a9484e8d8bc1759b100de1730c4d44a67e062ac4..2d3dce4d31acc25b0c4c38643e55928f7743847f 100644
(file)
--- a/
jail/cgroups.c
+++ b/
jail/cgroups.c
@@
-138,7
+138,7
@@
void cgroups_apply(pid_t pid)
else if (!strncmp("pids.", ent, 5))
pids = true;
else if (!strncmp("rdma.", ent, 5))
-
pids
= true;
+
rdma
= true;
}
maxlen += strlen(cgroup_path) + 2;