diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/userchroot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/userchroot.py b/examples/userchroot.py index 315a437..73d52b3 100755 --- a/examples/userchroot.py +++ b/examples/userchroot.py @@ -34,8 +34,8 @@ def main() -> None: subuids = linuxnamespaces.IDAllocation.loadsubid("uid") subgids = linuxnamespaces.IDAllocation.loadsubid("gid") - uidmap = subuids.allocatemap(65536, 0) - gidmap = subgids.allocatemap(65536, 0) + uidmap = subuids.allocatemap(65536) + gidmap = subgids.allocatemap(65536) linuxnamespaces.unshare_user_idmap( [uidmap], |