mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
03bc11d1c4
This merges the various labelling calls into a single label_fix_full(), which can operate on paths, on inode fds, and in a dirfd/fname style (i.e. like openat()). It also systematically separates the path to look up in the db from the path we actually use to reference the inode to relabel. This then ports tmpfiles over to labelling by fd. This should make the code a bit less racy, as we'll try hard to always operate on the very same inode, pinning it via an fd. User-visibly the behaviour should not change. |
||
---|---|---|
.. | ||
meson.build | ||
offline-passwd.c | ||
offline-passwd.h | ||
test-offline-passwd.c | ||
tmpfiles.c |