Add "enabled" file 96/32096/3
authorLukasz Kostyra <l.kostyra@samsung.com>
Mon, 15 Dec 2014 12:25:23 +0000 (13:25 +0100)
committerJan Olszak <j.olszak@samsung.com>
Tue, 16 Dec 2014 10:33:25 +0000 (02:33 -0800)
commit637f643f63b8c7de143a2eec4891d7b78f396264
tree5be74840baf73fc59c5ac8563607f3126e62eced
parent1ea2e87dd7c56e65f918466cdb20ef5fd2baa434
Add "enabled" file

[Feature]       File indicating that zones are running in the system.
[Cause]         Other external services (eg. security-manager) must know when
                zones are active in the system.
[Solution]      Provide "enabled" file, which will appear when zones are
                launched. The file will appear when first zone will be created,
                and file will disappear when last zone will be destroyed.
[Verification]  Build, install, run tests.

Change-Id: I634e424e28c7d449276bbe1c2c80f3cb0e35bcb7
common/utils/fs.cpp
common/utils/fs.hpp
server/zones-manager.cpp
tests/unit_tests/utils/ut-fs.cpp