summaryrefslogtreecommitdiff
path: root/coccinelle
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-09-29 11:03:04 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-11-16 15:34:41 +0100
commit6230bf750a4c41ff9a7ec291243fc92b059e896b (patch)
tree3ce72f1afb4561afb23cf091bcbbbcc9806d73fc /coccinelle
parentf9e4283df30ad8916878396da449b2e38656b6f7 (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