Change-Id: Ib630e38df75532e93e0a5785bb904390cbfecb80
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
throw std::system_error(errno, std::system_category(),
std::string("Couldn't set owner of the `")
+ main_dir_name.data()
- + std::string("` subdirectory"));
+ + "` subdirectory");
int ret = smack_setlabel(main_dir.data(), main_dir_smack.data(), SMACK_LABEL_ACCESS);
if (ret)
throw std::runtime_error(std::string("Couldn't set SMACK attributes for `")
+ main_dir_name.data()
- + std::string("` subdirectory"));
+ + "` subdirectory");
}
void fs_helpers::add_user_subsession(const int session_uid, const int subsession_id)