diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-09-29 11:03:04 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-11-16 15:34:41 +0100 |
commit | 6230bf750a4c41ff9a7ec291243fc92b059e896b (patch) | |
tree | 3ce72f1afb4561afb23cf091bcbbbcc9806d73fc /coccinelle | |
parent | f9e4283df30ad8916878396da449b2e38656b6f7 (diff) |
login: keep user->slice constant
Currently, we allocate user->slice when starting a slice, but we never
release it. This is incompatible if we want to re-use a user object once
it was stopped. Hence, make sure user->slice is allocated statically on
the user object and use "u->started || u->stopping" as an indication
whether the slice is actually available on pid1 or not.
Diffstat (limited to 'coccinelle')
0 files changed, 0 insertions, 0 deletions