mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Log details when executor fails to open the sandboxee binary
PiperOrigin-RevId: 330680717 Change-Id: I4ec855861196177321783dc94f2e05a28e84d512
This commit is contained in:
parent
776e34502a
commit
1f8e88586b
|
@ -86,7 +86,7 @@ pid_t Executor::StartSubProcess(int32_t clone_flags, const Namespace* ns,
|
||||||
if (!path_.empty()) {
|
if (!path_.empty()) {
|
||||||
exec_fd_ = open(path_.c_str(), O_PATH);
|
exec_fd_ = open(path_.c_str(), O_PATH);
|
||||||
if (exec_fd_ < 0) {
|
if (exec_fd_ < 0) {
|
||||||
LOG(ERROR) << "Could not open file " << path_;
|
PLOG(ERROR) << "Could not open file " << path_;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user