summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2019-03-21 17:10:09 -0700
committerSuren Baghdasaryan <surenb@google.com>2019-03-25 16:22:10 +0000
commit798e80571527d98292ba7f477c6353b6cdfc01b5 (patch)
tree61dc11a1e11da71e04542b7b8b749f91ea9ccfa0 /trusty/coverage/coverage.cpp
parent443fdb2fdc3769f9ae770425c1a1cf4912ff5b56 (diff)
libprocessgroup: make sure SetupCgroups is called once and only by init
SetupCgroups is called by init process during early-init stage and is not supposed to be called again by anyone else. Ensure that the caller is the init process, make sure cgroup.rc file is written only one time, keep the file descriptor to cgroup.rc file open by the init process to ensure all its further mappings stay valid even if the file is deleted. Bug: 124774415 Test: build, run, verify no errors or warning in the logcat Change-Id: I70ccec551fc07c380333566f618b969667dcf783 Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions