]> err.no Git - util-linux/commit
libuuid: Don't run uuidd if it would fail due to permission problems
authorTheodore Ts'o <tytso@mit.edu>
Wed, 1 Jul 2009 03:06:44 +0000 (23:06 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 Jul 2009 03:26:09 +0000 (23:26 -0400)
commit7e54fe51ae92fa1acb8b9226191519b28b87c00e
treee84bd2f1b127e54476114df293a1b6a7c1993b8e
parent3b90c50066969cfa40a392d0290cb8d762351f65
libuuid: Don't run uuidd if it would fail due to permission problems

Some distributions don't like installing uuidd setuid or setgid.  So
if the setuid or setigid bit is not set with uuidd, and the current
process does not have write access to the UUIDD work directory, don't
try running uuidd, since it won't work properly.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
shlibs/uuid/src/gen_uuid.c
shlibs/uuid/src/uuidd.h