mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Use new function naming
PiperOrigin-RevId: 253191002 Change-Id: If00c0effb925b3e294593f272447cd8386228bac
This commit is contained in:
parent
4d891de31b
commit
605d402121
|
@ -129,7 +129,7 @@ pid_t Executor::StartSubProcess(int32_t clone_flags, const Namespace* ns,
|
||||||
if (ns) {
|
if (ns) {
|
||||||
clone_flags |= ns->GetCloneFlags();
|
clone_flags |= ns->GetCloneFlags();
|
||||||
*request.mutable_mount_tree() = ns->mounts().GetMountTree();
|
*request.mutable_mount_tree() = ns->mounts().GetMountTree();
|
||||||
request.set_hostname(ns->GetHostname());
|
request.set_hostname(ns->hostname());
|
||||||
}
|
}
|
||||||
|
|
||||||
request.set_clone_flags(clone_flags);
|
request.set_clone_flags(clone_flags);
|
||||||
|
|
|
@ -56,7 +56,6 @@ class Namespace final {
|
||||||
const Mounts& mounts() const { return mounts_; }
|
const Mounts& mounts() const { return mounts_; }
|
||||||
|
|
||||||
const std::string& hostname() const { return hostname_; }
|
const std::string& hostname() const { return hostname_; }
|
||||||
const std::string& GetHostname() const { return hostname_; }
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class StackTracePeer;
|
friend class StackTracePeer;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user