diff options
author | Alexander V Vershilov <qnikst@gentoo.org> | 2014-02-16 04:27:52 +0400 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2014-07-10 10:56:37 -0500 |
commit | 1a44be0f16a7a1de8a176e7c656f8513494e0e64 (patch) | |
tree | 8509337b2fd6475c22c0d9b7ccf8ddd2ad3e0fbf /src/rc/fstabinfo.c | |
parent | f265ddde971d0fdb97a4f14b4cc96140be7b4628 (diff) |
cgroups: only run cgroup setup when starting a service
Status call should not set limits as it requires root permissions,
also this is not safe, as current process may reach limitation.
Solution is to set limits and move process to service cgroup only
on start.
X-GENTOO-BUG: 500364
X-GENTOO-BUG-URL: https://bugs.gentoo.org/show_bug.cgi?id=500364
Diffstat (limited to 'src/rc/fstabinfo.c')
0 files changed, 0 insertions, 0 deletions