summaryrefslogtreecommitdiff
path: root/linuxnamespaces/idmap.py
AgeCommit message (Collapse)Author
6 daysprefer getpass.getuser() over os.getlogin()Helmut Grohne
os.getlogin() returns an undesired value in a runuser environment and is not overridable with environment.
2025-06-01idmapping functions accept a further proc arguementHelmut Grohne
This allows opening /proc as an O_PATH descriptor, then locking a process up and then still writing idmaps by accessing the now inaccessible /proc via the retained file descriptor.
2025-05-24split idmapping things to new module idmapHelmut Grohne