aerr<<"System server has no access to write file context "<<context.get()
<<" (from path "<<fullPath.string()<<", context "
<<seLinuxContext8.string()<<")"<<endl;
mErrorLog<<"System server has no access to write file context "<<context.get()<<" (from path "<<fullPath.string()<<", context "<<seLinuxContext8.string()<<")"<<endl;
return-EPERM;
}
}
@@ -128,9 +131,7 @@ public:
ALOGD("openFile: failed selinux read check!");
#endif
close(fd);
aerr<<"System server has no access to read file context "<<context.get()
<<" (from path "<<fullPath.string()<<", context "
<<seLinuxContext8.string()<<")"<<endl;
mErrorLog<<"System server has no access to read file context "<<context.get()<<" (from path "<<fullPath.string()<<", context "<<seLinuxContext8.string()<<")"<<endl;