X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=common%2Flxc%2Fzone.hpp;h=0ed19a3ad679bcbae21e6419a3e0824a4ca777d0;hb=a2bfdea7f5bb1e2126701e0cf7d691f326afa9c4;hp=1573c7d2fad90fb66af560828ee3974bae268119;hpb=633f086ac82e192354b061ffed1682f4fd1d2a1e;p=platform%2Fcore%2Fsecurity%2Fvasum.git diff --git a/common/lxc/zone.hpp b/common/lxc/zone.hpp index 1573c7d..0ed19a3 100644 --- a/common/lxc/zone.hpp +++ b/common/lxc/zone.hpp @@ -26,6 +26,7 @@ #define COMMON_LXC_ZONE_HPP #include +#include // fwd declaration of lxc internals struct lxc_container; @@ -136,6 +137,12 @@ public: * Unfreeze zone */ bool unfreeze(); + + /** + * Get pid of init process + */ + pid_t getInitPid() const; + private: lxc_container* mLxcContainer;