|
|
|
[PATCH 12/20] uuidd: --socket-activation implies --keep-privs | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Signed-off-by: Petr Uzel <petr.uzel@xxxxxxx>
---
misc-utils/uuidd.8 | 6 +++---
misc-utils/uuidd.c | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/misc-utils/uuidd.8 b/misc-utils/uuidd.8
index 892f236..8bf5da8 100644
--- a/misc-utils/uuidd.8
+++ b/misc-utils/uuidd.8
@@ -44,9 +44,9 @@ Do not daemonize using double-fork.
.TP
.BR \-S , " \-\-socket-activation "
Do not create the socket and instead expect it to be provided by the calling
-process. Implies --no-fork and --no-pid. As of this writing, this option is
-supposed to be used only with systemd. It needs to enabled with configure
-option --enable--uuid-socket-activation.
+process. Implies --no-fork, --no-pid and --keep-privs. As of this writing,
+this option is supposed to be used only with systemd. It needs to enabled with
+configure option --enable--uuid-socket-activation.
.TP
.BR \-K , " \-\-keep-privs "
If uuidd is installed set-uid and executed by root, it by default drops its
diff --git a/misc-utils/uuidd.c b/misc-utils/uuidd.c
index 54978aa..795129f 100644
--- a/misc-utils/uuidd.c
+++ b/misc-utils/uuidd.c
@@ -590,6 +590,7 @@ int main(int argc, char **argv)
no_sock = 1;
no_fork = 1;
no_pid = 1;
+ drop_privs = 0;
#else
fprintf(stderr,
_("uuidd has been built without support for socket activation.\n"
--
1.7.7
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Site Home] [Netdev] [Ethernet Bridging] [Linux Wireless] [Kernel Newbies] [Memory] [Security] [Linux for Hams] [Netfilter] [Bugtraq] [Rubini] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux Admin] [Samba] [Video 4 Linux] [Linux Resources]