8 #include <sys/capability.h>
17 void Env::DropCapabilities() {
26 throw EPublish(
"cannot clear dumpable state");
28 cap_t caps = cap_get_proc();
29 retval = cap_clear(caps);
32 throw EPublish(
"cannot clear process capabilities");
36 std::string Env::GetEnterSessionDir() {
bool SymlinkExists(const std::string &path)
string ResolvePath(const std::string &path)