[PATCH app-xdm 1/2] man: conditionnaly include DisplayManager.randomFile resource

Gaetan Nadon memsize at videotron.ca
Mon Aug 23 06:24:11 PDT 2010


This resource follows the same pattern as prndSocket and prngPort.
It is displayed to the user only if ARC4_RANDOM is not defined.
It seems to be a simple omission in the man page.
Refer to resource.c:

char	*randomFile;
char	*randomDevice;
char	*prngdSocket;
int	prngdPort;

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 xdm.man.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/xdm.man.cpp b/xdm.man.cpp
index 220580b..2545212 100644
--- a/xdm.man.cpp
+++ b/xdm.man.cpp
@@ -343,10 +343,12 @@ in the section
 A list of additional environment variables, separated by white space,
 to pass on to the \fIXsetup\fP,
 \fIXstartup\fP, \fIXsession\fP, and \fIXreset\fP programs.
+#if !defined(ARC4_RANDOM)
 .IP \fBDisplayManager.randomFile\fP
 A file to checksum to generate the seed of authorization keys.
 This should be a file that changes frequently.
 The default is \fI/dev/mem\fP.
+#endif
 #ifdef DEV_RANDOM
 .IP \fBDisplayManager.randomDevice\fP
 A file to read 8 bytes from to generate the seed of authorization keys.
-- 
1.6.0.4



More information about the xorg-devel mailing list