}
std::string error_message;
- if (!RegisterSecurityContextForPath(pkgid, skel_apps_rw / pkgid,
- kGlobalUserUid, is_readonly, &error_message)) {
+ if (!RegisterSecurityContextForPath(pkgid, {}, skel_apps_rw / pkgid,
+ kGlobalUserUid, is_readonly, &error_message)) {
LOG(ERROR) << "Failed to register security context for path: "
<< skel_apps_rw / pkgid << ", error_message: " << error_message;
return false;
}
}
- if (!RegisterSecurityContextForPath(pkgid, apps_rw / pkgid, uid, false,
- &error_message)) {
+ if (!RegisterSecurityContextForPath(pkgid, {}, apps_rw / pkgid, uid,
+ false, &error_message)) {
LOG(ERROR) << "Failed to register security context for path: "
<< apps_rw / pkgid << ", error_message: " << error_message;
return false;
}
std::string error_message;
- if (!RegisterSecurityContextForPath(pkgid, path / pkgid, uid, false,
- &error_message)) {
+ if (!RegisterSecurityContextForPath(pkgid, {}, path / pkgid, uid, false,
+ &error_message)) {
LOG(ERROR) << "Failed to register security context for path: " << path
<< ", error_message: " << error_message;
return false;
bf::path path = apps_rw / pkgid;
std::string error_message;
- if (!ci::RegisterSecurityContextForPath(pkgid, path, uid, false,
- &error_message)) {
+ if (!ci::RegisterSecurityContextForPath(pkgid, {}, path, uid, false,
+ &error_message)) {
LOG(ERROR) << "Failed to register security context for path: " << path
<< ", error_message: " << error_message;
return false;
return false;
std::string error_message;
- if (!ci::RegisterSecurityContextForPath(pkgid, skel_apps_rw / pkgid,
- kGlobalUserUid, false, &error_message)) {
+ if (!ci::RegisterSecurityContextForPath(pkgid, {}, skel_apps_rw / pkgid,
+ kGlobalUserUid, false, &error_message)) {
LOG(ERROR) << "Failed to register security context for path: "
<< skel_apps_rw / pkgid << ", error_message: " << error_message;
return false;
return false;
}
- if (!ci::RegisterSecurityContextForPath(pkgid, apps_rw / pkgid, uid,
+ if (!ci::RegisterSecurityContextForPath(pkgid, {}, apps_rw / pkgid, uid,
false, &error_message)) {
LOG(ERROR) << "Failed to register security context for path: "
<< apps_rw / pkgid << ", error_message: " << error_message;
}
std::string error_message;
- if (!RegisterSecurityContextForPath(pkgid, apps_rw / pkgid, uid, false,
+ if (!RegisterSecurityContextForPath(pkgid, {}, apps_rw / pkgid, uid, false,
&error_message)) {
LOG(ERROR) << "Failed to register security context for path: " << apps_rw
<< ", error_message: " << error_message;
return false;
}
- if (!RegisterSecurityContextForPath(pkgid, apps_rw / pkgid, uid,
- false, &error_message)) {
+ if (!RegisterSecurityContextForPath(pkgid, {}, apps_rw / pkgid, uid,
+ false, &error_message)) {
LOG(ERROR) << "Failed to register security context for path: "
<< apps_rw / pkgid << ", error_message: " << error_message;
return false;