]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libuuid: Implement continuous clock handling for time based UUIDs
authorMichael Trapp <michael.trapp@sap.com>
Mon, 20 Jun 2022 15:10:36 +0000 (17:10 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 7 Jul 2022 11:00:35 +0000 (13:00 +0200)
commit3cfba7d39b66eff4307218fefd8bb34bb1621f83
tree381e9a54030e9cf6161497820aaa42659d36a95c
parentad10652dddf5bc1d54c4a95cfaae4ef61bc0069c
libuuid: Implement continuous clock handling for time based UUIDs

In a uuidd setup, the daemon is a singleton and can maintain it's own
resources for time based UUID generation. This requires a dedicated
'clock sequence range' but does not need any further lock/update of
the LIBUUID_CLOCK_FILE from uuidd. The range of available clock values
is extended by a continuous handling of the clock updates - instead of
updating the value to the current timestamp, it is incremented by
the number of requested UUIDs.
libuuid/src/gen_uuid.c
libuuid/src/libuuid.sym
libuuid/src/uuidd.h
misc-utils/uuidd.8.adoc
misc-utils/uuidd.c