summaryrefslogtreecommitdiff
path: root/libuuid/src
AgeCommit message (Collapse)AuthorFilesLines
2014-02-15getting the hardware addressIgor Pashev1-7/+12
2013-08-27build-sys: add CFLAGS and LDFLAGS for daemons and shared libsKarel Zak1-1/+6
This is necessary for paranoid security guys who believe that things like "-Wl,-z,relro" or "-Wl,-z,bind_now" is a way how to make the world a safer place... Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-03libuuid: use O_CLOEXECKarel Zak1-2/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-30build-sys: move tests to check_PROGRAMSKarel Zak1-1/+1
Thanks to Mike Frysinger. Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-10uuidd: use run configured state directorySami Kerola1-1/+1
Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-26build-sys: convert libuuid/ to moduleKarel Zak4-145/+56
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-18uuidd: move from /var/run/uuidd to /run/uuiddKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-18libuuid: move clock.txt path to header fileKarel Zak2-2/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-05-23libuuid: use max() from c.hPetr Uzel1-3/+1
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-05-15libuuid: move read_all to include/all-io.hPetr Uzel1-25/+1
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-05-10libuuid: avoid double open and leaking fd (reworked)Petr Uzel2-11/+19
This reverts commit 6126f7a53c57485a9a29ddd772765695f23c92e6 and fixes the double open and leaking descriptor in a different way, that is by using newly introduced function 'have_random_source()' to check whether good random source is available while deciding which uuid type to generate (random/time). This is better than calling random_get_fd() twice, passing the file descriptor down the stack and reusing it in next call to random_get_fd(). Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-05-04libuuid: avoid double open and leaking descriptorPetr Uzel2-8/+11
We are opening /dev/urandom twice in uuid_generate(): first to check if the file is available and then later __uuid_generate_random() again to actually get the random data. Moreover, descriptor from the first open is leaking. Fix by passign the descriptor down the stack and reusing it there. References: http://marc.info/?l=util-linux-ng&m=133406051131131&w=2 Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-05-04libuuid: don't exec uuiddPetr Uzel2-46/+3
Executing the daemon from the shared library is not quite elegant solution. Drop this functionality and require uuidd (should it be needed) to be started from the initscript or by socket-activation. References: http://www.spinics.net/lists/util-linux-ng/msg05967.html Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-05-04libuuid: use EXIT_FAILUREPetr Uzel1-1/+1
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-04-23libuuid: use get_fd_tabsize()Karel Zak2-14/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-04-10libuuid: use randutilsDavidlohr Bueso2-95/+7
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2012-02-28build-sys: enhance readability of the autotools filesSami Kerola1-5/+17
Several horizontal lists are turned to vertical, and sorted to alphabetical order. Additionally spaces are converted to tabs where ever possible. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-09-07libuuid: add limits.h include for OPEN_MAXmaximilian attems1-0/+1
Needed as definition for usage in close_all_fds(). Noticed on klibc build. Signed-off-by: maximilian attems <max@stro.at>
2011-06-09build-sys: use top-level directory for libuuid rather than shlibs/uuidKarel Zak17-0/+1933
Signed-off-by: Karel Zak <kzak@redhat.com>