summaryrefslogtreecommitdiff
path: root/libuuid
AgeCommit message (Collapse)AuthorFilesLines
2014-02-15getting the hardware addressIgor Pashev1-7/+12
2013-10-08COPYING: fix grammar of referring phrase, and indicate location betterBenno Schulenberg1-2/+2
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
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-09docs: remove repeated words [checkmans.sh]Sami Kerola1-1/+1
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-04-03libuuid: use O_CLOEXECKarel Zak1-2/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-08-15build-sys: expand paths at make timeKarel Zak1-1/+2
autoconf docs about *dir variables (e.g bindir): ... A corollary is that you should not use these variables except in makefiles... ...you should not rely on AC_CONFIG_FILES to replace bindir and friends in your shell scripts and other files; instead, let make manage their replacement. 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-27build-sys: add minisg COPYING filesKarel Zak1-1/+1
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: create static uuid_generate_*.3 filesKarel Zak4-9/+4
It seems more simple to create small three files with man page links than generate the files on the fly. Note that the libuuid/man directory is not in builddir by default so you have to create proper directory and then create the man pages... too complex task for this three tiny files. Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-26build-sys: cleanup .gitignore filesKarel Zak1-1/+0
- move all binaries to top-level .gitignore - remove unnecessary */.gitignore files Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-26build-sys: convert libuuid/ to moduleKarel Zak8-177/+87
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-27libuuid: fix typo in uuid_compare manpagePetr 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 Kerola3-9/+31
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-11-03libuuid: fix includes in man pagesKarel Zak9-9/+9
Signed-off-by: Karel Zak <kzak@redhat.com>
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-08-30docs: remove duplicated textSami Kerola1-0/+5
Duplicate text is dealt by referring to license files. The `pg' command does not need separated license file because the source file has same text at top of it. http://www.spinics.net/lists/util-linux-ng/msg05069.html Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-12docs: Documentation directory addedSami Kerola2-26/+1
Move readme, licence, change log, relese notes and other supplementary files to a Documentation directory. This commit does not change contents of any other but few Makefile.am files. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-06-09build-sys: use top-level directory for libuuid rather than shlibs/uuidKarel Zak32-0/+2662
Signed-off-by: Karel Zak <kzak@redhat.com>