summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/cgroup.py2
-rwxr-xr-xexamples/chroottar.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/cgroup.py b/examples/cgroup.py
index 9a01d0d..ff1a087 100755
--- a/examples/cgroup.py
+++ b/examples/cgroup.py
@@ -87,7 +87,7 @@ def main() -> None:
os.W_OK,
):
# For some shells - notably from graphical desktop environments, the
- # hiearchy is immediatly writeable. For others, we may create a scope
+ # hierarchy is immediately writeable. For others, we may create a scope
# unit.
if ravel is not None:
asyncio.get_event_loop().run_until_complete(
diff --git a/examples/chroottar.py b/examples/chroottar.py
index 47e5fe1..69acd46 100755
--- a/examples/chroottar.py
+++ b/examples/chroottar.py
@@ -122,7 +122,7 @@ def main() -> None:
childsock.recv(1)
childsock.close()
# The other process will now have set up our id mapping and
- # will have changed ownersip of our working directory.
+ # will have changed ownership of our working directory.
os.setreuid(0, 0)
os.setregid(0, 0)
os.setgroups([])