]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: use /run/mount/tmptgt rather than /tmp/mount/mount.<pid>
authorKarel Zak <kzak@redhat.com>
Thu, 12 Aug 2021 08:58:18 +0000 (10:58 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 12 Aug 2021 09:34:03 +0000 (11:34 +0200)
commit7ae195affb0ea5fb9b777a7a2e89f4d2a69bd578
treed00061505116582dfaa53a9b636e835e684153c7
parentf8ccd659560d9fc12ecc1eff7f47f9bbd50565f0
libmount: use /run/mount/tmptgt rather than /tmp/mount/mount.<pid>

The unshared namespace is per-process, so we can use the same
directory in all mount(8) instances. It's unnecessary to create
and remove process specific directory.

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context.c
libmount/src/context_mount.c
libmount/src/mountP.h
libmount/src/utils.c