diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-09-23 10:46:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-23 10:46:40 +0200 |
commit | 5038e1bec43a71c97ae7f8be07218a8a2edbb6a1 (patch) | |
tree | 18a441e8c15a60ed24d0b76e5b5ccd5c0077054b /src | |
parent | 02b4632e779ca524ffc1ac699e0f3a428aef98d6 (diff) | |
parent | c6a542f22a165f711fc0730bfcfbd936ad1c3dfb (diff) |
Merge pull request #3103 from bhipple/fix/spelling
Fix spelling in comment
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/build.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index ab725e8e9..9a6729f9e 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2364,7 +2364,7 @@ void DerivationGoal::startBuilder() child = clone(childEntry, stack + stackSize, flags, this); } if (child == -1 && (errno == EPERM || errno == EINVAL)) { - /* Some distros patch Linux to not allow unpriveleged + /* Some distros patch Linux to not allow unprivileged * user namespaces. If we get EPERM or EINVAL, try * without CLONE_NEWUSER and see if that works. */ @@ -2410,8 +2410,7 @@ void DerivationGoal::startBuilder() writeFile("/proc/" + std::to_string(pid) + "/gid_map", (format("%d %d 1") % sandboxGid % hostGid).str()); - /* Signal the builder that we've updated its user - namespace. */ + /* Signal the builder that we've updated its user namespace. */ writeFull(userNamespaceSync.writeSide.get(), "1"); userNamespaceSync.writeSide = -1; |