[PATCH] Remove the references to /etc/X*.hosts

Jeremy Huddleston jeremyhu at apple.com
Thu Oct 7 15:14:43 PDT 2010


xhost(1) doesn't use these files, so the refernece to Xserver(1) is sufficient.

Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
---
 xhost.man |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/xhost.man b/xhost.man
index f28de0e..0e2189f 100644
--- a/xhost.man
+++ b/xhost.man
@@ -144,8 +144,6 @@ is printed.
 For each name removed from the access control list,
 a line of the form "\fIname\fP being removed from access control list"
 is printed.
-.SH FILES
-/etc/X*.hosts
 .SH "SEE ALSO"
 X(__miscmansuffix__), Xsecurity(__miscmansuffix__), Xserver(1), xdm(1), xauth(1), getaddrinfo(3)
 .SH ENVIRONMENT
-- 
1.7.2.3


Ok, than any objection to removing the reference from xhost(1)?


On Oct 7, 2010, at 11:24, Alan Coopersmith wrote:

> Jeremy Huddleston wrote:
>> This was reported to me and I thought I should pass it along...
>> 
>> xhost(1) has:
>> 
>> FILES
>>       /etc/X*.hosts
>> 
>> but looking through xhost.c, I'm not sure what it's referring to...
> 
> /etc/X<display-number>.hosts is read by the X server at startup - xhost
> doesn't read or write to it, but it affects the initial set of hosts
> in the access list that xhost manages.   The Xserver(1) man page is where
> it's actually documented.
> 
> -- 
> 	-Alan Coopersmith-        alan.coopersmith at oracle.com
> 	 Oracle Solaris Platform Engineering: X Window System
> 



More information about the xorg-devel mailing list