Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/doc Document xauth(1) hack.



details:   https://anonhg.NetBSD.org/src/rev/1896c2802726
branches:  trunk
changeset: 795257:1896c2802726
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Apr 05 17:06:44 2014 +0000

description:
Document xauth(1) hack.

diffstat:

 doc/HACKS |  18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r c0299d341e91 -r 1896c2802726 doc/HACKS
--- a/doc/HACKS Sat Apr 05 17:01:55 2014 +0000
+++ b/doc/HACKS Sat Apr 05 17:06:44 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.146 2014/04/04 07:21:40 wiz Exp $
+# $NetBSD: HACKS,v 1.147 2014/04/05 17:06:44 tron Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -365,6 +365,22 @@
        included in the Emacs 24.3 distribution.
 kcah
 
+hack   Disable Stack Smash Protection for /usr/X11R7/bin/xauth
+cdata  05 Apr 2014
+who    tron
+file   src/external/mit/xorg/bin/xauth/Makefile        : 1.4
+pr     N/A
+descr
+       If "xauth" is compile with "USE_SSP" set to "yes" it fails
+       mysteriously with an error message like this:
+
+       /usr/X11R7/bin/xauth:  file /foo/bar/.Xauthority does not exist
+       /usr/X11R7/bin/xauth:  unable to link authority file /foo/bar/.Xauthority, use /foo/bar/.Xauthority
+
+       The compiler seems to get confused about the two filename variables
+       used in the link(2) system call.
+kcah
+
 port   vax
 
        hack    gcc4/vax ICE



Home | Main Index | Thread Index | Old Index