1commit ba65fe63adb9071e825df80b1c84985e048ed463
2Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3Date:   Sat Mar 8 17:09:58 2025 -0800
4
5    xdm 1.1.17
6    
7    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8
9commit 7cc981a7f42ba4db46baafff740e189008202815
10Author: Alan Coopersmith <alan.coopersmith@oracle.com>
11Date:   Sat Jan 18 13:38:19 2025 -0800
12
13    if inet_ntop() is available, use it, even if IPv6 support is disabled
14    
15    Support for using inet_ntop() was originally added to support IPv6,
16    and only used if IPv6 support was enabled.  Two decades later, support
17    for inet_ntop() is ubiquitous and OS'es have marked inet_ntoa()
18    as deprecated, so use the modern interface whenever we can now.
19    
20    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
21    Part-of: <https://gitlab.freedesktop.org/xorg/app/xdm/-/merge_requests/25>
22
23commit 5dc368a3969fbda18a4c9a37d3b47253ea331994
24Author: Alan Coopersmith <alan.coopersmith@oracle.com>
25Date:   Sat Jan 18 13:09:12 2025 -0800
26
27    if sockaddr_storage is available, use it, even if IPv6 support is disabled
28    
29    Support for using sockaddr_storage was originally added to support IPv6,
30    and only used if IPv6 support was enabled.  Two decades later, support
31    for sockaddr_storage is ubiquitous and works just as well with IPv4,
32    so use the modern interface whenever we can now.
33    
34    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
35    Part-of: <https://gitlab.freedesktop.org/xorg/app/xdm/-/merge_requests/25>
36
37commit 5eb1648021bd52322bcb47163117e19b6022ae0a
38Author: Alan Coopersmith <alan.coopersmith@oracle.com>
39Date:   Sun Jan 12 12:28:43 2025 -0800
40
41    if getaddrinfo() is available, use it, even if IPv6 support is disabled
42    
43    Support for using getaddrinfo() was originally added to support IPv6,
44    and only used if IPv6 support was enabled.  Two decades later, support
45    for getaddrinfo() is ubiquitous and OS'es have marked gethostbyname()
46    as deprecated, so use the modern interface whenever we can now.
47    
48    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
49    Part-of: <https://gitlab.freedesktop.org/xorg/app/xdm/-/merge_requests/24>
50
51commit 026a10afdbbc3fe9199ede6260fc08897291e3eb
52Author: Alan Coopersmith <alan.coopersmith@oracle.com>
53Date:   Sun Jan 12 11:17:53 2025 -0800
54
55    Simplify ifdefs for IPv6 support
56    
57    Instead of checking for AF_INET6 at every ifdef, just check once for it
58    and report that IPv6 support is not available, instead of silently not
59    building support for it that configure said we were going to build.
60    
61    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
62    Part-of: <https://gitlab.freedesktop.org/xorg/app/xdm/-/merge_requests/24>
63
64commit 55cb37f064fc32998a035e78d41f3aa852270642
65Author: Alan Coopersmith <alan.coopersmith@oracle.com>
66Date:   Thu Apr 4 17:00:32 2024 -0700
67
68    xdm 1.1.16
69    
70    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
71
72commit 2b451b9915e3a379974a3c2b5fe9d4798f0c136b
73Author: Alan Coopersmith <alan.coopersmith@oracle.com>
74Date:   Mon Mar 25 13:06:28 2024 -0700
75
76    Define _CONST_X_STRING when including Xaw & Xt headers
77    
78    Fixes build when building against libXaw 1.0.16 since
79    xorg/lib/libxaw@d0fcbd97 changed the definition of XawListChange
80    in <X11/Xaw/List.h> from _Xconst char * to String *, where
81    String is defined as const if _CONST_X_STRING is defined.
82    
83    This also clears up 105 of the 162 -Wdiscarded-qualifiers warnings.
84    
85    Closes: #16
86    Fixes: bccb777 ("Fix -Wincompatible-pointer-types warning from gcc (issue #15)")
87    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
88
89commit 1a408d7f74618d28db6ec4ec377ab479bd8f75aa
90Author: Alan Coopersmith <alan.coopersmith@oracle.com>
91Date:   Sat Mar 23 15:15:52 2024 -0700
92
93    xdm 1.1.15
94    
95    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
96
97commit 634f47a8aec386b7dedb8f716a65a9b56c0d7de7
98Author: Alan Coopersmith <alan.coopersmith@oracle.com>
99Date:   Sun Feb 11 11:27:55 2024 -0800
100
101    session.c: clear -Wredundant-decls warnings on Solaris
102    
103    Include standard headers for getpwnam() & crypt() instead of
104    local prototype redefinitions.
105    
106    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
107
108commit 2693b540f90e1a79c277bac7ec9fa5e40d05a281
109Author: Alan Coopersmith <alan.coopersmith@oracle.com>
110Date:   Sun Feb 11 11:22:21 2024 -0800
111
112    unifdef __osf__
113    
114    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
115
116commit c8af3994d76bc5cc3ee8443c1ee366353daea840
117Author: Alan Coopersmith <alan.coopersmith@oracle.com>
118Date:   Sun Feb 11 11:12:15 2024 -0800
119
120    include <shadow.h> on all platforms with HAVE_GETSPNAM set, not just SVR4
121    
122    Matches what we already do in greeter/verify.c
123    
124    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
125
126commit 7e8a581cda4aaac7e1d6af3d0000a0d03816adc3
127Author: Alan Coopersmith <alan.coopersmith@oracle.com>
128Date:   Sun Feb 11 11:02:38 2024 -0800
129
130    Remove support for SVR4 systems other than Solaris/illumos
131    
132    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
133
134commit 387bcf8bad11196967943a3352b9eb0d0f1f897e
135Author: Alan Coopersmith <alan.coopersmith@oracle.com>
136Date:   Sun Feb 11 10:47:13 2024 -0800
137
138    unifdef FRAGILE_DEV_MEM
139    
140    It was only defined in the old Imakefiles, and not in any autoconf config
141    
142    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
143
144commit c31f9dcc8055fdf6b5ff2cc59fef89e1cf09a0ab
145Author: Alan Coopersmith <alan.coopersmith@oracle.com>
146Date:   Sun Feb 11 10:44:17 2024 -0800
147
148    unifdef UNRELIABLE_SIGNALS
149    
150    UNRELIABLE_SIGNALS was only defined if SYSV was defined
151    
152    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
153
154commit 48ad0d9b915f858fda2b005d4e7f01ca465a51f9
155Author: Alan Coopersmith <alan.coopersmith@oracle.com>
156Date:   Sun Feb 11 10:42:24 2024 -0800
157
158    unifdef SIGNALS_RESET_WHEN_CAUGHT
159    
160    SIGNALS_RESET_WHEN_CAUGHT was only defined if SYSV was defined
161    
162    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
163
164commit 8a9a4e5be8d4906aa7b1365140445db33e6cbbbd
165Author: Alan Coopersmith <alan.coopersmith@oracle.com>
166Date:   Sun Feb 11 10:41:09 2024 -0800
167
168    unifdef SYSV
169    
170    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
171
172commit ae942bf8aba373f3d7db6af868e0f8154fdd23f2
173Author: Alan Coopersmith <alan.coopersmith@oracle.com>
174Date:   Sun Feb 11 10:35:12 2024 -0800
175
176    unifdef AF_DECnet
177    
178    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
179
180commit 493673ef4914f56c8ee471b88f16b02e468f9c3b
181Author: Alan Coopersmith <alan.coopersmith@oracle.com>
182Date:   Sun Feb 11 10:34:22 2024 -0800
183
184    unifdef AF_CHAOS
185    
186    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
187
188commit 37f80c7716759ed066af68011a35459706e70262
189Author: Alan Coopersmith <alan.coopersmith@oracle.com>
190Date:   Sun Feb 11 10:26:05 2024 -0800
191
192    unifdef QNX4
193    
194    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
195
196commit ee19d5f4352135a9044a238112738dc66ec50b46
197Author: Alan Coopersmith <alan.coopersmith@oracle.com>
198Date:   Sun Feb 11 10:17:35 2024 -0800
199
200    unifdef __UNIXOS2__
201    
202    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
203
204commit 2956192801a3e85136d54277409c2ebdea15b3be
205Author: Alan Coopersmith <alan.coopersmith@oracle.com>
206Date:   Sun Feb 11 10:13:04 2024 -0800
207
208    unifdef pegasus
209    
210    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
211
212commit 279dba5bed1706ddce0164f78c32a81389b85909
213Author: Alan Coopersmith <alan.coopersmith@oracle.com>
214Date:   Sun Feb 11 10:08:32 2024 -0800
215
216    unifdef hpux
217    
218    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
219
220commit 52578f77a14808b7d8925b3ee309d5ceac674b22
221Author: Alan Coopersmith <alan.coopersmith@oracle.com>
222Date:   Sun Feb 11 10:02:29 2024 -0800
223
224    unifdef __convex__
225    
226    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
227
228commit 1fe9ab1cbf7f0a1684b1f1e53f1a6816916bb3fa
229Author: Alan Coopersmith <alan.coopersmith@oracle.com>
230Date:   Sun Feb 11 09:58:51 2024 -0800
231
232    unifdef PowerMAX_OS
233    
234    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
235
236commit 9660da78eac0da9ff951ddf0367ad0d09eca885f
237Author: Alan Coopersmith <alan.coopersmith@oracle.com>
238Date:   Sun Feb 11 09:55:27 2024 -0800
239
240    unifdef sony
241    
242    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
243
244commit 0c49eecefffc16d5ea30709e7901bcdd41136a7c
245Author: Alan Coopersmith <alan.coopersmith@oracle.com>
246Date:   Sun Feb 11 09:51:03 2024 -0800
247
248    unifdef ultrix
249    
250    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
251
252commit 86e227cdfdb9d2454571aa2eb63c81bca139552e
253Author: Alisson Bruno <alissonbruno.sa@gmail.com>
254Date:   Sun Feb 11 16:56:55 2024 +0000
255
256    Fix --with-systemd-daemon option
257
258commit 9602a9f11dd5ac928a7275ceb1a58d5328b9d49e
259Author: Alan Coopersmith <alan.coopersmith@oracle.com>
260Date:   Thu Feb 1 18:16:59 2024 -0800
261
262    greeter: Constify value argument to SetValue()
263    
264    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
265
266commit 3672840c24e0826b7305d5143c95b2d070c57366
267Author: Alan Coopersmith <alan.coopersmith@oracle.com>
268Date:   Thu Feb 1 18:14:56 2024 -0800
269
270    greeter: Handle const qualification differences between Solaris & Linux PAM
271    
272    Solaris does not specify "const" on the first argument to PAM conversation
273    functions, nor the third argument to pam_get_item().  Linux PAM does both.
274    
275    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
276
277commit bccb77746528134aa2e865ca4f44fd9424738b3f
278Author: Alan Coopersmith <alan.coopersmith@oracle.com>
279Date:   Tue Dec 5 17:25:28 2023 -0800
280
281    Fix -Wincompatible-pointer-types warning from gcc (issue #15)
282    
283    chooser.c:280:26: warning: passing argument 2 of ‘XawListChange’ from
284     incompatible pointer type [-Wincompatible-pointer-types]
285      280 |     XawListChange (list, newTable, size, 0, TRUE);
286          |                          ^~~~~~~~
287          |                          |
288          |                          char **
289    In file included from chooser.c:59:
290    /usr/include/X11/Xaw/List.h:170:27: note: expected ‘const char **’ but
291     argument is of type ‘char **’
292      170 |  _Xconst char           **list,
293    
294    Closes: #15
295    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
296
297commit b2569e49dda3f15b9cbf8df60c86bee9ed01a40a
298Author: Alan Coopersmith <alan.coopersmith@oracle.com>
299Date:   Sat Dec 2 10:58:23 2023 -0800
300
301    configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
302    
303    AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
304    so it's time to rely on it.
305    
306    Clears autoconf warnings:
307    
308    configure.ac:37: warning: The macro 'AC_LIBTOOL_DLOPEN' is obsolete.
309    configure.ac:37: You should run autoupdate.
310    m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from...
311    configure.ac:37: the top level
312    configure.ac:37: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
313    configure.ac:37: put the 'dlopen' option into LT_INIT's first parameter.
314    ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
315    m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from...
316    configure.ac:37: the top level
317    configure.ac:38: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
318    configure.ac:38: You should run autoupdate.
319    m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
320    configure.ac:38: the top level
321    
322    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
323
324commit b378b79ce9ae1036fc3d3865186eddf0a56112db
325Author: Alan Coopersmith <alan.coopersmith@oracle.com>
326Date:   Fri Oct 13 15:18:27 2023 -0700
327
328    gitlab CI: Update to latest CI templates & Debian stable release
329    
330    Current template fails to rebuild the CI container with the current
331    Debian stable release (a new release since the last update)
332    
333    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
334
335commit d2efd22bd2cbee6a04da0bcaec35d03890522dcc
336Author: Alan Coopersmith <alan.coopersmith@oracle.com>
337Date:   Sat Feb 25 08:58:08 2023 -0800
338
339    Remove "All rights reserved" from Oracle copyright notices
340    
341    Oracle no longer includes this term in our copyright & license notices.
342    
343    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
344
345commit 0a94a0a23880e1f6aae6f603d5aab7f7f4df7504
346Author: Alan Coopersmith <alan.coopersmith@oracle.com>
347Date:   Thu Jul 28 17:30:21 2022 -0700
348
349    gitlab CI: stop requiring Signed-off-by in commits
350    
351    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
352
353commit 022b959f5f26e6b70d2ab6524ca39b5934e4c42e
354Author: Alan Coopersmith <alan.coopersmith@oracle.com>
355Date:   Sat Dec 3 13:34:29 2022 -0800
356
357    xdm 1.1.14
358    
359    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
360
361commit 968b9c0b390f15f44ab4f3ee5fce23a9cec60720
362Author: Alan Coopersmith <alan.coopersmith@oracle.com>
363Date:   Sat Nov 5 10:37:33 2022 -0700
364
365    Only link with libbsd if needed for arc4random() or setproctitle()
366    
367    Avoid unnecessary library dependency when using a libc with these
368    functions included.
369    
370    Also only links to the binary that needs them (xdm, not chooser or greeter)
371    
372    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
373
374commit 8a10c98d29d0ff2028f109b5671dfae2910df051
375Author: Guillem Jover <guillem@hadrons.org>
376Date:   Thu Oct 6 00:11:18 2022 +0000
377
378    Switch from libbsd to libbsd-overlay
379    
380    This is the preferred usage form for libbsd, as it makes the code more
381    portable and requires no special includes for libbsd, by transparently
382    injects the needed standard headers that would be used on a BSD.
383    
384    Signed-off-by: Guillem Jover <guillem@hadrons.org>
385
386commit 468b76023a2dfb750c4d5e9b184f230c5b6ec670
387Author: Callum Farmer <gmbr3@opensuse.org>
388Date:   Sun Sep 11 12:57:05 2022 +0100
389
390    genauth: fix build with arc4random in glibc 2.36
391    
392    HAVE_ARC4RANDOM is defined under glibc 2.36 but this will attempt to include
393    <bsd/stdlib.h> from libbsd instead of <stdlib.h> from glibc
394    
395    Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
396
397commit 0f46b67b45ef40854ad7924e836134bf3f920e09
398Author: Alan Coopersmith <alan.coopersmith@oracle.com>
399Date:   Sat Apr 30 11:59:31 2022 -0700
400
401    chooser: avoid free of uninitialized pointer in allocation failure cleanup
402    
403    Resolves issue found by Oracle Parfait static analyzer:
404    
405    Error: Uninitialised memory
406       Uninitialised memory [uninitialised-mem] (CWE 456):
407          Possible access to uninitialised memory referenced by 'new->fullname'
408          Memory 'new->fullname' accessed at byte offset '8'
409            at line 357 of app/xdm/chooser/chooser.c in function 'AddHostname'.
410            Write does not overlap at line 355
411              new allocated at line 329
412    
413    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
414
415commit 3544fa9ec2e17e481785382317ef93ec2ac32ddf
416Author: Alan Coopersmith <alan.coopersmith@oracle.com>
417Date:   Sun Apr 10 11:58:38 2022 -0700
418
419    Use memcpy() instead of memmove() when buffers are known not to overlap
420    
421    Most of these came from a mass bcopy() -> memmove() substitution
422    in 1993 with a commit comment of "ANSIfied for R6".
423    
424    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
425
426commit f01b28cf76d641881fa1c5bf7f9dd2487b9ced6b
427Author: Alan Coopersmith <alan.coopersmith@oracle.com>
428Date:   Sun Apr 10 11:33:38 2022 -0700
429
430    all_query_respond(): handle ConvertAddr failure sooner
431    
432    Don't try to process returned data values that may not be set
433    
434    Resolves Oracle Parfait issue:
435    
436    Error: Uninitialised memory
437       Uninitialised memory variable [uninitialised-mem-var] (CWE 457):
438          Possible access to uninitialised memory referenced by variable 'length'
439            at line 238 of xdm/xdmcp.c in function 'all_query_respond'.
440            Path in callee avoiding write at line 237
441              length allocated at line 231
442    
443    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
444
445commit 00e0b3ae11bb1d4681b0206c341f57fc46ea98b1
446Author: Alan Coopersmith <alan.coopersmith@oracle.com>
447Date:   Sun Apr 10 11:14:50 2022 -0700
448
449    GetChooserAddr(): verify socket address fit in provided buffer
450    
451    Should never happen, but makes Oracle Parfait stop warning:
452    
453    Error: Buffer overrun
454       Read Outside Array Bounds in STD C function [read-outside-array-bounds-call-stdc]:
455          Read outside array bounds in call to memmove. Buffer ((int8*)&in_addr) of size 256 is read at an offset of len
456          Array size is 256 bytes, index <= 1024
457            at line 130 of xdm/socket.c in function 'GetChooserAddr'.
458            called at line 197 of xdm/choose.c in function 'FormatChooserArgument' with lenp = &addr_len.
459    
460    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
461
462commit c7daccd105a74fe97adb2c8e2842e3b19d5dd34c
463Author: Matt Turner <mattst88@gmail.com>
464Date:   Sun Apr 10 12:40:13 2022 -0700
465
466    configure.ac: Add option to disable Xinerama
467    
468    Bug: https://bugs.gentoo.org/384371
469    Signed-off-by: Matt Turner <mattst88@gmail.com>
470
471commit df5bb7f4e4039192571de75179658ee9c2ee58eb
472Author: Alan Coopersmith <alan.coopersmith@oracle.com>
473Date:   Sun Apr 3 14:42:16 2022 -0700
474
475    xdm 1.1.13
476    
477    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
478
479commit d0fa51471049d427b95346dd7ffc17ff9c17b1d9
480Author: Alan Coopersmith <alan.coopersmith@oracle.com>
481Date:   Sat Dec 4 11:46:06 2021 -0800
482
483    Build xz tarballs instead of bzip2
484    
485    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
486
487commit 943f2aa19005c53ee5c7c0782af382948e689af1
488Author: Alan Coopersmith <alan.coopersmith@oracle.com>
489Date:   Sat Dec 4 11:46:02 2021 -0800
490
491    gitlab CI: add a basic build test
492    
493    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
494
495commit c84d3f77abdb5502140ba36137c25a6dd07df756
496Author: Alan Coopersmith <alan.coopersmith@oracle.com>
497Date:   Sun Nov 1 10:20:02 2020 -0800
498
499    doneAddrs: reset addrs to NULL after freeing list
500    
501    Resolves warning from Oracle Parfait static analyzer:
502    
503    Warning: Dangling pointer
504       Dangling pointer [dangling-pointer]:
505          Invalid pointer is accessible to caller via global addrs
506            at line 664 of xdm/auth.c in function 'doneAddrs'.
507            Invalid pointer accessible via global addrs at line 646
508              a accessed from addrs at line 658 in function 'doneAddrs'
509              a freed with free at line 662
510    
511    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
512
513commit 9505d391c72c90635453cc160b6f64e02da6a318
514Author: Alan Coopersmith <alan.coopersmith@oracle.com>
515Date:   Sun Nov 1 10:05:11 2020 -0800
516
517    Greeter: add parens to DRAW_STRING & TEXT_WIDTH macros for safety
518    
519    Oracle Parfait static analyser points out it wasn't clear if cast or
520    arithmetic operation in arguments at lines 410, 416, 431, & 433 was
521    intended to be done first, so we'll make it explicit.
522    
523    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
524
525commit 529ff7c9591e58c6003d7b330a80adf63fa5b736
526Author: Matt Turner <mattst88@gmail.com>
527Date:   Wed Oct 28 21:15:14 2020 -0400
528
529    configure.ac: Link with libsystemd, not libsystemd-daemon
530    
531    libsystemd-daemon was merged into libsystemd in 2014, for systemd-209.
532    
533    Fixes: https://gitlab.freedesktop.org/xorg/app/xdm/-/issues/9
534    Signed-off-by: Matt Turner <mattst88@gmail.com>
535
536commit 945a3a05e53ddd32578d5146ec4943fe9297aba4
537Author: Alan Coopersmith <alan.coopersmith@oracle.com>
538Date:   Tue Jul 21 19:04:11 2020 -0700
539
540    Fix spelling/wording issues
541    
542    Found by using:
543      codespell --builtin clear,rare,usage,informal,code,names
544    
545    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
546
547commit a03a628e2adeac10aa0fc494a5f04f25e3b31d7e
548Author: Alan Coopersmith <alan.coopersmith@oracle.com>
549Date:   Sat Mar 2 14:02:19 2019 -0800
550
551    xdm 1.1.12
552    
553    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
554
555commit 5f941a815b7bad49a766987660094b01046c8e7d
556Author: Alan Coopersmith <alan.coopersmith@oracle.com>
557Date:   Mon Feb 25 14:22:27 2019 -0800
558
559    Use sed instead of the C pre-processor to generate config files
560    
561    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=93359
562    while avoiding https://bugs.freedesktop.org/show_bug.cgi?id=107368
563    
564    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
565
566commit dd7402c2f1e828cc3b0fae036b62f74b8014814b
567Author: David Carlier <devnexen@gmail.com>
568Date:   Wed May 4 17:46:15 2016 +0100
569
570    fix length format in StartClient() debug message
571    
572    changing the printf-like format as strlen returns an unsigned type
573    
574    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
575    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
576
577commit 42ae3d66283a9efa0c510d5d438f821549656fe6
578Author: David Carlier <devnexen@gmail.com>
579Date:   Wed May 4 17:46:15 2016 +0100
580
581    fix memory leak in StorePid()
582    
583    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
584    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
585
586commit 7a56946260616f7f5ff43ecbaac1f2ada9b0afcd
587Author: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
588Date:   Mon Jan 6 15:52:47 2014 +0000
589
590    xdm uses setproctitle without proper includes for Linux libbsd
591    
592    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
593
594commit 786b2c7ed39fb0cdd4c34e51f5c58f980087dcc1
595Author: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
596Date:   Mon Jan 6 15:52:00 2014 +0000
597
598    xdm uses arc4random without proper includes for Linux libbsd
599    
600    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
601
602commit 16d74befa4430eb024d81ee4070520afff697d60
603Author: Alan Coopersmith <alan.coopersmith@oracle.com>
604Date:   Wed Nov 21 17:01:20 2018 -0800
605
606    Update configure.ac bug URL for gitlab migration
607    
608    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
609
610commit a7623a6555689cb3d1acfc66c0562985b106a85b
611Author: Alan Coopersmith <alan.coopersmith@oracle.com>
612Date:   Fri Nov 16 21:30:06 2018 -0800
613
614    Update README for gitlab migration
615    
616    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
617
618commit 768a8c524642955527066ba90be6ffd511e30ed5
619Author: Björn Esser <besser82@fedoraproject.org>
620Date:   Thu Aug 16 15:42:34 2018 -0400
621
622    glibc: Include <crypt.h> if needed, fix build with 2.28
623    
624    Signed-off-by: Adam Jackson <ajax@redhat.com>
625
626commit b6853380678b793bad81ac09b2f872f8225ccec6
627Author: Alan Coopersmith <alan.coopersmith@oracle.com>
628Date:   Sat May 5 12:28:27 2018 -0700
629
630    Add missing brackets to multi-statement if in SaveServerAuthorizations
631    
632    Introduced by commit 5222d28e8d8e5b4cc
633    
634    Reported by gcc 7.3:
635    
636    auth.c: In function ‘SaveServerAuthorizations’:
637    auth.c:447:6: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
638          if (auths[i]->data_length > 0)
639          ^~
640    auth.c:452:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
641       (void) fflush (auth_file);
642       ^
643    
644    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
645    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
646
647commit 50bd014ad8ed0b0af1e9e8130779acd0473a6899
648Author: Matthieu Herrb <matthieu@herrb.eu>
649Date:   Sun Oct 1 09:43:53 2017 +0200
650
651    chown before chmod
652    
653    This prevents a malicious user logging out from calling
654    chmod while still owning /dev/console and thus by-passing
655    the '622' mode that is set here.
656    
657    Issue reported by Tim Chase. Thanks.
658    
659    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
660
661commit 4743378ccf1defe5984ad71797283b98029aa920
662Author: Alan Coopersmith <alan.coopersmith@oracle.com>
663Date:   Mon Jan 16 16:21:37 2017 -0800
664
665    Install xdm man pages under admin section (8), not user programs (1)
666    
667    As best I can tell, it was historically under section 1 mainly because
668    the old X Consortium Imake configs only supported installing program
669    man pages there, and didn't have an option for using other sections.
670    
671    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
672    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
673
674commit 53a781392bdd785db8a12572a7323de35a16d896
675Author: Mihail Konev <k.mvc@ya.ru>
676Date:   Thu Jan 26 14:00:21 2017 +1000
677
678    autogen: add default patch prefix
679    
680    Signed-off-by: Mihail Konev <k.mvc@ya.ru>
681
682commit 6004d4b43e76522528cb93f56b38f4f5130d4e1f
683Author: Emil Velikov <emil.l.velikov@gmail.com>
684Date:   Mon Mar 9 12:00:52 2015 +0000
685
686    autogen.sh: use quoted string variables
687    
688    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
689    fall-outs, when they contain space.
690    
691    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
692    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
693    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
694
695commit 62e239d1ea3294239830f39ac8e4d21b6b17ec8d
696Author: Peter Hutterer <peter.hutterer@who-t.net>
697Date:   Tue Jan 24 10:32:07 2017 +1000
698
699    autogen.sh: use exec instead of waiting for configure to finish
700    
701    Syncs the invocation of configure with the one from the server.
702    
703    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
704    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
705
706commit 02c5858734585795f53b90a245afafb3c606c5ce
707Author: Alan Coopersmith <alan.coopersmith@oracle.com>
708Date:   Thu Jan 28 09:02:06 2016 -0800
709
710    Remove non-existent cpp resource from man page
711    
712    From what I can see in the ancient X Consortium archives, the cpp
713    resource was added in X11R4 and documented but never actually used,
714    and removed in X11R5 without remembering to remove it from the man page.
715    
716    Reported-by: John Smith <wempwer@gmail.com>
717    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
718    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
719    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
720
721commit 994d32ad92e12aa381f222db68db9997a602197e
722Author: Matthieu Herrb <matthieu@herrb.eu>
723Date:   Tue Jan 5 21:31:12 2016 +0100
724
725    Missed on arc4random() conversion.
726    
727    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
728    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
729
730commit 5defb9365b7bfb758024ed203b30ee245285b77f
731Author: Matthieu Herrb <matthieu@herrb.eu>
732Date:   Mon Oct 26 17:09:53 2015 +0100
733
734    Unifdef X_NO_SYS_UN
735    
736    Nothing has set that since the modularization
737    
738    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
739    Reviewed-by: Adam Jackson <ajax@redhat.com>
740    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
741
742commit 720378013765a5bad7bddbb775aa6845c6d9c4af
743Author: Matthieu Herrb <matthieu@herrb.eu>
744Date:   Mon Oct 26 16:59:09 2015 +0100
745
746    Remove AIXV3, SCO, Unixware, OS/2 support
747    
748    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
749    Reviewed-by: Adam Jackson <ajax@redhat.com>
750    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
751
752commit 82298bc7aa1b1715adce9de1cf61c6335bc659d8
753Author: Matthieu Herrb <matthieu@herrb.eu>
754Date:   Tue Dec 1 19:15:50 2015 +0100
755
756    Remove #if 0'd code
757    
758    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
759    Reviewed-by: Adam Jackson <ajax@redhat.com>
760    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
761
762commit c0c3ad0cc5a6e5cf528245fb7f4e47b91163333c
763Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
764Date:   Sun Oct 18 22:35:00 2015 -0700
765
766    Fixup various format warnings in PrintProtoDisplay
767    
768    protodpy.c:52:35: warning: format specifies type 'unsigned int' but the argument has type 'struct protoDisplay *' [-Wformat]
769        Debug ("ProtoDisplay 0x%x\n", pdpy);
770                               ~~     ^~~~
771    protodpy.c:54:20: warning: incompatible pointer types passing 'XdmcpNetaddr' (aka 'char *') to parameter of type 'struct sockaddr *'
772          [-Wincompatible-pointer-types]
773        PrintSockAddr (pdpy->address, pdpy->addrlen);
774                       ^~~~~~~~~~~~~
775    ../include/dm_socket.h:46:45: note: passing argument to parameter 'a' here
776    extern void PrintSockAddr (struct sockaddr *a, int len);
777                                                ^
778    protodpy.c:55:41: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
779        Debug ("\tdate %d (%d from now)\n", pdpy->date, time(0) - pdpy->date);
780                       ~~                   ^~~~~~~~~~
781                       %lu
782    protodpy.c:55:53: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
783        Debug ("\tdate %d (%d from now)\n", pdpy->date, time(0) - pdpy->date);
784                           ~~                           ^~~~~~~~~~~~~~~~~~~~
785                           %lu
786    protodpy.c:57:32: warning: format specifies type 'int' but the argument has type 'CARD32' (aka 'unsigned long') [-Wformat]
787        Debug ("\tsessionID %d\n", pdpy->sessionID);
788                            ~~     ^~~~~~~~~~~~~~~
789                            %lu
790    
791    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
792
793commit d5aa455a2575fca74219bb567ae4cb8c63a8401d
794Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
795Date:   Sun Oct 18 22:21:05 2015 -0700
796
797    Silence -Wmissing-noreturn warnings
798    
799    choose.c:463:1: warning: function 'RunChooser' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
800    chooser.c:1062:1: warning: function 'DoCancel' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
801    reset.c:81:1: warning: function 'abortReset' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
802    server.c:154:1: warning: function 'serverPauseAbort' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
803    server.c:161:1: warning: function 'serverPauseUsr1' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
804    server.c:236:1: warning: function 'abortOpen' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
805    server.c:329:1: warning: function 'PingLost' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
806    server.c:348:1: warning: function 'PingLostSig' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
807    session.c:231:1: warning: function 'catchTerm' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
808    session.c:293:1: warning: function 'SessionPingFailed' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
809    session.c:240:1: warning: function 'catchAlrm' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
810    session.c:249:1: warning: function 'waitAbort' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
811    session.c:330:1: warning: function 'ManageSession' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
812    session.c:471:1: warning: function 'syncTimeout' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
813    session.c:519:1: warning: function 'SessionExit' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
814    
815    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
816
817commit 6cc5153d77f9f48b8dd16e17e48eac4d6ef13929
818Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
819Date:   Sun Oct 18 22:13:31 2015 -0700
820
821    Add missing prototype for PrintSockAddr
822    
823    protodpy.c:53:5: error: implicit declaration of function 'PrintSockAddr' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
824        PrintSockAddr (pdpy->address, pdpy->addrlen);
825        ^
826    
827    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
828
829commit 68de911889c66133cc6e2f5c64b18a02e84de500
830Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
831Date:   Sun Oct 18 22:12:14 2015 -0700
832
833    Add missing return type (void) for PrintProtoDisplay
834    
835    protodpy.c:49:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
836    PrintProtoDisplay (struct protoDisplay *pdpy)
837    ^
838    
839    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
840
841commit 0d8bb02d5ab7af1dc505987c9468c11caf3b889d
842Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
843Date:   Sun Oct 18 22:10:41 2015 -0700
844
845    xdm: Add missing include of <arpa/inet.h> for inet_ntop
846    
847    netaddr.c:226:2: error: implicit declaration of function 'inet_ntop' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
848            inet_ntop(a->sa_family, &((struct sockaddr_in6 *) a)->sin6_addr,
849            ^
850    
851    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
852
853commit 29ec7d1a3bad0222c58a6be2a3a5d81706ce26e5
854Author: Alan Coopersmith <alan.coopersmith@oracle.com>
855Date:   Sun Sep 27 18:47:14 2015 -0700
856
857    Get rid of an extraneous ; at the end of a C source line
858    
859    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
860
861commit f4ddb33f2168acfee0034379c2f69c82e0aa768a
862Author: Egbert Eich <eich@suse.de>
863Date:   Fri May 22 10:36:03 2015 +0200
864
865    dm: Don't crash if argc == 0
866    
867    It is not guaranteed that argc > 0. So make sure we don't crash
868    if no valid command line arguments are given.
869    
870    Signed-off-by: Egbert Eich <eich@suse.de>
871    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
872
873commit d0e32620bfb3bc8803bffcec3f0f3b1db6440d51
874Author: Matthieu Herrb <matthieu@herrb.eu>
875Date:   Sat Mar 14 20:05:25 2015 +0100
876
877    Allow the greeter to set the input fields bg color
878    
879    A new 'inpColor' resource is added for that.
880    
881    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
882    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
883
884commit 6abf2827dd4f0dc1a4972c431131de94fb978199
885Author: Alan Coopersmith <alan.coopersmith@oracle.com>
886Date:   Thu Feb 26 23:05:24 2015 -0800
887
888    Mark LogPanic as noreturn per gcc's suggestion
889    
890    error.c: In function ‘LogPanic’:
891    error.c:93:1: warning: function might be candidate for attribute ‘noreturn’
892     [-Wsuggest-attribute=noreturn]
893     LogPanic (const char * fmt, ...)
894     ^
895    
896    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
897
898commit d26ca678071aeaf41d91985ebf8a194231667b24
899Author: Alan Coopersmith <alan.coopersmith@oracle.com>
900Date:   Thu Feb 26 22:32:21 2015 -0800
901
902    Only free input or output to realloc, not both
903    
904    In error cleanup path, check to see if realloc returned NULL,
905    if so, free the still valid input pointer; otherwise the input is
906    no longer valid, so ignore it and free the realloc output pointer.
907    Avoids potential double free if you run out of memory at the exact
908    right spot.
909    
910    Introduced-by: commit d39dbde390f0f609c03dbd79f0bcc6a3486ca8a3
911    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
912
913commit bd28d86465fc6ba48f6f35ddeb8df9275960b1de
914Author: Jon TURNEY <jon.turney@dronecode.org.uk>
915Date:   Mon Feb 23 11:36:41 2015 +0000
916
917    Link libXdmGreet with -no-undefined libtool flag
918    
919    "Use -no-undefined to assure libtool that the library has no unresolved symbols
920    at link time, so that libtool will build a shared library on platforms that
921    require that all symbols are resolved when the library is linked."
922    
923    With a recent libtool (since 2.4.5 or so), "can't build <target> shared library
924    unless -no-undefined is specified" is an error, rather than a warning, if
925    ./configure'd --enable-shared.
926    
927    http://tinderbox.x.org/builds/2015-02-22-0009/logs/app-xdm/#build
928    
929    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
930
931commit cdc7b575452a621fb467004d607288af6dd4c802
932Author: Alan Coopersmith <alan.coopersmith@oracle.com>
933Date:   Tue Nov 4 21:44:05 2014 -0800
934
935    Only pass -u & -w args to sessreg if --with-{u,w}tmp-file=path specified
936    
937    If not specified, let sessreg use its builtin defaults instead of
938    replicating the logic here (and possibly getting it wrong), especially
939    since in sessreg-1.0.8 and earlier, using the -u & -w flags forces
940    the use of the utmp/wtmp code and not the newer utmpx/wtmpx code.
941    
942    If --without-{u,w}tmp-file or --with-{u,w}tmp-file=none is specified,
943    pass "none" as arguments to sessreg to disable writing to that file.
944    
945    v2: better handling of --with & --without arguments when not passing path,
946    add documentation of the 3 choices to README
947    
948    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
949
950commit a69c64584f614eeaeac92a068715ced5777b0ec9
951Author: Alan Coopersmith <alan.coopersmith@oracle.com>
952Date:   Fri Aug 1 22:58:54 2014 -0700
953
954    Protect against unlikely NULL pointer dereference in FormatChooserArgument
955    
956    NetaddrPort should only return NULL if it wasn't compiled with
957    support for the address family in use, but checking to be sure
958    makes static analyzer complain less.
959    
960    Error: Null pointer dereference (CWE 476)
961       Read from null pointer port
962            at line 219 of xdm/choose.c in function 'FormatChooserArgument'.
963              Function NetaddrPort may return constant 'NULL' at line 77,
964               called at line 216.
965              Null pointer introduced at line 77 of xdm/netaddr.c in function
966               'NetaddrPort'.
967            at line 220 of xdm/choose.c in function 'FormatChooserArgument'.
968              Function NetaddrPort may return constant 'NULL' at line 77,
969               called at line 216.
970              Null pointer introduced at line 77 of xdm/netaddr.c in function
971               'NetaddrPort'.
972    
973    [ This bug was found by the Parfait 1.4.0 bug checking tool.
974      http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ]
975    
976    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
977
978commit 95e6f0ed0730c296b6c52b024c67d86507de1348
979Author: Alan Coopersmith <alan.coopersmith@oracle.com>
980Date:   Sat May 31 21:39:32 2014 -0700
981
982    autogen.sh: Honor NOCONFIGURE=1
983    
984    See http://people.gnome.org/~walters/docs/build-api.txt
985    
986    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
987
988commit c1375955b733ee8281520e283c7cfb3d93f6d2cf
989Author: Alan Coopersmith <alan.coopersmith@oracle.com>
990Date:   Sat May 31 21:38:41 2014 -0700
991
992    configure: Drop AM_MAINTAINER_MODE
993    
994    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
995
996commit f5737904cb77fa546523615bf1582979b2744607
997Author: Alan Coopersmith <alan.coopersmith@oracle.com>
998Date:   Fri Oct 18 22:54:29 2013 -0700
999
1000    Ensure fgets read at least one byte before modifying string
1001    
1002    If a file has a \0 byte (binary file, strange encoding, corruption),
1003    fgets() can return a string starting with a \0 byte - check for that
1004    before checking to see if the byte before the \0 is a \n, so we don't
1005    reach back before the start of our memory buffer.
1006    
1007    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1008    Acked-by: walter harms <wharms@bfs.de>
1009
1010commit a2773de6ea289d85d6b021221f911fc983b08ee5
1011Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1012Date:   Sun Sep 1 11:34:40 2013 -0700
1013
1014    Show compile time options in Debug output
1015    
1016    When debugging, helps figure out which options the distro or builder
1017    chose to enable or disable.
1018    
1019    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1020    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
1021
1022commit 3bedc0fef371ade80db85d17ae4deb1d692b027a
1023Author: Matthieu Herrb <matthieu.herrb@laas.fr>
1024Date:   Sun Aug 18 11:07:54 2013 +0200
1025
1026    Fix format string for systems where time_t is 64 bits long.
1027    
1028    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
1029    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1030
1031commit a0ab1f13b749e9486f5d50e16e67a9de6733b8a4
1032Author: Thomas Klausner <wiz@NetBSD.org>
1033Date:   Sun Jun 2 22:20:41 2013 +0200
1034
1035    Add wrapper function for write.
1036    
1037    gcc-4.5.4 on NetBSD complains:
1038    xdm/prngc.c: In function ‘get_prngd_bytes’:
1039    xdm/prngc.c:133:2: error: passing argument 1 of ‘atomicio’ from incompatible pointer type
1040    xdm/prngc.c:46:16: note: expected ‘ssize_t (*)(int,  void *, size_t)’ but argument is of type ‘ssize_t (*)(int,  const void *, size_t)’
1041    
1042    The problem is that the read(2) and write(2) syscalls differ
1043    in the const-ness of their second argument. The wrapper
1044    function gets rid of the difference.
1045    
1046    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
1047    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1048
1049commit a13b3c0681834fde049bf6b225e9547327458026
1050Author: Thomas Klausner <wiz@NetBSD.org>
1051Date:   Fri Jun 28 19:35:39 2013 +0200
1052
1053    Use appropriate format string.
1054    
1055    Fixes clang warning:
1056    format specifies type 'int' but the argument has type 'unsigned long'
1057    
1058    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
1059    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1060
1061commit 04e9edeb73dcd7de12e140ca38403c9772d8bebc
1062Author: Eric S. Raymond <esr@thyrsus.com>
1063Date:   Wed Jun 19 06:58:27 2013 -0400
1064
1065    Don't rely on the ability to set tab stops.
1066    
1067    Instead, use TBL and CW fonts in examples.
1068
1069commit 8d1eb5c74413e4c9a21f689fc106949b121c0117
1070Author: mancha <mancha1@hush.com>
1071Date:   Wed May 22 07:20:26 2013 -0700
1072
1073    Handle NULL returns from glibc 2.17+ crypt().
1074    
1075    Starting with glibc 2.17 (eglibc 2.17), crypt() fails with EINVAL
1076    (w/ NULL return) if the salt violates specifications. Additionally,
1077    on FIPS-140 enabled Linux systems, DES/MD5-encrypted passwords
1078    passed to crypt() fail with EPERM (w/ NULL return).
1079    
1080    If using glibc's crypt(), check return value to avoid a possible
1081    NULL pointer dereference.
1082    
1083    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1084    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1085
1086Notes:
1087    Fixes CVE-2013-2179
1088
1089commit 642d73c50ae19a55975919c84191da15b31608a4
1090Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1091Date:   Sun Apr 21 15:37:00 2013 -0700
1092
1093    Avoid fd leak when fdopen() fails in openFiles()
1094    
1095    Found by parfait 1.1 bug checker:
1096       File Descriptor Leak: Leaked File Descriptor newfd
1097            at line 590 of xdm/auth.c in function 'openFiles'.
1098              newfd initialized at line 573 with open
1099              newfd leaks when newfd >= 0 at line 574.
1100    
1101    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1102
1103commit 4ecaac617be1ef59be532671d07f062e52111f3a
1104Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1105Date:   Fri Apr 19 16:33:12 2013 -0700
1106
1107    Remove old man page note about XDM-AUTHENTICATION-1
1108    
1109    It is enabled by default now, when building with current versions of libXdmcp.
1110    
1111    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1112    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1113
1114commit b1af740f2824b00fd2e073f847e0873b406bc1ad
1115Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1116Date:   Mon Apr 1 23:37:45 2013 -0700
1117
1118    Stop leaking address struct on every call to getLocalAddress()
1119    
1120    getLocalAddress() checks the haveLocalAddress static variable to see
1121    if it's already set up an address struct, and if not allocates memory
1122    to do so and stores a pointer in the localAddress static variable.
1123    
1124    Unfortunately, it never then set haveLocalAddress, so every time it was
1125    called it simply overwrote the previous allocation with a new one.
1126    
1127    Now we check to see if the allocation succeeded, and if so, then set
1128    haveLocalAddress so we don't repeat and waste time & memory on later
1129    calls.
1130    
1131    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
1132    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1133
1134commit 87f9c9d8cae9461f22f9b55056433336bea354c8
1135Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1136Date:   Sat Feb 23 10:29:02 2013 -0800
1137
1138    Assume signal handlers return void, as C89 requires
1139    
1140    Drops use of autoconf's obsolete AC_TYPE_SIGNAL & RETSIGTYPE
1141    
1142    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1143
1144commit fa8adede758e2b1e8ae38c84d032b354f0250f49
1145Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1146Date:   Thu Jan 24 10:11:28 2013 -0800
1147
1148    Look for pam in both pam/ and security/ paths
1149    
1150    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1151
1152commit 2cef6bcd280f44e115ff238d4f2a1ccb10aaf09f
1153Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1154Date:   Wed Dec 26 20:43:08 2012 -0800
1155
1156    Remove old Interactive Unix ("ISC") code from xdm
1157    
1158    Interactive Systems Corp (ISC) made a SVR3 port for i386 systems.
1159    It was purchased by Sun in 1992 to beef up Solaris x86 support.
1160    Sun ended sales of ISC Unix in 2001, and ended support in 2006.
1161    
1162    Mostly performed via "unifdef -UISC" followed by imdent,
1163    and then manual cleanup.
1164    
1165    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1166
1167commit b6a3c34ee853c5143c7c21a1ed47cfe1cab4e871
1168Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1169Date:   Wed Dec 26 20:43:08 2012 -0800
1170
1171    Remove unused NCR/Wollongong TCP ("WINTCP") code from xdm
1172    
1173    Has never been converted to build in modular builds, so has been unusable
1174    since X11R7.0 release in 2005.  Was only used with an ancient SVR3 variant
1175    from NCR, with the TCP stack addon from Wollongong (now a long forgotten
1176    part of Attachmate).
1177    
1178    Mostly performed via "unifdef -UWINTCP" followed by imdent,
1179    and then manual cleanup.
1180    
1181    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1182
1183commit 2e38a23baa19b2bcb3747135e86b289c1e076293
1184Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1185Date:   Wed Dec 26 20:43:08 2012 -0800
1186
1187    Remove unused DECnet ("DNETCONN") code from xdm
1188    
1189    Has never been converted to build in modular builds, so has been unusable
1190    since X11R7.0 release in 2005.  DNETCONN support was removed from xtrans
1191    back in 2008.
1192    
1193    Mostly performed via "unifdef -UDNETCONN" followed by imdent,
1194    and then manual cleanup.
1195    
1196    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1197
1198commit d44bdc127d4838eb67402843ceb122df59ef328e
1199Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1200Date:   Wed Dec 26 20:43:08 2012 -0800
1201
1202    Remove unused TLI ("STREAMSCONN") code from xdm
1203    
1204    Has never been converted to build in modular builds, so has been unusable
1205    since X11R7.0 release in 2005.  All known platforms with TLI/XTI support
1206    that X11R7 & later releases run on also have (and mostly prefer) BSD
1207    socket support for their networking API.
1208    
1209    Mostly performed via "unifdef -USTREAMSCONN", followed by imdent,
1210    and then manual cleanup.
1211    
1212    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1213
1214commit 78403f6a7420798bf24798811c8c6b936c9ccb34
1215Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1216Date:   Fri Jan 6 19:34:30 2012 -0800
1217
1218    Add some missing malloc failure checks
1219    
1220    Flagged by Solaris Studio 12.3 code analyzer
1221    
1222    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1223
1224commit ad7a54288f62c0266540279dac775ebee68f092e
1225Author: Matthieu Herrb <matthieu.herrb@laas.fr>
1226Date:   Thu Dec 15 22:14:23 2011 +0100
1227
1228    replace <varargs.h> by <stdarg.h>. Spotted my Marco Peereboom with clang.
1229    
1230    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
1231    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
1232
1233commit a02edebf21aae37f8564d7b9fad01d5d2942ad8d
1234Author: Matthieu Herrb <matthieu.herrb@laas.fr>
1235Date:   Mon Nov 7 17:01:44 2011 +0100
1236
1237    Fix build outside of source dir. Fixes distcheck too.
1238    
1239    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
1240    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1241
1242commit 284532c0884893728b75ca37f5d2a9a33f7bc8db
1243Author: Julien Cristau <jcristau@debian.org>
1244Date:   Sat Oct 22 17:14:46 2011 +0200
1245
1246    greeter: link against -lXrender if xft is enabled
1247    
1248    XmuCvtStringToXftColor uses XRenderParseColor, so require xrender for
1249    the xft option, and link against it.
1250    
1251    Signed-off-by: Julien Cristau <jcristau@debian.org>
1252    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1253
1254commit 8eee942be0db913511b4c53f94829e1201dfdf00
1255Author: Michał Górny <mgorny@gentoo.org>
1256Date:   Wed Sep 28 21:25:17 2011 +0200
1257
1258    Support systemd startup notification.
1259    
1260    If libsystemd-daemon support is enabled, xdm uses it to announce its
1261    startup as soon as the session is established. This gives the user
1262    opportunity to delay I/O-intensive operations until the X server is
1263    started so that they would not interfere with its loading while keeping
1264    the machine busy when user types in his/her login.
1265    
1266    Reviewed-by: Jamey Sharp <jamey@minilop.net>
1267    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
1268    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1269
1270commit c43eb799774743bc50233eff6643c51a5fbe6899
1271Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1272Date:   Tue Sep 20 19:22:48 2011 -0700
1273
1274    Fix warnings about printing longs with int type format strings
1275    
1276    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1277
1278commit 618039261b0c7f14eb3b32c8f636464369724407
1279Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1280Date:   Tue Sep 20 19:11:20 2011 -0700
1281
1282    Mark some chars as const to fix gcc -Wwrite-strings warnings
1283    
1284    Can't fix all the warnings, due to the Xt API, but can fix a bunch.
1285    
1286    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1287
1288commit 011a2710a69cd345a8ee3a6b2f15407b4c3b355a
1289Author: Jeremy Huddleston <jeremyhu@apple.com>
1290Date:   Sun Sep 25 00:56:15 2011 -0700
1291
1292    Require xt >= 1.0 for appdefaultdir
1293    
1294    https://bugs.freedesktop.org/show_bug.cgi?id=7237
1295    
1296    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
1297
1298commit 23949f9a4c30b5dfa67a88b3dd2523f09f163d91
1299Author: Jeremy Huddleston <jeremyhu@apple.com>
1300Date:   Sun Sep 25 00:41:25 2011 -0700
1301
1302    configure.ac: Bump to 1.1.11
1303    
1304    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
1305
1306commit 225493d3c6be64dafec69095f254a1bee6386e33
1307Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1308Date:   Tue Sep 20 17:39:34 2011 -0700
1309
1310    fix whitespace issues
1311    
1312    Performed with:
1313      find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
1314      find * -type f | xargs perl -i -p -e 's{^[ ]+\t}{\t}'
1315    git diff -w & git diff -b show no diffs from this change
1316    
1317    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1318
1319commit 8016dfd9080393c23d19b1c34e81d1f544655d5a
1320Author: Matěj Cepl <mcepl@redhat.com>
1321Date:   Mon Aug 8 21:26:47 2011 +0200
1322
1323    Use explicitly /bin/sh for running of Xwilling script via su.
1324    
1325    su nobody -c <command> uses a default shell of the user, which in case
1326    of nobody is (at least on Linux distros) /sbin/nologin.
1327    
1328    Signed-off-by: Matěj Cepl <mcepl@redhat.com>
1329    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1330    Reviewd-by: Mark Kettenis <kettenis@openbsd.org>
1331    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1332
1333commit 0782f1c24c658c06736907dd143f8e67359ac235
1334Author: Michał Górny <mgorny@gentoo.org>
1335Date:   Wed Aug 31 18:02:53 2011 +0200
1336
1337    Support installing systemd unit file.
1338    
1339    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=38339
1340    Signed-off-by: Michał Górny <mgorny@gentoo.org>
1341    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
1342    Tested-by: Gaetan Nadon <memsize@videotron.ca>
1343    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1344
1345commit 5574b79c2d6c89f96484b890872ba1594fb6ddd2
1346Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1347Date:   Thu Jun 2 21:52:20 2011 -0700
1348
1349    Simplify FailedLogin code
1350    
1351    Relies on username going out of scope to discard the pointer returned by
1352    pam_get_item that pam_end frees at the bottom of the loop.
1353    
1354    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1355    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1356
1357commit 29e9393697d0b7158c2c1e0856180713c7c8f925
1358Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1359Date:   Thu Jun 2 21:39:16 2011 -0700
1360
1361    Stop using username retrieved from PAM before pam_end frees it.
1362    
1363    The first time a failed login message was syslogged it had the right
1364    username, but subsequent ones kept reusing that pointer, even though
1365    PAM had freed it and it may have been reused and filled with something
1366    else, resulting in garbage user names for the later login failures.
1367    
1368    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1369    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1370
1371commit eca379146cf487cbd05e1698ea12c1835327d1d4
1372Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1373Date:   Thu Jun 2 20:46:57 2011 -0700
1374
1375    Add _X_ATTRIBUTE_PRINTF to LogVWrite declaration
1376    
1377    Suggested by gcc -Wmissing-format-attribute
1378    
1379    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1380    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1381
1382commit 7b8a4bb753d9da4cde60379050493d811c9b3044
1383Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1384Date:   Thu Jun 2 20:45:32 2011 -0700
1385
1386    Replace GCC_PRINTFLIKE with xproto's _X_ATTRIBUTE_PRINTF
1387    
1388    The existing GCC_PRINTFLIKE declaration seems to have been broken, since
1389    it only defined GCC_PRINTFLIKE if GCC_PRINTFLIKE was already defined.
1390    
1391    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1392    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1393
1394commit 7843f1e00caba67025ac75c4985ddd3af7924a9c
1395Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1396Date:   Thu Jun 2 20:38:29 2011 -0700
1397
1398    Use C99 named initializers for XSetWindowAttributes structure
1399    
1400    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1401    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1402
1403commit 3c3f9cde9dda4c74178cc5428ebf8967c26a516a
1404Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1405Date:   Thu Jun 2 18:33:56 2011 -0700
1406
1407    Bug 13455: allowNullPasswd: true doesn't work until the second login attempt
1408    
1409    Assign allow_null_passwd and allow_root_login variables' values before call to
1410    pam_authenticate()
1411    
1412    https://bugs.freedesktop.org/show_bug.cgi?id=13455
1413    
1414    Based on a fix suggested by: Tim Shumakov <ars_1@mail.ru>
1415    
1416    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1417    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1418
1419commit 7d69ff7b9dfcd3e4410f181225f66f51089eef67
1420Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1421Date:   Fri May 27 22:46:09 2011 -0700
1422
1423    On Solaris, make sure PAM_TTY is only ever set to an actual /dev path
1424    
1425    Solaris PAM & auditing insist this is a device file that can be found in
1426    the filesystem, so we can't use the display name (":0") like we've
1427    been doing (and continue to do on other OS'es).
1428    
1429    Fixes Solaris bug 6960231:
1430    xdm login fails with: pam_unix_cred: cannot load ttyname with c2audit loaded
1431    
1432    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1433
1434commit 68517be0c7ae67989bc3cd845c8aa79ef7040618
1435Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1436Date:   Tue May 17 19:37:15 2011 -0700
1437
1438    xdm.man: address only needs 2 S's, not 3
1439    
1440    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1441
1442commit bd0acffc9e69c4ca39d0881984ae587ad4385934
1443Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1444Date:   Sat May 14 10:08:25 2011 -0700
1445
1446    freeifaddrs() when done with it in DefineSelf()
1447    
1448    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1449
1450commit 96362c12ccd08fcb50f697106622d0c0f8a6007a
1451Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1452Date:   Sat May 14 09:39:21 2011 -0700
1453
1454    Add Solaris 11 libsocket to list of libraries to search for getifaddrs()
1455    
1456    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1457    Acked-by: Gaetan Nadon <memsize@videotron.ca>
1458
1459commit 1953570d9cd7c4e57fc270e6146aa13e794be0de
1460Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1461Date:   Sat May 14 10:52:18 2011 -0700
1462
1463    Only greeter needs XPM CFLAGS & LIBS, not xdm daemon
1464    
1465    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1466    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
1467    Reviewed-by: Julien Cristau <jcristau@debian.org>
1468    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1469    Acked-by: Gaetan Nadon <memsize@videotron.ca>
1470
1471commit 47c1b146c786f057026ea2ad89b8cb4c51ee3d50
1472Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1473Date:   Sat May 14 10:44:06 2011 -0700
1474
1475    Stop casting return values of malloc and friends
1476    
1477    It's not needed on modern mallocs that return void *, and can hide
1478    missing prototype errors that cause the compiler to assume int is
1479    returned (a bad thing to assume in 64-bit builds).
1480    
1481    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1482    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
1483    Reviewed-by: Julien Cristau <jcristau@debian.org>
1484    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1485    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
1486
1487commit f29b73ba549fbdcbe1361c016fc40cc424c32e9b
1488Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1489Date:   Sat May 14 10:33:50 2011 -0700
1490
1491    Stop casting free() arguments to (char *)
1492    
1493    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1494    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
1495    Reviewed-by: Julien Cristau <jcristau@debian.org>
1496    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1497    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
1498
1499commit 6cb6fcd3a95bc125615d4a6736712bcc45ad7685
1500Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1501Date:   Sat May 14 10:24:06 2011 -0700
1502
1503    Stop checking for NULL before calling free()
1504    
1505    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1506    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
1507    Reviewed-by: Julien Cristau <jcristau@debian.org>
1508    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1509    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
1510
1511commit d39dbde390f0f609c03dbd79f0bcc6a3486ca8a3
1512Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1513Date:   Sat May 14 09:29:30 2011 -0700
1514
1515    Fix potential memory leak in allocation failure cleanup path
1516    
1517    Error: Memory leak (CWE 401)
1518       Memory leak of pointer 'newargv' allocated with realloc(((i8*)argv), ((i * 4) + 8))
1519            at line 239 of /export/alanc/X.Org/git/app/xdm/xdm/util.c in function 'parseArgs'.
1520              'newargv' allocated at line 231 with realloc(((i8*)argv), ((i * 4) + 8)).
1521              newargv leaks when newargv != 0 at line 234
1522                  and save == 0 at line 234.
1523    
1524    [This bug was found by the Parfait 0.3.7 bug checking tool.
1525     For more information see http://labs.oracle.com/projects/parfait/ ]
1526    
1527    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1528    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
1529    Reviewed-by: Julien Cristau <jcristau@debian.org>
1530    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1531
1532commit 4b9cbfd3f4d16000120c3241503c7a6102ae8afe
1533Author: Gaetan Nadon <memsize@videotron.ca>
1534Date:   Fri Mar 4 20:31:01 2011 -0500
1535
1536    man: replace hard coded section number (1) with __appmansuffix__
1537    
1538    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1539
1540commit f394b7e3c7d0437a4415fe99965b866e35066713
1541Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1542Date:   Mon Feb 21 16:52:19 2011 -0800
1543
1544    greeter: Make sure cursor stays in bounds too
1545    
1546    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1547
1548commit 7d5c2364cc6c2b7338b4df9f1be0b621ca9fd2e7
1549Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1550Date:   Mon Feb 21 16:43:41 2011 -0800
1551
1552    greeter: Replace several #ifdef XPM blocks with LOGO_W macro
1553    
1554    Refactor code assuming compiler is smart enough to optimize out any
1555    that reduce to + 0 or - 0 if building without XPM defined.
1556    
1557    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1558
1559commit f59d8f32c755b8747acf71aa3ab4c4809bff4ebf
1560Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1561Date:   Mon Feb 21 15:54:00 2011 -0800
1562
1563    greeter: Make sure text input areas stay inside the lines
1564    
1565    Regression introduced by f8585c60831a8e5ddebce18bdd7e78d217a822c5
1566    broke bounds checking for text displayed in input fields.
1567    
1568    Since this makes each TEXT_WIDTH value only be used once, just use
1569    them directly instead of storing the result in a variable.
1570    
1571    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1572
1573commit 3297eb892017c850f25d3dc4a37095612a20a381
1574Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1575Date:   Mon Feb 21 15:53:23 2011 -0800
1576
1577    greeter: Add echoPasswdChar resource to set character to display
1578    
1579    Stop hardcoding it to '*'.   Allows setting a resource with no value to
1580    to advance the cursor without drawing text (as was previously the default).
1581    
1582    Resolves https://bugs.freedesktop.org/show_bug.cgi?id=32794
1583    
1584    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1585
1586commit 472dc516e7d0190d81fdedd817261ee41bf8ada6
1587Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1588Date:   Sat Feb 19 22:33:33 2011 -0800
1589
1590    greeter: inline valueMask for xpm window to avoid shadowing argument
1591    
1592    The Realize function names one of its arguments valueMask, and the
1593    valueMask variable in the inner scope is just used as a static set
1594    of mask flags, so just pass them directly to the function to reduce
1595    confusion and clear the gcc -Wshadow warning:
1596    
1597    Login.c: In function `Realize':
1598    Login.c:1901: warning: declaration of 'valueMask' shadows a parameter
1599    Login.c:1871: warning: shadowed declaration is here
1600    
1601    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1602
1603commit b0dd4a3da0001a4510bdca6726a8ce6bfe632c28
1604Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1605Date:   Sat Feb 19 22:30:06 2011 -0800
1606
1607    greeter: Remove unused extern dpy that is shadowed by local variables
1608    
1609    Resolves these warnings from gcc -Wshadow:
1610    greet.c: In function `InitGreet':
1611    greet.c:244: warning: declaration of 'dpy' shadows a global declaration
1612    greet.c:146: warning: shadowed declaration is here
1613    greet.c: In function `CloseGreet':
1614    greet.c:326: warning: declaration of 'dpy' shadows a global declaration
1615    greet.c:146: warning: shadowed declaration is here
1616    greet.c: At top level:
1617    greet.c:431: warning: declaration of 'dpy' shadows a global declaration
1618    greet.c:146: warning: shadowed declaration is here
1619    
1620    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1621    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
1622
1623commit 5bad823955542b99292783391b3f63a049fa2efc
1624Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1625Date:   Sat Feb 19 14:12:56 2011 -0800
1626
1627    Delete some unused variables
1628    
1629    auth.c: In function `DefineSelf':
1630    auth.c:1045: warning: unused variable `n'
1631    error.c: In function `Debug':
1632    error.c:116: warning: unused variable `buf'
1633    
1634    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1635    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
1636
1637commit 3e3a45176d232c4e3f23ed6bc0b46bf660ddf271
1638Author: Servaas Vandenberghe <vdb128@picaros.org>
1639Date:   Sat Feb 19 14:06:57 2011 -0800
1640
1641    Add resource reservAttempts to allow a few successive crash-type exits
1642    
1643    https://bugs.freedesktop.org/show_bug.cgi?id=20546
1644    https://bugs.freedesktop.org/attachment.cgi?id=43050
1645    
1646    Signed-off-by: Servaas Vandenberghe <vdb128@picaros.org>
1647    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1648
1649commit d0870e66dd9d8a41c9b6de65c4a9243c0a3fdc6e
1650Author: Servaas Vandenberghe <vdb128@picaros.org>
1651Date:   Sat Feb 19 13:15:58 2011 -0800
1652
1653    crash detect: use StopDisplay().
1654    
1655    This patch solves a benign bug: on server crash the display is removed
1656    but the server exit code is ignored.  Proposed solution: substitute
1657    RemoveDisplay() by StopDisplay() thus enabling the wait for child exit
1658    synchronism.
1659    
1660    https://bugs.freedesktop.org/show_bug.cgi?id=20546
1661    https://bugs.freedesktop.org/attachment.cgi?id=43049
1662    
1663    Signed-off-by: Servaas Vandenberghe <vdb128@picaros.org>
1664    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1665
1666commit c4031966dcbc47b2cc85b83ad78efcc64455cf72
1667Author: Fernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>
1668Date:   Sat Feb 19 17:53:08 2011 -0200
1669
1670    Fix missing linking dependency on -ldl.
1671    
1672    Recent versions of GCC ship with a linker that doesn't add the deps
1673    of the DSOs to the linking process. This behavior is also found in
1674    GNU gold. This change fixes building with those linkers.
1675    
1676    Some references:
1677    
1678    http://wiki.debian.org/ToolChain/DSOLinking
1679    https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
1680    
1681    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1682    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
1683
1684commit 208c7df5572f6ad8a63a4ee0fb1d5fd68c809653
1685Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1686Date:   Fri Feb 18 18:05:04 2011 -0800
1687
1688    xdm itself doesn't need to link with Xinerama library
1689    
1690    Xinerama calls are made in the greeter & chooser, but not core daemon
1691    
1692    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1693
1694commit 250c9931f45c73dda9d07c6bddc734c1445cfa5c
1695Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1696Date:   Fri Feb 18 18:00:11 2011 -0800
1697
1698    config: rename XDM_PRINT to XDM_TOOLKIT
1699    
1700    Name is a leftover of checking for non-Xprint Xaw7 vs. Xprint Xaw8,
1701    but xdm doesn't print, just needs a toolkit to display with.
1702    
1703    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1704
1705commit edd8d3622528351770fd9b5dc2242b16e6f70904
1706Author: Gaetan Nadon <memsize@videotron.ca>
1707Date:   Wed Jan 12 15:29:50 2011 -0500
1708
1709    config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
1710    
1711    This silences an Automake warning.
1712    
1713    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1714
1715commit cf45a0ceee92c2fb048ff8882cf0bea200506d11
1716Author: Gaetan Nadon <memsize@videotron.ca>
1717Date:   Tue Nov 16 11:42:50 2010 -0500
1718
1719    config: AM_PROG_CC_C_O is no longer needed
1720    
1721    All per-target flags have been removed now that each target
1722    sits in its own directory.
1723    
1724    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1725    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1726
1727commit e509059f307f81d055a1ab01f4cb3a64b3157dce
1728Author: Gaetan Nadon <memsize@videotron.ca>
1729Date:   Wed Aug 25 20:44:37 2010 -0400
1730
1731    config: move appdefault makefile to app-defaults dir.
1732    
1733    For this package it is best not to break the pattern
1734    of each directory having its own makefile.
1735    
1736    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1737    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1738
1739commit 8ee6a2678f9045c31366525bcaae5baf59a20930
1740Author: Gaetan Nadon <memsize@videotron.ca>
1741Date:   Wed Aug 25 20:19:43 2010 -0400
1742
1743    config: mv xdm in its own directory
1744    
1745    Prevents the use of per target flags.
1746    Clearly shows which libraries and compiler options apply.
1747    
1748    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1749    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1750
1751commit dd8a5b9f50deb9d91bb33cdd12fe083d39cd7d23
1752Author: Gaetan Nadon <memsize@videotron.ca>
1753Date:   Tue Aug 24 11:32:53 2010 -0400
1754
1755    config: move common headers into the include directory
1756    
1757    They provide interfaces to multiple executables
1758    
1759    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1760    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1761
1762commit eb0e5a3a665cd4dbd376f1a1cbd6d0c7ace22572
1763Author: Gaetan Nadon <memsize@videotron.ca>
1764Date:   Mon Aug 23 20:04:15 2010 -0400
1765
1766    config: move xdmshell into its own directory
1767    
1768    Prevents the use of per target flags.
1769    Clearly shows which libraries and compiler options apply.
1770    
1771    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1772    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1773
1774commit 2d520f71a0c89faf5522f5e37c09bdd5f933a574
1775Author: Gaetan Nadon <memsize@videotron.ca>
1776Date:   Mon Aug 23 14:42:23 2010 -0400
1777
1778    config: move chooser into its own directory
1779    
1780    Prevents the use of per target flags.
1781    Clearly shows which libraries and compiler options apply.
1782    
1783    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1784    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1785
1786commit f3b0019752e5b683c6e273eba15a4ecc9f55c5ae
1787Author: Gaetan Nadon <memsize@videotron.ca>
1788Date:   Sat Nov 13 16:17:44 2010 -0500
1789
1790    config: move man pages into their own directory
1791    
1792    Replace lowercase $(xdmlibdir) with $(XDMLIBDIR)
1793    
1794    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1795    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1796
1797commit 1dc0ef42cf009596db60a9fd08435621f70b81e7
1798Author: Gaetan Nadon <memsize@videotron.ca>
1799Date:   Fri Nov 12 17:07:38 2010 -0500
1800
1801    config: use AM_V_GEN instead of customized macros for AM_SILENT_RULES
1802    
1803    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1804    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
1805    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1806
1807commit 083f3d0ee8ecbb48b86dddfcf2f172fafb579f08
1808Author: Gaetan Nadon <memsize@videotron.ca>
1809Date:   Tue Nov 23 15:15:33 2010 -0500
1810
1811    config: relocate key_setnet in section "Check for header files"
1812    
1813    No configuration changes
1814    
1815    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
1816    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1817
1818commit e4535a52148d58c3fe91baebdcfe0187a07519b9
1819Author: Gaetan Nadon <memsize@videotron.ca>
1820Date:   Fri Nov 12 16:25:53 2010 -0500
1821
1822    config: relocate AC_FUNC_FORK in section "Check for system library functions"
1823    
1824    No configuration changes.
1825    
1826    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
1827    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1828    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1829
1830commit 63e882f86809419f8efdf2717050c96a15345c7b
1831Author: Gaetan Nadon <memsize@videotron.ca>
1832Date:   Fri Nov 12 16:21:54 2010 -0500
1833
1834    config: comment libxtrans macros as they are order sensitive
1835    
1836    XTRANS_SECURE_RPC_FLAGS must be called after XTRANS_CONNECTION_FLAGS
1837    which finds libraries like -lsocket, -lnsl or -lws32_32.
1838    
1839    The found libraries are pre-pended to $LIBS which is not obvious.
1840    
1841    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
1842    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1843    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1844
1845commit 73763eb718cba54963e0cf71b5316fdce2762c1f
1846Author: Gaetan Nadon <memsize@videotron.ca>
1847Date:   Mon Oct 25 14:19:20 2010 -0400
1848
1849    config: rework check for random number generator
1850    
1851    Following a similar pattern to PAM and SELinux checks.
1852    Unchanged: if a user has requested the use of a random device
1853    and none can be found, the configuration aborts.
1854    
1855    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1856    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1857
1858commit 10117ab7bc89ca65d313e0c6675e27d336a96925
1859Author: Gaetan Nadon <memsize@videotron.ca>
1860Date:   Mon Sep 6 15:08:36 2010 -0400
1861
1862    config: integrate check for arc4random in appropriate sections
1863    
1864    The AC_SEARCH_LIBS is done in "Check for libraries" section.
1865    Move AC_SUBST and AM_CONDITIONAL over there as well.
1866    Move AC_CHECK_FUNCS for arc4random to "library functions" section
1867    No function change.
1868    
1869    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
1870    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1871    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1872
1873commit 5d7d55646d4867e7b3f736d318575554c2414361
1874Author: Gaetan Nadon <memsize@videotron.ca>
1875Date:   Fri Oct 22 20:39:27 2010 -0400
1876
1877    config: upgrade the checking for SELinux support
1878    
1879    Use "auto" rather than "try" for consistency with other modules.
1880    Update help string to mention default value.
1881    Unchanged: if configured --with-selinux and -lselinux is misisng,
1882    abort the configuration.
1883    
1884    Change HAVE_SELINUX to USE_SELINUX to be consistent with
1885    USE_PAM, USE_XFT, USE_XPM and USE_XINERAMA.
1886    
1887    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1888    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1889
1890commit 5718767b882dc46f9393fd6b42f443227061a807
1891Author: Gaetan Nadon <memsize@videotron.ca>
1892Date:   Mon Nov 22 16:08:18 2010 -0500
1893
1894    config: upgrade the checking for PAM support
1895    
1896    Use "auto" rather than "try" for consistency with other modules.
1897    Update help string to mention default value.
1898    Unchanged: if configured --with-pam and -lpam is misisng,
1899    abort the configuration.
1900    
1901    Continue with USE_PAM rather than HAVE_PAM_OPEN_SESSION
1902    as we are checking for a feature rather a function alone.
1903    
1904    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1905    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1906
1907commit 529a045fa6a25334be469f633531fe1324dcf14a
1908Author: Gaetan Nadon <memsize@videotron.ca>
1909Date:   Fri Oct 22 13:51:43 2010 -0400
1910
1911    config: isolating -lselinux to a single target is not required
1912    
1913    Due to previous patches, -lselinux, if installed on the configured system,
1914    is included in $LIBS already.
1915    
1916    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
1917    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1918
1919commit 0b1a949b7c1ce09136d3e4098b68a733d7bb32e2
1920Author: Gaetan Nadon <memsize@videotron.ca>
1921Date:   Thu Sep 2 19:45:54 2010 -0400
1922
1923    config: use AC_CHECK_FUNCS for mkstemp, getifaddrs and getspnam
1924    
1925    Using AC_CHECK_FUNCS defines HAVE_xxx macro in config.h following
1926    a consistent naming convention.
1927    
1928    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1929    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1930
1931commit b6309b26edd477f45dd34b6d746eb2ac1e3fe9fc
1932Author: Gaetan Nadon <memsize@videotron.ca>
1933Date:   Thu Sep 2 17:47:55 2010 -0400
1934
1935    config: use AC_CHECK_FUNCS for setusercontext
1936    
1937    AC_CHECK_FUNCS defines HAVE_SETUSERCONTEXT
1938    
1939    The replaced code made an incorrect assumption that it was only
1940    availble on BSD-like systems.
1941    
1942    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1943    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1944
1945commit 80b44cfae4ab244ab4fd9d0ed0e089d946526755
1946Author: Gaetan Nadon <memsize@videotron.ca>
1947Date:   Wed Sep 1 09:37:42 2010 -0400
1948
1949    config: use AC_CHECK_FUNCS for setprocttile
1950    
1951    AC_CHECK_FUNCS defines HAVE_SETPROCTITLE
1952    
1953    The replaced code made an incorrect assumption that it was only
1954    availble on BSD-like systems.
1955    
1956    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1957    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1958
1959commit d9ab9445d1c52174788fc5df34e5379747623410
1960Author: Gaetan Nadon <memsize@videotron.ca>
1961Date:   Tue Sep 7 16:47:26 2010 -0400
1962
1963    config: add "Check for system library functions"
1964    
1965    Relocate the existing AC_CHECK_FUNCS statement.
1966    
1967    The functions are checked after the libraries checks to benefit
1968    from the $LIBS updated values.
1969    
1970    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1971    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1972
1973commit 28d6283c5bfa9a7d19635b95de26907987799e2b
1974Author: Gaetan Nadon <memsize@videotron.ca>
1975Date:   Wed Oct 20 15:35:51 2010 -0400
1976
1977    config: relocate headers, typedefs, and compiler characteristics
1978    
1979    Those checks are next following the "Check for system libraries" section.
1980    They are done before xorg specific configuration.
1981    
1982    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1983    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1984
1985commit 849a74c4146d1f1cb961026be2540b4a9970fa26
1986Author: Gaetan Nadon <memsize@videotron.ca>
1987Date:   Tue Sep 7 16:08:06 2010 -0400
1988
1989    config: add "Check for system libraries" section
1990    
1991    This section gathers all the system libraries needed for
1992    xdm features. They may be in standard C library on some
1993    platforms and in discrete libraries on others.
1994    
1995    Any xorg library is excluded from this section.
1996    XTRANS macros will be invoked at a later time and contribute
1997    additional libraries.
1998    
1999    Although a function is used to search for the library, this
2000    should not be confused with function checking (AC_CHECK_FUNC).
2001    
2002    Sample configuration output on GNU/Linux:
2003    checking for library containing getifaddrs... none required
2004    checking for library containing getspnam... none required
2005    checking for library containing setproctitle... no
2006    checking for library containing setusercontext... no
2007    checking for library containing arc4random... -lbsd
2008    checking for library containing crypt... -lcrypt
2009    
2010    In the Makefile, libs are pre-pended:
2011    LIBS = -lcrypt -lbsd
2012    
2013    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2015
2016commit 4455d61291b7662e652953ca326627104e0d5494
2017Author: Gaetan Nadon <memsize@videotron.ca>
2018Date:   Tue Sep 7 15:45:44 2010 -0400
2019
2020    config: relocate the "Check for programs section"
2021    
2022    Following the usual layout, programs are check before the xorg specifics start.
2023    
2024    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2025
2026commit 2ff31d55be7fb62aece1324ea14fed9cdac23789
2027Author: Gaetan Nadon <memsize@videotron.ca>
2028Date:   Tue Sep 7 15:38:15 2010 -0400
2029
2030    config: libtool: disable production of static libraries.
2031    
2032    Regroup libtool statements under the "Initialize" libtool section
2033    
2034    The greeter is only used as a shared library that is dynamically loaded.
2035    
2036    Alan Coopersmith wrote:
2037    "I don't think it's intended to be used as a shared library, but instead to
2038    allow sites to drop in their own greeter module for greater customization
2039    than allowed via just .Xresources."
2040    
2041    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2042
2043commit b4d166d8c4f8ebc28fcd4d6f24065951989d11b2
2044Author: Gaetan Nadon <memsize@videotron.ca>
2045Date:   Tue Sep 7 14:36:03 2010 -0400
2046
2047    config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
2048    
2049    Regroup AC statements under the Autoconf initialization section.
2050    Regroup AM sttaements under the Automake initialization section.
2051    Add missing AC_CONFIG_SRCDIR
2052    
2053    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2054
2055commit 75a285c2c7cd8c3567126dafbdc047d2bdac421c
2056Author: Gaetan Nadon <memsize@videotron.ca>
2057Date:   Tue Aug 31 17:25:02 2010 -0400
2058
2059    config: look for PAM support on darwin as well
2060    
2061    There is an assumption that PAM support is not available on darwin.
2062    A quick browse on the net indicates otherwise.
2063    
2064    For systems with PAM, if any, this authentication method will
2065    be used, as per original configuration intent.
2066    
2067    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2068
2069commit 22e7cc3458107662de736f9c82679d32197625bc
2070Author: Gaetan Nadon <memsize@videotron.ca>
2071Date:   Tue Aug 31 10:52:58 2010 -0400
2072
2073    config: remove unused OS_CFLAGS variable
2074    
2075    Now unused as a result of previous patches
2076    
2077    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2078    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2079
2080commit c76330b71a7d65620e411df7b327ad82bff97d90
2081Author: Gaetan Nadon <memsize@videotron.ca>
2082Date:   Mon Aug 30 19:51:24 2010 -0400
2083
2084    config: use AC_CHECK_HEADERS for sys/param.h
2085    
2086    This is the FreeBSD porting guide recommended
2087    method to check for BSD 4.3 Net2 or newer systems.
2088    
2089    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2090    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2091
2092commit 96380df139761274e03babf71b7cb6692acb847a
2093Author: Gaetan Nadon <memsize@videotron.ca>
2094Date:   Mon Aug 30 15:51:16 2010 -0400
2095
2096    config: definition of CSRG_BASED in configure.ac is flawed and redundant
2097    
2098    CSRG_BASED is defined in both the xserver using platform checks
2099    and in Xosdefs.h using compiler macros.
2100    
2101    The one from X11/Xosdefs.h will be used through already included headers:
2102    # if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) \
2103            || defined(__APPLE__) || defined(__DragonFly__)
2104    #  ifndef CSRG_BASED
2105    #   define CSRG_BASED
2106    #  endif
2107    # endif
2108    
2109    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2110    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2111
2112commit 1d4f032110924d90cb2302d5dcc241e961043a37
2113Author: Gaetan Nadon <memsize@videotron.ca>
2114Date:   Mon Aug 30 09:32:06 2010 -0400
2115
2116    config: remove unused define NO_LASTLOG for Darwin
2117    
2118    This is a leftover from commit 6ae3766444c62ee when sessreg
2119    was broken out so other display managers like gdm could use it
2120    without having to install all of xdm.
2121    
2122    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2123
2124commit 8b7999f8e0f797a593ac2f4697ba3be983b421ae
2125Author: Gaetan Nadon <memsize@videotron.ca>
2126Date:   Mon Aug 30 07:39:56 2010 -0400
2127
2128    config: use libtool -export-dynamic option for reverse dependencies
2129    
2130    This replaces -rdynamic which is a GNU/Linux only solution.
2131    
2132    "If symbols from your executable are needed to satisfy unresolved
2133    references in a library you want to dlopen you will have to use
2134    the flag -export-dynamic. You should use -export-dynamic while
2135    linking the executable that calls dlopen."
2136    
2137    It is used by the xserver, in Xdmx for example.
2138    
2139    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2140
2141commit 50c96170ad42321310c346cf412f9ae7e80ec2a7
2142Author: Gaetan Nadon <memsize@videotron.ca>
2143Date:   Sun Aug 29 19:56:59 2010 -0400
2144
2145    config: AC_LIBTOOL_DLOPEN is required for dynamic linking
2146    
2147    It adds the following tests in the configuration :
2148    checking for shl_load... no
2149    checking for shl_load in -ldld... no
2150    checking for dlopen... no
2151    checking for dlopen in -ldl... yes
2152    checking whether a program can dlopen itself... yes
2153    checking whether a statically linked program can dlopen itself... no
2154    
2155    This has not resulted in any compiler/linker flags change on
2156    a GNU/Linux platform.
2157    
2158    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2159
2160commit 5d79c0fad950ee6b83011a6c0242c9dc00c711a7
2161Author: Gaetan Nadon <memsize@videotron.ca>
2162Date:   Sun Aug 29 09:05:52 2010 -0400
2163
2164    config: remove AC_LIBTOOL_WIN32_DLL
2165    
2166    As of 2002, this is no longer required and is a no-op
2167    in libtool v 1.5 and higher.
2168    
2169    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2170    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2171
2172commit 0a90d3a5f580337e5d21eac4316b282e81bae68f
2173Author: Gaetan Nadon <memsize@videotron.ca>
2174Date:   Sun Aug 29 09:02:19 2010 -0400
2175
2176    remove AC_C_INLINE as all compilers support inline keyword.
2177    
2178    This macro is not used anywhere else in xorg.
2179    
2180    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2181    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2182
2183commit 4afafa90e79882b464b4aaee73826fb95136e7b5
2184Author: Gaetan Nadon <memsize@videotron.ca>
2185Date:   Sun Aug 29 09:00:45 2010 -0400
2186
2187    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
2188    
2189    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
2190    AC_PROG_C_C99. This sets gcc with -std=gnu99.
2191    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
2192    
2193    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2194    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2195
2196commit f56891b74f40df456e2e447745f70665d87d8596
2197Author: Gaetan Nadon <memsize@videotron.ca>
2198Date:   Sun Aug 29 08:58:48 2010 -0400
2199
2200    config: remove AC_PROG_INSTALL provided by XORG_DEFAULTS
2201    
2202    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2203    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2204
2205commit a0e103250ffa2d652fa4b2a6e8c719d54f616988
2206Author: Gaetan Nadon <memsize@videotron.ca>
2207Date:   Sun Aug 29 08:27:28 2010 -0400
2208
2209    greeter: transfer -DGREET_LIB from configure.ac to Makefile.am
2210    
2211    It does not depend on module configuration.
2212    It should not mixed with flags required by dependencies.
2213    
2214    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2215    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2216
2217commit 7e223d3ac6c0d549a7d6e4dcc86a053e19594028
2218Author: Gaetan Nadon <memsize@videotron.ca>
2219Date:   Sat Aug 28 20:11:28 2010 -0400
2220
2221    greeter: only build the shared library version
2222    
2223    There is no evidence that the static version is needed since monolith
2224    as hinted by the comment in configure.ac.
2225    
2226    The greeter code is now all managed by the greeter Makefile.
2227    The configure option enable-dynamic-greeter no longer needed.
2228    GREET_USER_STATIC is no longer needed.
2229    GREET_LIB is still needed in greet.h as it is compiled with
2230    both session.c for xdm execuatable and greeter shared lib.
2231    
2232    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2233    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2234
2235commit 674f08cbcbf9c4a29560e8b32e0335d9638b6868
2236Author: Gaetan Nadon <memsize@videotron.ca>
2237Date:   Sat Aug 28 19:43:03 2010 -0400
2238
2239    config: remove copying Chooser.ad to Chooser
2240    
2241    This was removed from all other apps with resources in app-defaults.
2242    The Chooser resource file is a file in git that gets installed
2243    and distributed.
2244    
2245    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2246    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2247
2248commit b8ca599af4a22c5cd1b2aaff203607fe8e5b99d4
2249Author: Gaetan Nadon <memsize@videotron.ca>
2250Date:   Mon Aug 23 07:02:44 2010 -0400
2251
2252    man: build man page using sed rather than the C preprocessor
2253    
2254    This fixes misalignments to correctly display \n and \ for sample file.
2255    No source code changes needed to fix that.
2256    
2257    Replace XCOMM IMakefile comment with #.
2258    
2259    Replace #if with:
2260    .if !'x.VARNAME'x.' .ig
2261    [man page text]
2262    ..
2263    
2264    If $(VARNAME) is empty, the man page text is shown
2265    If $(VARNAME) is not empty, the man page text is skipped
2266    
2267    Or replace #if with:
2268    .if 'VARNAME'' .ig
2269    [man page text]
2270    ..
2271    
2272    If $(VARNAME) is empty, the man page text is skipped
2273    If $(VARNAME) is not empty, the man page text is shown
2274    
2275    In DisplayManager.randomDevice, the default /dev/urandom is no longer
2276    displayed with double-quotes which is consistent with other
2277    default values. This was a cpp side-effect.
2278    
2279    Tested on Debian with groff and Solaris with nroff
2280    
2281    Co-authored-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2282    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2283
2284commit 86f354f0a970e2c39e65b44832aad6ad69f30dc5
2285Author: Gaetan Nadon <memsize@videotron.ca>
2286Date:   Sun Aug 22 17:47:39 2010 -0400
2287
2288    man: conditionally include DisplayManager.randomFile resource
2289    
2290    This resource follows the same pattern as prndSocket and prngPort.
2291    It is displayed to the user only if ARC4_RANDOM is not defined.
2292    It seems to be a simple omission in the man page.
2293    Refer to resource.c:
2294    
2295    char    *randomFile;
2296    char    *randomDevice;
2297    char    *prngdSocket;
2298    int     prngdPort;
2299    
2300    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2301    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2302
2303commit edbe0ce24ca9813fdff30c894c8174df188a1ae2
2304Author: Gaetan Nadon <memsize@videotron.ca>
2305Date:   Sun Aug 29 08:49:23 2010 -0400
2306
2307    config: upgrade to util-macros 1.8 for additional man page support
2308    
2309    Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
2310    The value of MAN_SUBST is the same for all X.Org packages.
2311    
2312    Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
2313    Use the appropriate platform version of sed
2314    
2315    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2316    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2317
2318commit d24f9406cf3d6560059a86394b4db98d22973556
2319Author: Gaetan Nadon <memsize@videotron.ca>
2320Date:   Thu Aug 26 12:11:27 2010 -0400
2321
2322    Fix whitespace issues as reported by git diff
2323    
2324    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2325    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2326
2327commit 275f45c5b28e426a594237d36f4c794784d71f28
2328Author: Gaetan Nadon <memsize@videotron.ca>
2329Date:   Mon Aug 23 14:06:42 2010 -0400
2330
2331    config: remove redundant entries added in .gitignore
2332    
2333    The m4 generated macros are included in the default section
2334    
2335    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2336
2337commit 8f85641ac03f4b55f8618edde94adcc43039bb20
2338Author: Gaetan Nadon <memsize@videotron.ca>
2339Date:   Sat Aug 21 10:20:18 2010 -0400
2340
2341    config: upgrade AC_DEFINE_DIR to AX_DEFINE_DIR
2342    
2343    Use the latest version now hosted by GNU.
2344    The renaming protects Autoconf namespace.
2345    There is no functional change in the macro.
2346    
2347    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2348
2349commit 0a4c314d4cfc79e8a48c6eafac01ba2762ff571a
2350Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2351Date:   Mon Apr 12 11:28:30 2010 -0700
2352
2353    Only install xdmshell if --enable-xdmshell is passed to configure
2354    
2355    As the xdmshell man page explains, it's used in uncommon configurations
2356    and is likely to need site-specific review/customization.
2357    
2358    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2359
2360commit 1da26b3c3128008315f83c3e47e21e66f2d40afe
2361Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2362Date:   Tue Mar 16 18:29:09 2010 -0700
2363
2364    Add man page for xdmshell
2365    
2366    Fixes:
2367     X.Org bug #7342 - http://bugs.freedesktop.org/show_bug.cgi?id=7342
2368     X Consortium bug #4559 (reported 30 Sep 1991)
2369    
2370    Text based on the X11R4 release notes description of xdmshell from:
2371            http://ftp.x.org/pub/X11R4/RELNOTES.txt
2372    
2373    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2374    Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
2375
2376commit 5cf2a248f30e309cda6f0ae26a863bf3f5521fbe
2377Author: Julien Cristau <jcristau@debian.org>
2378Date:   Sat May 1 19:46:53 2010 +0200
2379
2380    configure: fix SELinux check to not use XDM_LIBS
2381    
2382    XDM_LIBS is set by pkg-config, so we don't want to set it here.
2383    
2384    Debian bug#556694 <http://bugs.debian.org/556694>
2385    
2386    Signed-off-by: Julien Cristau <jcristau@debian.org>
2387
2388commit 5201ce6666f2aac60960e77857664cefa65c318c
2389Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2390Date:   Mon Apr 12 17:05:46 2010 -0700
2391
2392    s/Sun/Oracle/g
2393    
2394    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2395
2396commit ca19bcccc4e39f5499945edb5a1f177159867bbc
2397Author: Alan Coopersmith <alan.coopersmith@sun.com>
2398Date:   Tue Mar 16 16:56:56 2010 -0700
2399
2400    Check for allowRootLogin on PAM and non-OpenBSD passwd authentication backends
2401    
2402    http://bugs.freedesktop.org/show_bug.cgi?id=25112
2403    
2404    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2405
2406commit 2eb565827568f619b28fdaf2b75cb5bca0586a45
2407Author: Julien Cristau <jcristau@debian.org>
2408Date:   Sat Apr 10 15:53:31 2010 +0200
2409
2410    Delete empty comment in Xresources.cpp
2411
2412commit 7006d5c582e382660437a64b749822116823ecee
2413Author: Julien Cristau <jcristau@debian.org>
2414Date:   Sat Apr 10 03:48:05 2010 +0200
2415
2416    Bump to 1.1.10
2417
2418commit 7c4c0592aca80cc8affe4e94d2742caa754d5be3
2419Author: Julien Cristau <jcristau@debian.org>
2420Date:   Sun Apr 4 19:20:39 2010 +0200
2421
2422    Add missing brace in previous commit
2423    
2424    Thanks to cjb and tinderbox.
2425    
2426    Signed-off-by: Julien Cristau <jcristau@debian.org>
2427
2428commit 8eb897bb980dd6ce3f8ade517a8a39023a477743
2429Author: Julien Cristau <jcristau@debian.org>
2430Date:   Tue Mar 23 19:40:49 2010 +0100
2431
2432    xdmcp: disable IPV6_V6ONLY for ipv6 listening sockets
2433    
2434    This allows ipv4 connections mapped to ipv6, in case the system default
2435    is backwards.
2436    
2437    Signed-off-by: Julien Cristau <jcristau@debian.org>
2438    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2439
2440commit 3a4f890fa9466ed27d49ce97adbcad30b840d3d4
2441Author: Julien Cristau <jcristau@debian.org>
2442Date:   Tue Mar 23 19:40:48 2010 +0100
2443
2444    Don't remove the pid file from xdm child processes
2445    
2446    The parent xdm process registers RemovePid with atexit(), which means
2447    that any child exit would trigger the (wrong) removal of the pidfile.
2448    So in RemovePid, don't do anything if we're not the parent xdm process.
2449    
2450    Signed-off-by: Julien Cristau <jcristau@debian.org>
2451    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2452
2453commit 931c98390274a9e0c62c41c5e9ceed6681e7a9b7
2454Author: Gaetan Nadon <memsize@videotron.ca>
2455Date:   Sat Mar 13 15:19:37 2010 -0500
2456
2457    lint: option -rdynamic is not valid for the lint program
2458    
2459    Use xdm_LIBS instead. Tested on Solaris.
2460    
2461    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2462
2463commit 34b9c0e02bc2d36da2c8c5ee468b2a2d63914610
2464Author: Alan Coopersmith <alan.coopersmith@sun.com>
2465Date:   Tue Mar 16 16:33:48 2010 -0700
2466
2467    Reject PAM conversation calls after login dialog is closed
2468    
2469    Based on patch suggested by Bjoern A. Zeeb <bzeeb+patch@zabbadoz.net>
2470    to fix http://bugs.freedesktop.org/show_bug.cgi?id=10522
2471    
2472    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2473
2474commit afc752d1c483e77de9aa3cb9532a67d95fd27dd9
2475Author: Alan Coopersmith <alan.coopersmith@sun.com>
2476Date:   Tue Mar 16 11:23:30 2010 -0700
2477
2478    Make sure username is not NULL when calling syslog from FailedLogin()
2479    
2480    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2481
2482commit 0f18bdfa7fcfe100e487f4c9f91ae37a125ef0f0
2483Author: Johannes Dewender <xorg@JonnyJD.net>
2484Date:   Fri Nov 13 21:28:23 2009 +0100
2485
2486    Bug #25066: exec sessreg
2487    
2488    Sessreg saves the pid of the calling process in utmp.
2489    If this process is terminated the session is implicitly deleted.
2490    Xstartup is called and the process id is gone right when
2491    the script is done so the session is closed right away.
2492    Using "exec" will save the pid of the master process of this login.
2493    
2494    Signed-off-by: Johannes Dewender <xorg@JonnyJD.net>
2495    Tested-by: Johannes Dewender <xorg@JonnyJD.net>
2496    Acked-by: Julien Cristau <jcristau@debian.org>
2497    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2498
2499commit c9cdd56df50f280e90ba95cfa933222f94ad2677
2500Author: Alan Coopersmith <alan.coopersmith@sun.com>
2501Date:   Mon Mar 15 23:34:04 2010 -0700
2502
2503    Move m4 macros to m4 subdir as automake/libtool recommend
2504    
2505    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2506
2507commit b9226288b96f0c5988d2c2f52718674d39803a5e
2508Author: Alan Coopersmith <alan.coopersmith@sun.com>
2509Date:   Mon Mar 15 23:21:30 2010 -0700
2510
2511    Replace hardcoded NAMELEN of 14 for ancient SysV with MAXNAMELEN
2512    
2513    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2514
2515commit af916ebc97a3bd6208f1376e52a4310099b48622
2516Author: Alan Coopersmith <alan.coopersmith@sun.com>
2517Date:   Mon Mar 15 18:12:05 2010 -0700
2518
2519    echo_passwd should key off PAM no-echo state, not prompt position
2520    
2521    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2522
2523commit dd9dc06055e16cd72ff34c2caea22a6627803fa5
2524Author: Georgy A. Shepelev <gerik@super-komputer6-44.ultra>
2525Date:   Wed Dec 9 09:34:02 2009 +0300
2526
2527    xdm: add documentation of the "EchoPasswd" option to the man page
2528    
2529    Signed-off-by: Georgy A. Shepelev <shepelev.georgy@googlemail.com>
2530
2531commit 7437298deab265b7669043d4a470a684201f5f3c
2532Author: Georgy A. Shepelev <gerik@k24a.ulsu.ru>
2533Date:   Wed Dec 9 12:18:50 2009 +0300
2534
2535    Adding an option to show stars instead of the password itself.
2536    
2537    The behaviour can be controlled via 'xlogin*echoPasswd' option
2538    in Xresource file. The default option value is 'false'.
2539    
2540    Signed-off-by: Georgy A. Shepelev <shepelev.georgy@googlemail.com>
2541    Tested-by: Georgy A. Shepelev <shepelev.georgy@googlemail.com>
2542    
2543    [Reformatted to match existing code style by Alan Coopersmith]
2544    
2545    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2546
2547commit 34d120f31347697886a419411d9d4d825874f3f0
2548Author: Alan Coopersmith <alan.coopersmith@sun.com>
2549Date:   Fri Jan 15 13:23:24 2010 -0800
2550
2551    Update Sun license notices to current X.Org standard form
2552    
2553    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2554
2555commit 504bb1aee60d570d8676a61acbe32c66d6069c45
2556Author: Dmitry V. Levin <ldv@altlinux.org>
2557Date:   Tue Jan 12 14:38:33 2010 +0000
2558
2559    greeter: fix logging of failed login attempts
2560    
2561    When PAM rejects a login attempt, the "username" variable remains
2562    uninitialized, which results to garbage being syslogged instead of
2563    login name.  Explicit initialization helps to avoid this issue.
2564    
2565    Fixes FreeDesktop Bug #26015 <https://bugs.freedesktop.org/show_bug.cgi?id=26015>
2566    
2567    Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2568    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2569
2570commit 7d8b4c16d9307f9fa984da7ac5cc00cb945cac09
2571Author: Alan Coopersmith <alan.coopersmith@sun.com>
2572Date:   Tue Jan 12 10:46:38 2010 -0800
2573
2574    Raise xorg-macros requirement to 1.4
2575    
2576    Needed since the changes in a4a8f7b83afc9a46bc989c0eeb528a46b3a1db5d
2577    depend on the INSTALL file delivered in xorg-macros 1.4
2578    
2579    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2580
2581commit b69f12706abc728e9c16449f52f02ae0d3a0ee62
2582Author: Alan Coopersmith <alan.coopersmith@sun.com>
2583Date:   Tue Jan 12 10:24:34 2010 -0800
2584
2585    Remove workaround for X11R3 server bug
2586    
2587    The comment promised 'compatibility until at least R4', so we're 20 years
2588    past due for removing this.
2589    
2590    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2591    Reviewed-by: Julien Cristau <jcristau@debian.org>
2592
2593commit c925709069d7515bb94f43e4b88155a95e41c8fe
2594Author: Branden Robinson <branden@debian.org>
2595Date:   Mon Nov 18 04:24:48 2002 -0500
2596
2597    rewrite StorePid()
2598    
2599    Update StorePid() function to use Matthieu Herrb's changes that refuse
2600    to open an existing pid file, and take more care with the size of the
2601    Pid_t type.
2602    
2603    Matthieu Herrb rewrote the StorePid() function based on my changes; he
2604    made it more careful with the size of Pid_t, and treats an existing pid
2605    file as a failure.  I then made some more changes: use _SysErrorMsg()
2606    instead of strerror(), and don't assume that the process id we write to
2607    the pidFile is 5 digits.
2608    
2609    Forward-ported by David Nusinow, Eugene Konev and Julien Cristau.
2610    
2611    Signed-off-by: Julien Cristau <jcristau@debian.org>
2612    Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
2613    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2614
2615commit 6d393844dca10823f85d1ac797879fc6e00eae59
2616Author: Manoj Srivastava <srivasta@golden-gryphon.com>
2617Date:   Tue Jan 5 16:40:21 2010 +0000
2618
2619    xdm: add SELinux support
2620    
2621    Initial patch submitted in Debian bug#233551.
2622    Forward-ported to modular X by Eugene Konev (changes: remove Imakefile hunks,
2623    add --with-selinux flag to configure.ac).
2624    Updated to latest SE Linux code by Russell Coker 3rd Aug 2008, with bugfix from
2625    Julien Cristau (Debian bug#493524).
2626    
2627    Signed-off-by: Julien Cristau <jcristau@debian.org>
2628    Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
2629    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2630
2631commit 90c2cc57cdf911cec2eec185f357868209212c79
2632Author: Branden Robinson <branden@debian.org>
2633Date:   Tue Jan 5 16:40:21 2010 +0000
2634
2635    Improve logging of xdm's script handling
2636    
2637    * Make execution of the session program an informational log message (with
2638      LogInfo()), not a Debug() message.
2639    * Ensure that source()d scripts (Xreset, Xsetup, Xstartup) can be
2640      fopen()ed before invoking runAndWait() on them.  If they can, LogInfo()
2641      the fact.  If they cannot, LogInfo() that, too, and use _SysErrorMsg() to
2642      report why fopen() failed.
2643    * Make source() complain using Debug() when it is given a null pointer in
2644      its file argument.
2645    * For clarity, make source() return from only one location.
2646    
2647    Also see Debian bug #219311.
2648    
2649    Forward ported by Eugene Konev.
2650    
2651    Signed-off-by: Julien Cristau <jcristau@debian.org>
2652    Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
2653    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2654
2655commit 5222d28e8d8e5b4cc705f1a637aace405ad32bd5
2656Author: Branden Robinson <branden@debian.org>
2657Date:   Tue Jan 5 16:40:21 2010 +0000
2658
2659    improve error logging
2660    
2661    Make several LogError() and Debug() messages more informative.
2662    Change LogError() invocations to use _SysErrorMsg() where errno might be set
2663    (and not clobbered by intermediate calls).  Also make LogError() the first
2664    thing we do after an error condition in those cases.
2665    
2666    Forward-ported by Julien Cristau <jcristau@debian.org>.
2667    
2668    Signed-off-by: Julien Cristau <jcristau@debian.org>
2669    Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
2670    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2671
2672commit 17105faffcb4533da71f0d3d17fd40a64b6faf50
2673Author: Branden Robinson <branden@debian.org>
2674Date:   Tue Jan 5 16:40:21 2010 +0000
2675
2676    Always attempt to write data to the auth file
2677    
2678    Actually attempt to write data to the auth file in SaveServerAuthorizations();
2679    that way we detect problems like ENOSPC (full filesystem, user over quota)
2680    early enough to do something about it.  (See Debian #217505, #253480)
2681    
2682    Forward-ported by Julien Cristau <jcristau@debian.org>.
2683    
2684    Signed-off-by: Julien Cristau <jcristau@debian.org>
2685    Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
2686    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2687
2688commit 11d6aa0b392daef2900681b70960d8be4ada89a9
2689Author: Branden Robinson <branden@debian.org>
2690Date:   Tue Jan 5 16:40:21 2010 +0000
2691
2692    Change openFiles() to avoid race-based symlink attacks.
2693    
2694    Forward-ported by Julien Cristau <jcristau@debian.org>.
2695    
2696    Signed-off-by: Julien Cristau <jcristau@debian.org>
2697    Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
2698    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2699
2700commit cd6b6d5f78e92725d6466d138f5441d791e58212
2701Author: Branden Robinson <branden@debian.org>
2702Date:   Tue Jan 5 16:40:21 2010 +0000
2703
2704    downgrade an error to info message
2705    
2706    During normal xdm shutdown, killed local X servers
2707    can be zombies; this is not an error.
2708    
2709    Forward-ported by David Nusinow, Eugene Konev and Julien Cristau
2710    
2711    Signed-off-by: Julien Cristau <jcristau@debian.org>
2712    Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
2713    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2714
2715commit ecf015a4e78b96af913c1620d542c8e356f2a3d0
2716Author: Dmitry V. Levin <ldv@altlinux.org>
2717Date:   Mon Jan 11 23:09:47 2010 +0000
2718
2719    Call openlog(3) early
2720    
2721    Before this change, openlog(3) used to be called by greeter which could
2722    be built as a dynamically loadable plugin.  In the latter case, the
2723    ident string passed to openlog(3) resides in a dynamically mapped
2724    memory region that is unmapped later when the plugin is unloaded.
2725    This can cause fatal problems in some environments.  For example, in
2726    any GNU/Linux system with PAM support enabled an implicit syslog(3)
2727    call made by a PAM module after plugin unload causes attempt to access
2728    already unmapped memory, followed by instant crash.
2729    
2730    It is a common practice to call openlog(3) before the first syslog(3)
2731    call, including implicit calls that could be made e.g. by PAM.
2732    Also, openlog(3) LOG_ODELAY flag is redundant.
2733    
2734    Fixes ALT Linux Bug #22362 <https://bugzilla.altlinux.org/show_bug.cgi?id=22362>
2735    Fixes FreeDesktop Bug #24589 <https://bugs.freedesktop.org/show_bug.cgi?id=24589>
2736    
2737    Reported-by: Martin Mokrejš <mmokrejs@ribosome.natur.cuni.cz>
2738    Reported-by: Denis Kirienko <dk@altlinux.org>
2739    Patch-by: Oleg Zenin <tt@compas.ihep.su>
2740    Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2741    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2742
2743commit 9142a99cedc99277319e56f132077c1263e1eea8
2744Author: Gaetan Nadon <memsize@videotron.ca>
2745Date:   Sat Dec 19 20:48:47 2009 -0500
2746
2747    configure.ac: use backticks rather than $() for cmd subs
2748    
2749    Use "$PKG_CONFIG" rather than hard coded "pkg-config"
2750    
2751    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2752
2753commit 989d892443b9d6e52313bf6f4a8606f8749e218d
2754Author: Christoph Bartoschek <bartoschek@or.uni-bonn.de>
2755Date:   Mon Nov 30 13:34:30 2009 +0100
2756
2757    XDM: Add support for clients that sent ipv4 addresses to a dual-stacked host
2758    
2759    If a client sends an ipv4 address to a dual-stacked xdm that is bound to a ipv6
2760    socket in a forward request, then the packet was silently discarded. Now the
2761    address is encapsulated as a ipv4-mapped address and a response is send back.
2762    
2763    Signed-off-by: Adam Jackson <ajax@redhat.com>
2764
2765commit bad944beb34a988a12a9e18a2f4c42dc59a916a5
2766Author: Gaetan Nadon <memsize@videotron.ca>
2767Date:   Sun Nov 29 10:54:01 2009 -0500
2768
2769    configure.ac: restore correct order for XORG_DEFAULT_OPTIONS
2770    
2771    It must be following AC_USE_SYSTEM_EXTENSION
2772
2773commit a9ca4d452326b0dafbf1b6f828b53fd0ddd43168
2774Author: Gaetan Nadon <memsize@videotron.ca>
2775Date:   Thu Nov 26 09:19:53 2009 -0500
2776
2777    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
2778    
2779    Now that the INSTALL file is generated.
2780    Allows running make maintainer-clean.
2781
2782commit a4a8f7b83afc9a46bc989c0eeb528a46b3a1db5d
2783Author: Gaetan Nadon <memsize@videotron.ca>
2784Date:   Wed Oct 28 14:09:08 2009 -0400
2785
2786    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
2787    
2788    Add missing INSTALL file. Use standard GNU file on building tarball
2789    README may have been updated
2790    Remove AUTHORS file as it is empty and no content available yet.
2791    Remove NEWS file as it is empty and no content available yet.
2792
2793commit 2d4c65a3e62c00e7907dc3f8929cbf8989fc783d
2794Author: Gaetan Nadon <memsize@videotron.ca>
2795Date:   Tue Oct 27 15:07:24 2009 -0400
2796
2797    Deploy the new XORG_DEFAULT_OPTIONS #24242
2798    
2799    This macro aggregate a number of existing macros that sets commmon
2800    X.Org components configuration options. It shields the configuration file from
2801    future changes.
2802
2803commit f33e95d44bd378a4a7632f6b591e21b23a861486
2804Author: Gaetan Nadon <memsize@videotron.ca>
2805Date:   Mon Oct 26 22:08:38 2009 -0400
2806
2807    Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
2808    
2809    ChangeLog filename is known to Automake and requires no further
2810    coding in the makefile.
2811
2812commit 8c251b945f57923a37a34219589ac31227ab65df
2813Author: Gaetan Nadon <memsize@videotron.ca>
2814Date:   Thu Oct 22 15:47:23 2009 -0400
2815
2816    .gitignore: use common defaults with custom section # 24239
2817    
2818    Using common defaults will reduce errors and maintenance.
2819    Only the very small or inexistent custom section need periodic maintenance
2820    when the structure of the component changes. Do not edit defaults.
2821
2822commit 4de08979f8a77f895919145aa8f5db1b90853537
2823Author: Alan Coopersmith <alan.coopersmith@sun.com>
2824Date:   Thu Sep 24 13:54:40 2009 -0700
2825
2826    Correct default greeterLib path in man page
2827    
2828    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2829
2830commit 1ce3159739800fd7a93d51a378d7dbb3e0b755a5
2831Author: Martin Dickopp <martin@zero-based.org>
2832Date:   Tue Sep 22 20:16:37 2009 -0700
2833
2834    Debian bug 525596: "Login incorrect" only partially cleared on next login
2835    
2836    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525596
2837    
2838    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2839
2840commit 61f5e8ee407d361bc10d704ab67a828c54678bfa
2841Author: Georgy A. Shepelev <gerik@super-komputer6-44.ultra>
2842Date:   Tue Sep 22 16:58:40 2009 +0400
2843
2844    The whole widget borders width could not be set to zero.
2845    
2846    Signed-off-by: Georgy A. Shepelev <shepelev.georgy@googlemail.com>
2847    Tested-by: Georgy A. Shepelev <shepelev.georgy@googlemail.com>
2848    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2849
2850commit 748cfcc771c7f599d8087c7aa044bc5ff770da1d
2851Author: Alan Coopersmith <alan.coopersmith@sun.com>
2852Date:   Tue Sep 22 13:42:31 2009 -0700
2853
2854    Make parent authdir if needed at startup
2855    
2856    Allows setting authdir to /var/run/xdm
2857    
2858    Also refactor directory creation code for less duplication
2859    
2860    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2861
2862commit 619af82effb9125c904d34c9fbc4bf93385d7b9e
2863Author: Alan Coopersmith <alan.coopersmith@sun.com>
2864Date:   Tue Sep 22 13:41:38 2009 -0700
2865
2866    Create piddir if needed on startup
2867    
2868    Allows setting piddir to /var/run/xdm/
2869    
2870    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2871
2872commit 6061722888eab858888dac2499194393299872e4
2873Author: Alan Coopersmith <alan.coopersmith@sun.com>
2874Date:   Fri Sep 18 15:31:50 2009 -0700
2875
2876    Version bump: 1.1.9
2877    
2878    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2879
2880commit c058aa698b6ddddd4c11608ca412b73d1ffd78d2
2881Author: Alan Coopersmith <alan.coopersmith@sun.com>
2882Date:   Thu Sep 17 19:41:10 2009 -0700
2883
2884    Fill in COPYING file
2885    
2886    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2887
2888commit 3a87227bb357ac9523f853fca84ebde3129e2f05
2889Author: Alan Coopersmith <alan.coopersmith@sun.com>
2890Date:   Thu Sep 17 19:11:52 2009 -0700
2891
2892    Log errors when failing to make authentication dirs/files
2893    
2894    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2895
2896commit da3cfcdd197bd900633c563412685315316804f4
2897Author: Alan Coopersmith <alan.coopersmith@sun.com>
2898Date:   Thu Sep 17 18:33:54 2009 -0700
2899
2900    Refactor & constify error logging code
2901    
2902    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2903
2904commit a7e166298a94c012420713dbfcd0b1628f5c7062
2905Author: Alan Coopersmith <alan.coopersmith@sun.com>
2906Date:   Thu Sep 17 18:08:06 2009 -0700
2907
2908    Unrecognized argument errors shouldn't print xdm error header repeatedly
2909    
2910    Add LogAppend function to append to previous LogError/LogInfo without
2911    repeating the xdm error message header.
2912    
2913    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2914
2915commit e60cf4a084951e697516a6c26dcb5ad14e6f14b8
2916Author: Alan Coopersmith <alan.coopersmith@sun.com>
2917Date:   Fri Sep 11 10:40:05 2009 -0700
2918
2919    Replace -D_XOPEN_SOURCE & -D_BSD_SOURCE with AC_USE_SYSTEM_EXTENSIONS
2920    
2921    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2922    Acked-by: Julien Cristau <jcristau@debian.org>
2923
2924commit 69fc0647bed461a19cf99f4d362a44df8c18de38
2925Author: Alan Coopersmith <alan.coopersmith@sun.com>
2926Date:   Fri Sep 11 09:15:31 2009 -0700
2927
2928    Add support for AM_SILENT_RULES for building files with cpp
2929    
2930    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2931
2932commit 3d51edf9d96f8adcb6f2ab50f4960aa9ecc76afe
2933Author: Alan Coopersmith <alan.coopersmith@sun.com>
2934Date:   Fri Sep 11 08:31:55 2009 -0700
2935
2936    Update to using xorg-macros 1.3, including XORG_DEFAULT_OPTIONS
2937    
2938    Also move CWARNFLAGS addition to CFLAGS from configure.ac to Makefile.am's
2939    
2940    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2941
2942commit a57a7be5962f6f9536ab97751b177575a4884bd0
2943Author: Alan Coopersmith <alan.coopersmith@sun.com>
2944Date:   Tue Aug 18 21:03:54 2009 -0700
2945
2946    Treat all 127.0.0.0/8 addresses as localhost
2947    
2948    Similar fix to http://bugs.freedesktop.org/show_bug.cgi?id=23329
2949    
2950    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2951
2952commit a9040b281062ddabcfb2cfdfc37e431b047531b2
2953Author: Alan Coopersmith <alan.coopersmith@sun.com>
2954Date:   Wed Jul 29 11:16:29 2009 -0700
2955
2956    Set utmp/wtmp paths via configure instead of hardcoding them
2957    
2958    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2959
2960commit cafa4376f4761c2d565b2c1deeb7dbfb553d7045
2961Author: Alan Coopersmith <alan.coopersmith@sun.com>
2962Date:   Tue Jul 28 14:31:52 2009 -0700
2963
2964    Truncate pid file before writing new pid to it
2965    
2966    Prevents trailing garbage in the file if the new pid has fewer digits
2967    than the previous pid.
2968    
2969    (Originally reported against Solaris dtlogin as Sun bug 6627150)
2970    
2971    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2972
2973commit 500775eb145372c5dcbc6e9814858d01730900c7
2974Author: Alan Coopersmith <alan.coopersmith@sun.com>
2975Date:   Tue Jul 28 12:58:58 2009 -0700
2976
2977    Continue processing Xaccess after unresolvable host entry found
2978    
2979    If there is an unresolvable host entry in Xaccess file, XDMCP access from
2980    the hosts whose entries are specified after the unresolvable host in Xaccess
2981    were rejected.
2982    
2983    (Originally reported against dtlogin as Solaris bug 6259901.)
2984    
2985    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2986
2987commit 58021c21c28fdb4949d44aa92e68874155842ccc
2988Author: Alan Coopersmith <alan.coopersmith@sun.com>
2989Date:   Tue Jul 28 08:36:10 2009 -0700
2990
2991    Do a better job of getting user name for failed login log when using PAM
2992    
2993    Check to see if username is filled in before calling FailedError, and
2994    fill it in if it's not.
2995    
2996    Call FailedError before calling pam_end, so we don't reference a username
2997    that may have been freed already.
2998    
2999    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3000
3001commit a3f1f5f5b8b3a070de6d9510f588b39f5ebcc0fc
3002Author: Jeff Chua <jeff.chua.linux@gmail.com>
3003Date:   Mon Jul 20 22:21:46 2009 +0800
3004
3005    xdm compile failed due to asprintf()
3006    
3007    xdm no longer compiles due to recent commit
3008    56a14b8a1f4d3aa883485b794c818581b8f07cd8 that changed to use asprintf().
3009    There is an additional right-bracket that causes the problem.
3010    
3011    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3012
3013commit 2f5bd6ea016a6405208c91c976a16a672cc04184
3014Author: Branden Robinson <branden@debian.org>
3015Date:   Fri Jul 17 23:07:39 2009 -0700
3016
3017    Add RemovePid() function, and register it with atexit()
3018    
3019    Debian bug#213076
3020    
3021    Forward-ported by David Nusinow, Eugene Konev and Julien Cristau.
3022
3023commit ec3152fbba9ee39bbb069913e76e9d165001f98a
3024Author: Branden Robinson <branden@debian.org>
3025Date:   Fri Jul 17 23:06:46 2009 -0700
3026
3027    Use xdm's _SysErrorMsg() function instead of strerror()
3028
3029commit 18f286641afbe1d3b61abd31d93c0ae8acb375e9
3030Author: Branden Robinson <branden@debian.org>
3031Date:   Fri Jul 17 22:51:04 2009 -0700
3032
3033    Use _SysErrorMsg() in the log message in various error conditions.
3034    
3035    Change LogError() invocations to use _SysErrorMsg() where errno might be
3036    set (and not clobbered by intermediate calls).  Also make LogError() the
3037    first thing we do after an error condition in those cases.
3038    
3039    Forward-ported by David Nusinow, Eugene Konev and Julien Cristau.
3040    
3041    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3042
3043commit 8d15af786d96bb70aceca116a588c2a4b7c45d63
3044Author: Branden Robinson <branden@debian.org>
3045Date:   Fri Jul 17 22:42:40 2009 -0700
3046
3047    Use xdm's _SysErrorMsg() function instead of merely printing errno
3048
3049commit d6faa3c02a6f61c8d01accd0fcead28c39673e32
3050Author: Branden Robinson <branden@debian.org>
3051Date:   Fri Jul 17 22:42:08 2009 -0700
3052
3053    session.c: Add more debugging to execute()
3054    
3055    [jcristau@debian.org: save errno before calling Debug() in one place]
3056
3057commit 2d6d2f121bffb378676f422b44d37534c8c5d53b
3058Author: Branden Robinson <branden@debian.org>
3059Date:   Fri Jul 17 22:41:31 2009 -0700
3060
3061    Add some more log and debug messages
3062    
3063    Add log messages for xdm startup, shutdown, and normal exit.  Add a
3064    debugging message when xdm enters its main loop.
3065
3066commit 72240433a85410e68a3b6705e097337ff985ae90
3067Author: Julien Cristau <jcristau@debian.org>
3068Date:   Wed Aug 20 01:30:59 2008 +0200
3069
3070    Call InitErrorLog() right after BecomeDaemon()
3071    
3072    The latter points stderr to /dev/null, so the sooner we open the log
3073    after that, the better.
3074
3075commit 6dfbdf2823dc50c6b0ff24afbc58c67dc1651bef
3076Author: Branden Robinson <branden@debian.org>
3077Date:   Fri Jul 17 22:33:55 2009 -0700
3078
3079    spelling fix
3080
3081commit 195a991ef5e5d578d3499a5496d064d1b9b1dc7f
3082Author: Alan Coopersmith <alan.coopersmith@sun.com>
3083Date:   Fri Jul 17 22:29:26 2009 -0700
3084
3085    Clarify comment/#ifdefs for USE_SIOCGLIFCONF
3086    
3087    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3088
3089commit 6770509fa149cf8bc148e2ed3c8e11e0b83a4ee1
3090Author: Alan Coopersmith <alan.coopersmith@sun.com>
3091Date:   Fri Jul 17 22:21:25 2009 -0700
3092
3093    Remove #ifdef Lynx blocks
3094    
3095    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3096
3097commit 3beb4d278caa281ea8ebad55ae2f45ea0d46a6e6
3098Author: Alan Coopersmith <alan.coopersmith@sun.com>
3099Date:   Fri Jul 17 22:14:42 2009 -0700
3100
3101    Use imdent to show cpp macro nesting more clearly
3102    
3103    Also strip trailing whitespace to make git happier.
3104    While many lines are changes, "git diff -w" shows no changes other
3105    than pure whitespace.
3106    
3107    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3108
3109commit b80b263f964031b1edef0a5e0a77a6615dc4be82
3110Author: Alan Coopersmith <alan.coopersmith@sun.com>
3111Date:   Fri Jul 17 21:58:11 2009 -0700
3112
3113    Delete old A/UX (#ifdef macII) code
3114    
3115    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3116
3117commit 70b7a9a7a83b042f46abd50bbe21b0522a0dd9a5
3118Author: Alan Coopersmith <alan.coopersmith@sun.com>
3119Date:   Fri Jul 17 21:46:46 2009 -0700
3120
3121    malloc(strlen()); strcpy() -> strdup()
3122    
3123    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3124
3125commit 7221da99593ee2fe1943250523965b70d59dbf56
3126Author: Alan Coopersmith <alan.coopersmith@sun.com>
3127Date:   Fri Jul 17 21:17:36 2009 -0700
3128
3129    Documentation improvements
3130    
3131    - Remove references to setting build-time defaults via Imake configuration
3132    - Show actual default $PATH & authDir settings in man page
3133    - Whitespace & minor formatting fixes in man page
3134    - Update man page info on multicast addresses from RFC 2373 to RFC 4291
3135    - Add notes on mailing list, git repo, and patches to README
3136    
3137    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3138
3139commit 0c57a398cef50d13a821ad341ffb15ab0cbd2bad
3140Author: Matěj Cepl <mcepl@redhat.com>
3141Date:   Fri Jul 17 20:59:48 2009 -0700
3142
3143    Add variable DisplayManager.authDir to xdm-config (Fedora bug 388431)
3144    
3145    Fedora patch xdm-1.1.6-authDir-var-bug388431.patch
3146    
3147    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3148
3149commit 56a14b8a1f4d3aa883485b794c818581b8f07cd8
3150Author: Alan Coopersmith <alan.coopersmith@sun.com>
3151Date:   Fri Jul 17 20:37:51 2009 -0700
3152
3153    sprintf -> snprintf/asprintf conversions
3154    
3155    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3156
3157commit a74131c41c63cbe5861b9550dfa7a921ec601c87
3158Author: Alan Coopersmith <alan.coopersmith@sun.com>
3159Date:   Fri Jul 17 18:34:19 2009 -0700
3160
3161    Remove OS/2's duplicate copy of default path definitions in resource.c
3162    
3163    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3164
3165commit 8463017f7de43fe0a8ec144faca6bbf43168ebf9
3166Author: Alan Coopersmith <alan.coopersmith@sun.com>
3167Date:   Fri Jul 17 15:19:40 2009 -0700
3168
3169    Replace FORCE_CURSOR_FLASH code with simpler cursor update for passwd field
3170    
3171    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3172
3173commit 36fc6f22a529b2e9fc8dadfe944a10d54f4d3654
3174Author: Alan Coopersmith <alan.coopersmith@sun.com>
3175Date:   Thu Jul 16 19:35:24 2009 -0700
3176
3177    Move xdmcp ARRAY initializators to declarations
3178    
3179    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3180
3181commit 1e23dd0d37c276eea9c883270076926f5a2fee3f
3182Author: Alan Coopersmith <alan.coopersmith@sun.com>
3183Date:   Thu Jul 16 19:10:30 2009 -0700
3184
3185    Remove RCS Ids
3186    
3187    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3188
3189commit b21117d4eaaa7b5886c139f06b8acae9890448c2
3190Author: Alan Coopersmith <alan.coopersmith@sun.com>
3191Date:   Tue May 19 01:33:41 2009 -0700
3192
3193    Update AC_DEFINE_DIR to latest version from Autoconf Archive
3194
3195commit 332bd687a265642d17109eafb2d183887a53d739
3196Author: Matthieu Herrb <matthieu.herrb@laas.fr>
3197Date:   Fri Jan 30 22:48:17 2009 +0100
3198
3199    getLocalAddress(): return 127.0.0.1 if the hostname doesn't resolve.
3200    
3201    This code already does this if IPv6 support is compiled in. It
3202    was dereferencing a NULL pointer in the IPv4 only case.
3203
3204commit a4f47b755ae85bf3e35a3376fcf44ace67c38767
3205Author: Matthieu Herrb <matthieu.herrb@laas.fr>
3206Date:   Fri Jan 30 10:44:01 2009 +0100
3207
3208    Remove RCS Id and put some comment here.
3209
3210commit 7a44f525570af2e1d24893635c85cd86091c5503
3211Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
3212Date:   Tue Jan 20 16:08:34 2009 -0200
3213
3214    Ansification and compile warning fixes.
3215    
3216      This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects
3217    make distcheck and most gcc 4.3 and sparse warnings. Remaining
3218    warning is due to passing read or write as function pointers in
3219    the format ssize_t (*)(int, void *, size_t), as it is const for
3220    write, but not for read.
3221
3222commit b4dc9afe20ab9c4ddec29a7357e147258e34bb67
3223Author: Julien Cristau <jcristau@debian.org>
3224Date:   Mon Mar 10 17:51:15 2008 +0100
3225
3226    Add support for syslog on more than openbsd.
3227    
3228    Also use LOG_AUTHPRIV by default, if that exists.
3229
3230commit 4fbd4bfcca12a91dacb25fb08a6a3b07822b5845
3231Author: James Cloos <cloos@jhcloos.com>
3232Date:   Wed Aug 20 10:32:50 2008 -0400
3233
3234    xaw8 is gone, use xaw7
3235
3236commit b73d0c91d32bf0aa60aa5ce2bbbd4468ce21a445
3237Author: David Sainty <David.Sainty@dtsp.co.nz>
3238Date:   Mon Aug 4 19:06:43 2008 -0700
3239
3240    Bug 16356: xdm Xstartup/Xreset configuration files malconstructed by cpp
3241    
3242    X.Org Bug #16356 <https://bugs.freedesktop.org/show_bug.cgi?id=16356>
3243    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3244
3245commit c9cdec25130bc957b584ec15187e068f9c08862d
3246Author: Adam Jackson <ajax@redhat.com>
3247Date:   Wed May 21 14:24:58 2008 -0400
3248
3249    xdm 1.1.8
3250
3251commit 5f94cf40697145678c96e9899df69ad2550a4509
3252Author: Julien Cristau <jcristau@debian.org>
3253Date:   Thu May 15 16:52:09 2008 +0200
3254
3255    $(builddir) is the current directory
3256    
3257    Apparently automake doesn't always export the builddir variable.
3258    This fixes the previous commit.
3259
3260commit 46d72e82f4069d281f61a9fdbae11157241f3553
3261Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
3262Date:   Tue May 6 17:57:22 2008 -0700
3263
3264    Bug 10145: xdm passes file descriptors to children
3265    
3266    X.Org Bugzilla #10145 <https://bugs.freedesktop.org/show_bug.cgi?id=10145>
3267    Patch #14644 <https://bugs.freedesktop.org/attachment.cgi?id=14644>
3268    
3269    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
3270
3271commit b4ac133b92e08a34054d0af9481ab59b03571818
3272Author: Julien Cristau <jcristau@debian.org>
3273Date:   Sun Apr 20 19:32:12 2008 +0200
3274
3275    Fix build with builddir != srcdir
3276
3277commit 1b14e9391500d06dd0b61967db8099c3cf27f90c
3278Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
3279Date:   Thu Mar 27 19:57:08 2008 -0700
3280
3281    Build fix for case-insensitive file systems
3282
3283commit c0f0d3adebb9b133e26a6e25738cfe38b36e5314
3284Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
3285Date:   Thu Mar 27 19:52:33 2008 -0700
3286
3287    Added include of pwd.h so we build correctly on OS-X - see xorg mailing list
3288
3289commit c2de936fe580d82da3c5b3590a1acb9e28ec68c1
3290Author: Julien Cristau <jcristau@debian.org>
3291Date:   Sat Mar 8 06:40:14 2008 +0100
3292
3293    Fix installation of app-defaults
3294    
3295    Add a configure option for appdefaultdir, and use it for
3296    make distcheck, because it wants everything under $prefix.
3297    By default, still use `pkg-config --variable=appdefaultdir xt'.
3298
3299commit f2f2eed7c284ced3ddc3fe3451ec7a8af9dfdbb4
3300Author: Matthieu Herrb <matthieu@bluenote.herrb.net>
3301Date:   Sat Mar 8 22:21:57 2008 +0100
3302
3303    README: nuke RCS Id
3304
3305commit 576861d7e6158790e18ae79b8d566919b88d0cae
3306Author: Adam Jackson <ajax@redhat.com>
3307Date:   Fri Mar 7 17:12:33 2008 -0500
3308
3309    xdm 1.1.7
3310
3311commit 996fea2fb1ae1e419e673b89cc3778e371a29324
3312Author: Adam Jackson <ajax@redhat.com>
3313Date:   Fri Mar 7 17:10:30 2008 -0500
3314
3315    Fix distcheck.
3316
3317commit 87a8f18c334b3e5819f92d0f8f37cc41987486d4
3318Author: Jeremy Huddleston <jeremy@yuffie.local>
3319Date:   Thu Dec 20 19:11:53 2007 -0800
3320
3321    Darwin doesn't need __DARWIN__ anymore.
3322
3323commit 28f4ded22488ce8542ff8b9871f6b4e04614058d
3324Author: Alan Coopersmith <alan.coopersmith@sun.com>
3325Date:   Fri Sep 21 11:03:54 2007 -0700
3326
3327    Debian bug #440389: 800x600 settings got lost, screen now too wide
3328    
3329    Debian bug #440389 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440389>
3330    When deleting the XPM #ifdefs, a set of #if WIDTH < 800 resources
3331    got accidentally deleted as well.  (Cause & fix found by Brice Goglin)
3332
3333commit 923176024d3d6b7f5b392b4f9a07cce8c6ed3823
3334Author: Alan Coopersmith <alan.coopersmith@sun.com>
3335Date:   Mon Aug 27 14:17:13 2007 -0700
3336
3337    Restore #endif accidentally removed in d0d4581be22aba9021c5a672bd9e5ba719961e29
3338
3339commit e775ab1778850663a755279470d3ad6a2c9c0054
3340Author: Alan Coopersmith <alan.coopersmith@sun.com>
3341Date:   Thu Aug 16 14:47:17 2007 -0700
3342
3343    Version bump: 1.1.6
3344
3345commit 298811a10ee1b72c553d18cc40bdfde17afb14e8
3346Author: Luca Capello <luca@pca.it>
3347Date:   Sun Jul 2 18:57:05 2006 +0200
3348
3349    Debian Bug #376391: xdm manpage refers to non-existent section 'Typical Usage'
3350
3351commit 593788896cdba598ceaa5fbf9e4d214583ffb6ed
3352Author: Brice Goglin <Brice.Goglin@ens-lyon.org>
3353Date:   Wed Aug 15 18:38:53 2007 -0700
3354
3355    Debian Bug #437961: loading Xresources fails because bindir/xrdb does not exist
3356    
3357    <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437961>
3358
3359commit ef1be3254966018fede7c33dea2f41b9351ef699
3360Author: Alan Coopersmith <alan.coopersmith@sun.com>
3361Date:   Fri Aug 10 10:43:10 2007 -0700
3362
3363    Version bump: 1.1.5
3364
3365commit 3ed70d13a6957c2434753f32d388888eae079d82
3366Author: Alan Coopersmith <alan.coopersmith@sun.com>
3367Date:   Wed Jul 25 17:07:33 2007 -0700
3368
3369    Update AC_DEFINE_DIR to autoconf-2.60-compatible version
3370
3371commit dd05076f290b1995f71627324cc74053c870ac21
3372Author: Alan Coopersmith <alan.coopersmith@sun.com>
3373Date:   Wed Jul 25 17:03:56 2007 -0700
3374
3375    Add AM_PROG_CC_C_O to clear automake-1.10 warning
3376    
3377    Makefile.am:149: compiling `chooser.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
3378
3379commit 29dc5825782adf929bce41a18e6a6881ef975d22
3380Author: Alan Coopersmith <alan.coopersmith@sun.com>
3381Date:   Wed Jul 25 17:00:39 2007 -0700
3382
3383    Bug #10530: xdm's path to xrdb could be configurable at compile time
3384    
3385    Add --with-xrdb=path & --with-default-session=command configure options
3386    X.Org Bug #10530: <https://bugs.freedesktop.org/show_bug.cgi?id=10530>
3387
3388commit 2719e18c3782c5b21f712711b4198a5bb55f5473
3389Author: Alan Coopersmith <alan.coopersmith@sun.com>
3390Date:   Fri Jun 15 20:14:21 2007 -0700
3391
3392    Set default cursor for entire root window, not just greeter
3393
3394commit d0d4581be22aba9021c5a672bd9e5ba719961e29
3395Author: Alan Coopersmith <alan.coopersmith@sun.com>
3396Date:   Fri Jun 15 19:43:46 2007 -0700
3397
3398    Make #ifdef XPM only control whether XPM pixmap logo is shown
3399    
3400    Make 3D look-and-feel independent of XPM
3401
3402commit 188415ebf07ff8a25ac663c37615269cd1a741a4
3403Author: Alan Coopersmith <alan.coopersmith@sun.com>
3404Date:   Fri Jun 15 19:23:05 2007 -0700
3405
3406    Set Xcursor theme to whiteglass in default login screen resources
3407
3408commit f8585c60831a8e5ddebce18bdd7e78d217a822c5
3409Author: Alan Coopersmith <alan.coopersmith@sun.com>
3410Date:   Fri Jun 15 18:36:15 2007 -0700
3411
3412    X.Org Bug #10992: xlogin crashes if window size is too small
3413    
3414    X.Org Bugzilla #10992 <https://bugs.freedesktop.org/show_bug.cgi?id=10992>
3415
3416commit 0ce4128e19f9fac9a565cce42a6a575486d371a5
3417Author: Alan Coopersmith <alan.coopersmith@sun.com>
3418Date:   Fri Jun 15 14:24:59 2007 -0700
3419
3420    Add --enable-xdm-auth/--disable-xdm-auth to configure options
3421
3422commit 8e0b23e24556fb6c6b9943bf3747e70b245fc7aa
3423Author: Chip Coldwell <coldwell@physics.harvard.edu>
3424Date:   Thu Jun 24 09:56:19 2004 -0700
3425
3426    X.Org Bug 10632 / Debian Bug 256299: race condition in policy.c:Willing()
3427    
3428    X.Org Bugzilla #10632 <https://bugs.freedesktop.org/show_bug.cgi?id=10632>
3429    Reported upstream from
3430    Debian Bug #256299 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=256299>
3431
3432commit a8927ee05efba3afe955731bab5d633879c39833
3433Author: Alan Coopersmith <alan.coopersmith@sun.com>
3434Date:   Thu May 31 17:11:15 2007 -0700
3435
3436    Document more of the greeter resources in xdm man page
3437
3438commit 35f563369470139665498640f4cda23d1227073b
3439Author: Alan Coopersmith <alan.coopersmith@sun.com>
3440Date:   Tue May 29 19:57:29 2007 -0700
3441
3442    Bug #11096: xdm(1) manpage should document Xft-related properties
3443    
3444    X.Org Bugzilla #11096 <https://bugs.freedesktop.org/show_bug.cgi?id=11096>
3445    
3446    Added descriptions of the Xft *face resources and changed the core fonts
3447    *font resource descriptions to match.   Also cleaned up various other
3448    descriptions to make it easier for users customizing the look of the login
3449    screen.
3450
3451commit e7f1c433dc0bd8e864cec68dbc120f27696bbba6
3452Author: Alan Coopersmith <alan.coopersmith@sun.com>
3453Date:   Thu May 24 10:32:32 2007 -0700
3454
3455    Bug #11020: xdm doesn't set SSH_AUTH_SOCK even though using with pam_ssh
3456    
3457    Wasn't calling pam_setcred()/pam_getenvlist() if setusercontext() was present
3458    X.Org Bugzilla #11020: <https://bugs.freedesktop.org/show_bug.cgi?id=11020>
3459
3460commit 677d028e41e890103679eec92b58044420b9b4c5
3461Author: Alan Coopersmith <alan.coopersmith@sun.com>
3462Date:   Tue Feb 6 11:45:41 2007 -0800
3463
3464    Version bump: 1.1.4
3465
3466commit 6e2362e825dfec6df73f1338088a850225ed92d2
3467Author: Alan Coopersmith <alan.coopersmith@sun.com>
3468Date:   Tue Feb 6 11:34:30 2007 -0800
3469
3470    Rearrange checks for maximum username & password length
3471    
3472    Give preference to standard definitions, use less hardcoded knowledge about
3473    which platforms provide other definitions.
3474
3475commit f6ab9602b8418b035f12da171a7d6edfed464aee
3476Author: Alan Coopersmith <alan.coopersmith@sun.com>
3477Date:   Fri Feb 2 17:27:46 2007 -0800
3478
3479    Reset username prompt to default string at start of PAM loop
3480    
3481    Fixes bug reported by Stefan Dirsch in
3482    http://lists.freedesktop.org/archives/xorg/2007-February/021510.html
3483
3484commit 3f1611b69f6b24184aa4b07c796526f49fa0db5f
3485Author: Alan Coopersmith <alan.coopersmith@sun.com>
3486Date:   Fri Feb 2 13:20:52 2007 -0800
3487
3488    Make sure windowPath is properly initialized & freed
3489
3490commit 5f0f8c00f47e778c59ae22bf685c97756456b2cd
3491Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
3492Date:   Thu Feb 1 17:16:41 2007 -0800
3493
3494    Bug 8014: xdm should set the WINDOWPATH environment variable
3495    
3496    X.Org Bug #8014: <https://bugs.freedesktop.org/show_bug.cgi?id=8014>
3497    Patch #6702: <https://bugs.freedesktop.org/attachment.cgi?id=6702>
3498
3499commit 450e9eb2725be6ead1c6d3e5477b737ded04070b
3500Author: Alan Coopersmith <alan.coopersmith@sun.com>
3501Date:   Thu Feb 1 15:23:12 2007 -0800
3502
3503    Bug #8561: xdm painfully slow at cursor redraws
3504    
3505    <https://bugs.freedesktop.org/show_bug.cgi?id=8561>
3506    Made code that waited for cursor redraws to appear onscreen conditional on
3507    FORCE_CURSOR_FLASH #define, which is off by default.
3508
3509commit e4274acc8cb7354cf191f91a8ed2054cb7af9916
3510Author: Alan Coopersmith <alan.coopersmith@sun.com>
3511Date:   Tue Jan 2 14:40:15 2007 -0800
3512
3513    Add ChangeLog to MAINTAINERCLEANFILES
3514
3515commit 9554052c14fc09ed1894580620ca94428f38e59b
3516Author: Daniel Stone <daniel@fooishbar.org>
3517Date:   Thu Dec 21 14:58:03 2006 +0200
3518
3519    config: quote cpp arguments (bug #9414)
3520    Quote all arguments given to cpp.
3521
3522commit 0128497fac0794d947fa44b433550fe064905d8d
3523Author: Daniel Stone <daniel@fooishbar.org>
3524Date:   Sat Dec 16 01:38:30 2006 +0200
3525
3526    xdm 1.1.3
3527
3528commit 3bc9148509a058647a9c43d0e2668c94ac579884
3529Author: Daniel Stone <daniel@fooishbar.org>
3530Date:   Wed Dec 6 19:01:52 2006 +0200
3531
3532    Makefile.am: make ChangeLog hook safer
3533    Make ChangeLog hook as safe as possible.
3534
3535commit 75a8fce621adecd50db129c839a578df630137db
3536Author: Daniel Stone <daniel@fooishbar.org>
3537Date:   Thu Nov 30 19:49:31 2006 +0200
3538
3539    bump to 1.1.2
3540
3541commit c8612093ba0a67c1a161111d58aac9956b9c5320
3542Author: J.P. Larocque <piranha-fdo-bz@thoughtcrime.us>
3543Date:   Mon Nov 20 11:06:18 2006 -0800
3544
3545    Bug 7317: xfs doesn't build on some GLIBC based systems: _XOPEN_SOURCE undefined
3546    
3547    Bug 7317: <https://bugs.freedesktop.org/show_bug.cgi?id=7317>
3548
3549commit 15e5c60cced750559853ca7e9bddcd6b7f1dd3f9
3550Author: Alan Coopersmith <alan.coopersmith@sun.com>
3551Date:   Mon Nov 13 14:51:16 2006 -0800
3552
3553    Bump version number to 1.1.1
3554
3555commit 623dacd509bd6c0c1f0c2c424933818ff34788ca
3556Author: Vickenty Fesunov <kent@comintern.ru>
3557Date:   Mon Nov 13 14:48:02 2006 -0800
3558
3559    Bug 8995: Copying address into in6_addr instead of in6_addr.sin6_addr in forward_respond()
3560    
3561    Bugzilla #8995 <https://bugs.freedesktop.org/show_bug.cgi?id=8995>
3562    Patch #7759 <https://bugs.freedesktop.org/attachment.cgi?id=7759>
3563
3564commit 37f9293e3cc00411d8d335ce729d18995bb9ce59
3565Author: Alan Coopersmith <alan.coopersmith@sun.com>
3566Date:   Mon Nov 6 14:08:15 2006 -0800
3567
3568    Fill in paths at build time in Xreset & Xstartup
3569    
3570    Stop hardcoding /usr/X11R6/bin/sessreg and instead fill in paths like other
3571    config files from directories passed via configure.
3572
3573commit 0e0221a70543ba5f2aa7ce188e2dc9544bac96bd
3574Author: Darrel Goeddel <dgoeddel@trustedcs.com>
3575Date:   Wed Oct 18 18:59:02 2006 -0700
3576
3577    Set PAM_TTY for local displays
3578
3579commit 698ffcff29d4c574b155451342bc6e3b9ee07287
3580Author: Alan Coopersmith <alan.coopersmith@sun.com>
3581Date:   Tue Oct 3 18:32:54 2006 -0700
3582
3583    Bump version number to 1.1.0
3584
3585commit 46fea537186aa57d803262bf5f504f7041a7d97e
3586Author: Alan Coopersmith <alan.coopersmith@sun.com>
3587Date:   Tue Oct 3 18:21:15 2006 -0700
3588
3589    Replace static ChangeLog with dist-hook to generate from git log
3590
3591commit f97db135e818ea04735e1fbbaea2e7d3dac9c872
3592Author: Alan Coopersmith <alan.coopersmith@sun.com>
3593Date:   Tue Oct 3 18:11:03 2006 -0700
3594
3595    Replace static ChangeLog with dist-hook to generate from git log
3596
3597commit 3349ab7b6c2b9ff6ad39da6d29b6aa1250f96cd9
3598Author: Alan Coopersmith <alan.coopersmith@sun.com>
3599Date:   Mon Aug 14 13:48:19 2006 -0700
3600
3601    Draw text with Xft in greeter window
3602    
3603    (Includes portions copied from Keith Packard's Xft conversion of xclock)
3604
3605commit 0e47586fe5c76d7804368c4536e66ec610978e38
3606Author: Alan Coopersmith <alan.coopersmith@sun.com>
3607Date:   Mon Aug 14 11:02:51 2006 -0700
3608
3609    SetPrompt takes LOGIN_* not PAM_* constants for type argument
3610
3611commit 929d2d81827325c2736f6ccf47d017364153b3a7
3612Author: Alan Coopersmith <alan.coopersmith@sun.com>
3613Date:   Mon Aug 14 10:56:50 2006 -0700
3614
3615    Include display number in Xserver arguments
3616
3617commit 2fbac8d6d0fd9bfebcd30a128cfef4131149e735
3618Author: Alan Coopersmith <alan.coopersmith@sun.com>
3619Date:   Fri Aug 11 14:04:58 2006 -0700
3620
3621    Sun bug 6459557: remote logins to xdm fail since recent PAM fixes
3622    
3623    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6459557>
3624    When stripping :<display> off the end of the display name so that we can
3625    pass the remote hostname to PAM, make sure we modify the copy we made for
3626    PAM, not the original which is used to set $DISPLAY for the session being
3627    created.
3628
3629commit be9b2e85f579c5eda7a8868ee9ebf0b268c5a181
3630Author: Alan Coopersmith <alan.coopersmith@sun.com>
3631Date:   Fri Jul 14 15:25:19 2006 -0700
3632
3633    Delete unused Panic() function
3634
3635commit 2094955be1ef94a0ba3f7dcf64ae04c9575dbd9c
3636Author: Alan Coopersmith <alan.coopersmith@sun.com>
3637Date:   Fri Jul 14 15:11:08 2006 -0700
3638
3639    Use pid_t instead of int when working with fork/wait/etc. (clear more lint warnings)
3640
3641commit 1abe7027403ecf00b846c675fac27c2d86ebd9d4
3642Author: Alan Coopersmith <alan.coopersmith@sun.com>
3643Date:   Fri Jul 14 14:01:18 2006 -0700
3644
3645    Store return values from umask in mode_t instead of int (clear lint warnings)
3646
3647commit 5283b118b4bfdb1a85356147701f602b884c342b
3648Author: Alan Coopersmith <alan.coopersmith@sun.com>
3649Date:   Fri Jul 14 13:05:52 2006 -0700
3650
3651    Fix many sparse warnings of: Using plain integer as NULL pointer
3652    
3653    Also fixes Login.c:1329:5: warning: mixing declarations and code from extra ;
3654
3655commit 41211f8c849de67cebeb9d9f7516eb5a4a7eb3cf
3656Author: Alan Coopersmith <alan.coopersmith@sun.com>
3657Date:   Fri Jul 14 13:02:02 2006 -0700
3658
3659    Add XORG_WITH_LINT & lint targets for checking code with lint/sparse/etc.
3660
3661commit bfe7bc6a04d468f7943ebed9a7ea571cbf916d9e
3662Author: Alan Coopersmith <alan.coopersmith@sun.com>
3663Date:   Fri Jul 14 11:40:20 2006 -0700
3664
3665    Add *~ to .gitignore to skip emacs droppings
3666
3667commit 1e19a9746ffa570f81346307b1eb32257a0bb24a
3668Author: Alan Coopersmith <alan.coopersmith@sun.com>
3669Date:   Fri Jul 14 11:38:39 2006 -0700
3670
3671    renamed: .cvsignore -> .gitignore
3672
3673commit aee9b7f645c12a2a3bc6605726669dbb7b5f3985
3674Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3675Date:   Tue Jun 27 16:33:25 2006 +0000
3676
3677    Bugzilla #7317 <https://bugs.freedesktop.org/show_bug.cgi?id=7317> xdm
3678        needs to define _XOPEN_SOURCE to build on Hurd (J.P. Larocque)
3679
3680commit 6329bf48b0f775335e552967622bf53912131edb
3681Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3682Date:   Tue Jun 27 01:25:40 2006 +0000
3683
3684    Bugzilla #7318 <https://bugs.freedesktop.org/show_bug.cgi?id=7318> Patch
3685        #6032 <https://bugs.freedesktop.org/attachment.cgi?id=6032> xdm crashes
3686        on Hurd because of incongruity in dlfuncs (J.P. Larocque)
3687
3688commit 6bf94d0ed871db12e8e5aa48200ce3b548895b8f
3689Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3690Date:   Mon Jun 26 23:56:06 2006 +0000
3691
3692    Bugzilla #7332 <https://bugs.freedesktop.org/show_bug.cgi?id=7332> Patch
3693        #6046 <https://bugs.freedesktop.org/attachment.cgi?id=6046> (1) Xdm
3694        compiled with IPv6 support failed to accept any chooser connections
3695        (even when only using IPv4). (2) There should be a one-to-one
3696        correspondence between successful getaddrinfo calls and freeaddrinfo
3697        calls. (Peter Breitenlohner)
3698
3699commit b80ae0aa74cfd9d168f4e100e0fea8fef240500f
3700Author: Matthieu Herrb <matthieu.herrb@laas.fr>
3701Date:   Tue Jun 20 19:25:51 2006 +0000
3702
3703    Check setuid() return value. Bugzilla #7116.
3704
3705commit 57e927d7340494bb5fdd73c04c9e1f33379b9b75
3706Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3707Date:   Tue Jun 20 01:50:35 2006 +0000
3708
3709    Initialize manufacturerDisplayID.length to 0 too.
3710
3711commit fe7e9b5b69e42b92a1e0aac4faef8c1c9d21ac96
3712Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3713Date:   Sat Jun 3 01:13:44 2006 +0000
3714
3715    Mark GreetUser (called from xdm) as _X_EXPORT. Make all other non-static
3716        functions in libXdmGreet _X_INTERNAL.
3717
3718commit aae2d2d25d7423c99baadb724ff7722cafdcf095
3719Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3720Date:   Sat Jun 3 01:01:21 2006 +0000
3721
3722    Replace old Imake-based SIGNALRETURNSINT with AC_TYPE_SIGNAL
3723    util.c Replace old Imake #ifdefs with AC_CHECK_FUNCS([sigaction])
3724
3725commit ec8fdcf0cff01a504bfbf096194012fff997f4ca
3726Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3727Date:   Sat Jun 3 00:06:46 2006 +0000
3728
3729    Make initial pass at an AUTHORS list.
3730
3731commit 4010a63ee6e05bee51208d667a0dc7f01f916af8
3732Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3733Date:   Sat Jun 3 00:05:24 2006 +0000
3734
3735    Convert PAM code to use full PAM conversation. Modify greeter to allow PAM
3736        to prompt for more than just username and password. Rely on PAM to
3737        initialize Secure RPC & Kerberos credentials when it is being used.
3738        (Based on work begun for Sun bug #6398796 "Solaris-10: Unable to login
3739        thru xdm once password is aged")
3740
3741commit 1f7dab056c661af97ca7c6a7b61a87b26ca3fa36
3742Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3743Date:   Fri Jun 2 23:14:36 2006 +0000
3744
3745    Drop pre-waitpid() support since all POSIX.1-1990 systems have waitpid.
3746
3747commit 2a79e8011cffd6e7a2d4a5c15ad4df8b96e12309
3748Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3749Date:   Fri Jun 2 23:12:12 2006 +0000
3750
3751    Bump version to 1.0.99 for 1.1 branch.
3752
3753commit 56ee4c350624f42cbeb7a19656f65a79b74ba53f
3754Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3755Date:   Thu Apr 27 21:21:15 2006 +0000
3756
3757    Version bump: 1.0.4
3758
3759commit 1ba990f121143be61eedc530f15ad30ca4d1742f
3760Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3761Date:   Fri Apr 14 20:17:31 2006 +0000
3762
3763    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6413255> Sun
3764        bug #6413255: xdm should check for uid 0, not for username of "root",
3765        when doing non-console login check
3766
3767commit aa1a1388081db6f1592db823c69bd699ca172683
3768Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3769Date:   Fri Apr 14 02:52:02 2006 +0000
3770
3771    Add AC_C_INLINE so we can use "inline" keyword
3772    Add "inline" to max function definition
3773
3774commit 03fad3472eabe457a6bc37989edd875f081b529b
3775Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3776Date:   Wed Apr 12 01:57:46 2006 +0000
3777
3778    When clearing username & password buffers, zero out the entire buffer, not
3779        just the first byte, for reduced risk of leaking passwords into core
3780        dumps.
3781
3782commit 3960bb1666e3d0ec2da3cd5ea8492792290018c7
3783Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3784Date:   Wed Apr 12 01:55:05 2006 +0000
3785
3786    ChangeLog for last commit
3787
3788commit 2900b8984d8fdce182b87f0ce7a2f5813ea0b53f
3789Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3790Date:   Sat Apr 8 00:22:23 2006 +0000
3791
3792    Xorg bug #4765 <https://bugs.freedesktop.org/show_bug.cgi?id=4765> Patch
3793        #3555 <https://bugs.freedesktop.org/attachment.cgi?id=3555> xdm doesn't
3794        work with the pam_krb5 module (call pam_getenvlist after pam_setcred)
3795        (Constantine Sapuntzakis)
3796
3797commit c9fcce730483358594c9556426098ac3325da47f
3798Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3799Date:   Fri Mar 31 02:19:01 2006 +0000
3800
3801    Version bump: 1.0.3
3802
3803commit e6e6b9960262ab30d64486898fc147c7010a5559
3804Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3805Date:   Thu Mar 30 21:14:31 2006 +0000
3806
3807    Drop all setpgrp/setpgid silliness and just use setsid everywhere. (Assumes
3808        all platforms are at least POSIX.1-1990 compliant.)
3809    Check for error return from daemon() function.
3810
3811commit 4fad29bad3e06127b93c8cef3761b40472df6bb7
3812Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3813Date:   Mon Mar 27 23:59:21 2006 +0000
3814
3815    Version bump: 1.0.2
3816
3817commit 9609b9f14945b8dc55321a5fee7855f7b1dc9451
3818Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3819Date:   Sat Mar 18 03:43:18 2006 +0000
3820
3821    Bug #5898 <https://bugs.freedesktop.org/show_bug.cgi?id=5898> Use mktemp
3822        command to create files safely in TMPDIR or /tmp on systems that have
3823        it - don't try to create files there if mktemp is not present. Fix
3824        based on NetBSD fix from
3825        <http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=32805> .
3826
3827commit 5102f671d3f5a4e870e8ea8b78cef953d4f64111
3828Author: Jeremy C. Reed <reed@reedmedia.net>
3829Date:   Thu Mar 16 21:56:24 2006 +0000
3830
3831    DragonFly is a BSD, so is CSRG_BASED and use su with -m option.
3832
3833commit 4a0e026c04bd1027641670eda68e3a65441d2b63
3834Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3835Date:   Thu Mar 16 21:46:55 2006 +0000
3836
3837    Convert checks for <grp.h>, daemon(), and setpgrp arguments to autoconf
3838        tests instead of checking OS name #ifdefs.
3839
3840commit 0a224935e64342e3eec055672229212c856ea14b
3841Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3842Date:   Sat Mar 11 04:07:00 2006 +0000
3843
3844    Coverity ids #722, 723, 724, 725, 726, 727, 728: Need to XtFree the values
3845        returned by XawListShowCurrent to plug memory leaks.
3846    Coverity id #834: After joining a multicast group, add group pointer to the
3847        list of active multicast groups instead of just leaking the group
3848        pointer.
3849
3850commit 23198133e90c34508e5d0c0f1314bf167bf3a98c
3851Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3852Date:   Fri Mar 10 00:48:16 2006 +0000
3853
3854    Coverity ids #7689, 7690, 7691: When malloc fails, don't just print an
3855        error and continue on using the NULL pointer, return NULL to the
3856        caller.
3857
3858commit 17b0d313c80ca754348ca8b92ce117918a2f8d43
3859Author: Matthias Hopf <mhopf@suse.de>
3860Date:   Wed Mar 1 15:48:06 2006 +0000
3861
3862    openSUSE bug #142954 Fixed potential segfault on OOM condition.
3863
3864commit 6729f4df2d314a3573f3da7da3fc364cb48685de
3865Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3866Date:   Sat Feb 25 02:21:51 2006 +0000
3867
3868    Bug #6036 <https://bugs.freedesktop.org/show_bug.cgi?id=6036> Check for
3869        key_setnet declaration before defining it to avoid compiler error of
3870        conflicting types on DragonFly BSD
3871
3872commit ebec01137a6b200ee9432faecde5817670b41684
3873Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3874Date:   Sat Feb 25 00:58:50 2006 +0000
3875
3876    Bug #6026 <https://bugs.freedesktop.org/show_bug.cgi?id=6026> Segfault in
3877        netaddr.c:ConvertAddr if ifa_addr is NULL (Loser Mcloser
3878        <reebydobalina@yahoo.ca>)
3879
3880commit f82da0960018bfa4237d3d8239cf84d880673e6a
3881Author: Jeremy C. Reed <reed@reedmedia.net>
3882Date:   Fri Feb 24 21:36:13 2006 +0000
3883
3884    Bug #5897 <https://bugs.freedesktop.org/show_bug.cgi?id=5897>
3885    Create xsession error file with umask 077 instead of chmod a moment later
3886        so others can't open first. This was reported by Steven M. Bellovin to
3887        NetBSD http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=32804
3888    Reviewed by Alan Coopersmith via xorg_security list.
3889
3890commit 2a01568e61905944a59a7a8b34f22e08ccd25937
3891Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3892Date:   Fri Feb 24 18:09:00 2006 +0000
3893
3894    Bug #1391 <https://bugs.freedesktop.org/show_bug.cgi?id=1391> Patch #4739
3895        <https://bugs.freedesktop.org/attachment.cgi?id=4739> xdm hangs in a
3896        loop when invalid xpm bitmap is used for logo (Costantino Leandro
3897        <lcostantino@gmail.com>)
3898
3899commit 26388c9b82fd29ecde162b81bd59f38827171142
3900Author: Kevin E Martin <kem@kem.org>
3901Date:   Wed Dec 21 02:29:49 2005 +0000
3902
3903    Update package version for X11R7 release.
3904
3905commit b0c37b961844260d75e0bf88354e4fd04c36a4fc
3906Author: Adam Jackson <ajax@nwnk.net>
3907Date:   Mon Dec 19 16:22:43 2005 +0000
3908
3909    Stub COPYING files
3910
3911commit 2e78ed332496e323acf63b3783d4818751dcf560
3912Author: Kevin E Martin <kem@kem.org>
3913Date:   Thu Dec 15 00:24:06 2005 +0000
3914
3915    Update package version number for final X11R7 release candidate.
3916
3917commit c8288d472e3c0881a201207140ac51ce713da877
3918Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3919Date:   Sun Dec 11 20:46:25 2005 +0000
3920
3921    Bugzilla #5055 <https://bugs.freedesktop.org/show_bug.cgi?id=5055> Add
3922        XDMSCRIPTDIR cpp substitution to allow modular tree builder/packager to
3923        decide if scripts should go in config, lib, or data directories.
3924
3925commit 3d1caeec0b120997b5a958bec586c01665516499
3926Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3927Date:   Sun Dec 11 20:43:49 2005 +0000
3928
3929    Bugzilla #5055 <https://bugs.freedesktop.org/show_bug.cgi?id=5055> Add
3930        --with-xdmscriptdir to allow builder/packager to decide if scripts
3931        should go in config, lib, or data directories.
3932
3933commit af3cf72277abea12541117e7acc9867a7ad48cb7
3934Author: Kevin E Martin <kem@kem.org>
3935Date:   Wed Dec 7 16:17:59 2005 +0000
3936
3937    Change to use the app-defaults default dir configured in libXt.
3938
3939commit 15eddf034f082a10076967e77fd7af5d6a0cca2a
3940Author: Kevin E Martin <kem@kem.org>
3941Date:   Tue Dec 6 22:48:20 2005 +0000
3942
3943    Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
3944
3945commit 2824039d6b25007fd597a5fd0823268e193b4810
3946Author: Kevin E Martin <kem@kem.org>
3947Date:   Sat Dec 3 05:49:19 2005 +0000
3948
3949    Update package version number for X11R7 RC3 release.
3950
3951commit eace59cc41e57fd48e22be043cefb5bdee60a0d6
3952Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3953Date:   Mon Nov 28 22:01:40 2005 +0000
3954
3955    Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
3956        update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
3957
3958commit 06dcef110dc99a939ff2cfbc68ba85b4635cb055
3959Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3960Date:   Wed Nov 23 19:32:39 2005 +0000
3961
3962    Set HAS_ARC4_RANDOM if arc4random() function is found Set RANDOMMANDEFS to
3963        correctly substitute alternate random device/method descriptions in man
3964        page.
3965
3966commit 53c306241b93562b3b309072a652c708e87c0850
3967Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3968Date:   Tue Nov 22 05:43:52 2005 +0000
3969
3970    Fix file paths in man pages.
3971
3972commit a608715447b1c700c017f80c6ba27ce4dbbac973
3973Author: Eric Anholt <anholt@freebsd.org>
3974Date:   Mon Nov 21 10:34:59 2005 +0000
3975
3976    Another pass at .cvsignores for apps.
3977
3978commit d0149420c83f80cb15151a361b0929d53505d056
3979Author: Eric Anholt <anholt@freebsd.org>
3980Date:   Mon Nov 21 07:21:39 2005 +0000
3981
3982    Bug #5113: The insertion of -lutil into XDM_LIBS ended up having no effect
3983        because PKG_CHECK_MODULES(XDM, ...) later overwrote it. So put
3984    -lutil into XDM_OS_LIBS and add XDM_OS_LIBS to XDM_LIBS later.
3985
3986commit b4ee0e22b54786e0bb9a5b1c527be2e7f71100ba
3987Author: Eric Anholt <anholt@freebsd.org>
3988Date:   Sun Nov 20 22:08:51 2005 +0000
3989
3990    Add/improve .cvsignore files for apps.
3991
3992commit 05b9908f5e7d30df1230cfa872d4022c2fccfc3d
3993Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3994Date:   Sun Nov 20 04:00:36 2005 +0000
3995
3996    Add dependency on xau.
3997
3998commit 7f31d566014d9e99569e0b93ee93009ec4028e6e
3999Author: Kevin E Martin <kem@kem.org>
4000Date:   Sat Nov 19 07:15:36 2005 +0000
4001
4002    Update pkgconfig files to separate library build-time dependencies from
4003        application build-time dependencies, and update package deps to work
4004        with separate build roots.
4005
4006commit 6ebcb3aab1c6a0c58b6d6d304d7ae61168990c33
4007Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4008Date:   Mon Nov 14 04:25:43 2005 +0000
4009
4010    Add --enable-dynamic-greeter flag to allow choosing whether greeter should
4011        be built into xdm binary or dynamically loaded libXdmGreet.so object.
4012        Add -rdynamic flag to link options when using gcc with dynamic greeter
4013        to allow greeter object to reference symbols in xdm.
4014
4015commit f9e6bc3588358c82c9d6e3293cc4eae28567959b
4016Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4017Date:   Sun Nov 13 01:41:50 2005 +0000
4018
4019    Install xdm man page using APP_MAN_SUFFIX instead of forcing .1
4020
4021commit 9bccda24de3851829059c224ce94de28066bd8f5
4022Author: Kevin E Martin <kem@kem.org>
4023Date:   Wed Nov 9 21:09:20 2005 +0000
4024
4025    Update package version number for X11R7 RC2 release.
4026
4027commit 515ba1756966081ca3fae0cdd5a776f5a4fc6ad1
4028Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4029Date:   Tue Nov 8 07:50:12 2005 +0000
4030
4031    Changes to match bug #3180 checkin to monolith:
4032    Generate Xsession from Xsession.cpp Add SHELL_CMD to cpp substitutions
4033    configure.ac Set SHELL_CMD to /bin/ksh for sco, /bin/sh for all other
4034        OS'es.
4035
4036commit 3834f880ba013be524cd5b4ce4ff75734742ad12
4037Author: Kean Johnson <kean@armory.com>
4038Date:   Tue Nov 8 06:33:32 2005 +0000
4039
4040    See ChangeLog entry 2005-11-07 for details.
4041
4042commit d384b20b3d63f1b28d428f02746d5ec0c1e81a39
4043Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4044Date:   Tue Nov 1 16:44:38 2005 +0000
4045
4046    Add AC_DEFINE_DIR calls for the path #defines previously set in RES_DEFINES
4047        section of xdm Imakefile. (Some should probably be made settable via
4048        configure --with-* flags, but at least they correctly set defaults to
4049        match the directories specified to configure now.)
4050
4051commit dc12a42ebd70b24c4d84632fa253cd6e3094cbd2
4052Author: Kevin E Martin <kem@kem.org>
4053Date:   Tue Nov 1 15:05:18 2005 +0000
4054
4055    Update pkgcheck depedencies to work with separate build roots.
4056
4057commit 2b9da10c25ddcc9f098fa9af69e5f560037b5660
4058Author: Daniel Stone <daniel@fooishbar.org>
4059Date:   Sun Oct 30 17:25:00 2005 +0000
4060
4061    Add -I$(top_srcdir) to pick up dm{,_error}.h and greet.h.
4062
4063commit 2e06c1273459c14006452b8a483178494a4ba61f
4064Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4065Date:   Sat Oct 29 01:48:12 2005 +0000
4066
4067    Fix #ifdef statement syntax to clear compiler warning.
4068
4069commit f4a2e78f543a5b8ab5101cd22b625addc12cf6a5
4070Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4071Date:   Sat Oct 29 00:05:12 2005 +0000
4072
4073    Add -DGREET_LIB to GREETER_CFLAGS on Solaris & SVR4 (was in #if SVR4 in
4074        Imake) Add --with-random-device and checks for /dev/urandom &
4075        /dev/random for source of random data for key generation Link
4076        libXdmgreet with Xinerama & XPM libraries when using those features.
4077
4078commit 461b7fc37aae3578577a9eab2c9310287af14726
4079Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4080Date:   Wed Oct 26 03:21:17 2005 +0000
4081
4082    Use XDMCONFIGDIR for location of configuration files so they can be
4083        installed in a directory other than the lib directory. (Only
4084        overridable in modular build system at this point.)
4085
4086commit 16917371d7663d59c58dbd27c8592d3b6e8ef078
4087Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4088Date:   Wed Oct 26 03:17:17 2005 +0000
4089
4090    Allow overriding directories for xdm scripts/modules & configuration files
4091        via configure options --with-xdmlibdir & --with-xdmconfigdir Add libXt
4092        and libX11 to dependencies for libXdmgreet.
4093    Document default directories & configure options to change them
4094
4095commit eb1ed04945a3af8d04f5441966674486be715036
4096Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4097Date:   Wed Oct 26 02:25:02 2005 +0000
4098
4099    We forgot to build the Xdm greeter library. Add it to build and cleanup
4100        hardcoded values to find it.
4101
4102commit 1770fc21706c276d051de4dbe8a199f12a06f711
4103Author: Kevin E Martin <kem@kem.org>
4104Date:   Wed Oct 19 02:47:53 2005 +0000
4105
4106    Update package version number for RC1 release.
4107
4108commit 6279ce5e919e7a1a92060b7448c8d68ef6aef8af
4109Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4110Date:   Tue Oct 18 02:12:17 2005 +0000
4111
4112    Change XCOMM to \&# to allow both cpp & sed to translate correctly.
4113    Use XDMPIDDIR instead of XDMDIR when showing location of xdm-pid file in
4114        man page.
4115
4116commit fbfdcd1c2e760014c5c0632c785e405f20d759e1
4117Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4118Date:   Tue Oct 18 00:32:55 2005 +0000
4119
4120    Change default install dir for app-default files from
4121        $(sysconfdir)/X11/app-defaults to $(libdir)/X11/app-defaults to match
4122        the monolith & allow localization
4123
4124commit 971fdf46fa6a43b121db4a8e64dcde62dab0a85e
4125Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4126Date:   Mon Oct 17 20:40:32 2005 +0000
4127
4128    Set XDMPIDDIR in when subsituting variables in man pages
4129
4130commit 1afabc5f0a70fc32581b53eb978f06a30f58fefa
4131Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4132Date:   Mon Oct 17 00:40:28 2005 +0000
4133
4134    Put files in $(prefix)/lib/X11/xdm to match monolith install locations
4135
4136commit 82d152fba78e1c34b62b426a7854efd0b116afdd
4137Author: Donnie Berkholz <spyderous@gentoo.org>
4138Date:   Fri Oct 14 18:42:17 2005 +0000
4139
4140    Add another set of brackets around DEFAULTVT's empty default setting so it
4141        isn't treated as a command.
4142
4143commit 8ae6b815fc2641e48f994260ad817010116a1ec9
4144Author: Kevin E Martin <kem@kem.org>
4145Date:   Tue Oct 4 23:45:46 2005 +0000
4146
4147    Use CLEANFILES for all generated files
4148
4149commit 3d9c1086b712ea62717c34e83d31efa3988dfc08
4150Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4151Date:   Mon Oct 3 17:36:09 2005 +0000
4152
4153    Bug #3891 <https://bugs.freedesktop.org/show_bug.cgi?id=3891> xdm build
4154        failure: IN6_IS_ADDR_LOOPBACK undefined (David Schleef)
4155
4156commit 960be79d2f246edc3b0d2b571c5ed44edbc07276
4157Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4158Date:   Sun Oct 2 19:44:42 2005 +0000
4159
4160    Add Chooser app-defaults file to app/xdm
4161
4162commit 51a6b1de8beeb33858d3e8eb151cfad004a62ef8
4163Author: Kristian Høgsberg <krh@redhat.com>
4164Date:   Wed Sep 28 21:13:12 2005 +0000
4165
4166    Add Xservers.fs.
4167
4168commit 92864cfde7de9b5d9cf8894abeb7a972ea35d2a0
4169Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4170Date:   Sun Aug 28 22:46:07 2005 +0000
4171
4172    Add comment to configure.ac explaining error: possibly undefined macro:
4173        AC_DEFINE message that some users were seeing, thanks to diagnosis from
4174        Stepan Kasal on the autoconf@gnu.org mailing list: dnl If you're
4175        looking here because you got a message that said dnl 'error: possibly
4176        undefined macro: AC_DEFINE', the source of dnl your problem is not
4177        here. You need to upgrade to pkgconfig 0.18 dnl or later to get an
4178        updated pkg.m4 with PKG_CHECK_EXISTS defined. dnl See
4179        http://www.mail-archive.com/autoconf@gnu.org/msg13413.html
4180
4181commit e0187570bd3efd7b61ccc41dbc21d0840ee82260
4182Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4183Date:   Sat Aug 27 17:06:16 2005 +0000
4184
4185    Fixes for config files built via cpp
4186
4187commit 6bdf59b8f4fa96e5d85aafc87af57513794cb43e
4188Author: Daniel Stone <daniel@fooishbar.org>
4189Date:   Tue Aug 23 07:07:57 2005 +0000
4190
4191    Actually generate Xservers.ws from .cpp, and make build objdir != srcdir
4192        safe.
4193
4194commit d778b237aab11cfa4ac8d50587f045d8a0497b9a
4195Author: Daniel Stone <daniel@fooishbar.org>
4196Date:   Tue Aug 23 06:53:53 2005 +0000
4197
4198    Actually generate Xservers.ws from .cpp, and make build objdir != srcdir
4199        safe.
4200
4201commit 6a9a224cf84913f4dc9b87d59fac6594226e5b7e
4202Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4203Date:   Fri Aug 19 04:26:04 2005 +0000
4204
4205    Add #ifdef HAVE_CONFIG_H/#include "config.h" since "dm.h" is included too
4206        late.
4207
4208commit 91a45fdfd505233d8624f2664ffdf188d96549e4
4209Author: Adam Jackson <ajax@nwnk.net>
4210Date:   Wed Aug 17 20:35:09 2005 +0000
4211
4212    Fix EXTRA_DIST to point to a real variable. Bump to 0.99.1.
4213
4214commit 0f0954a36a9a71b9a98fb9a251dfc8ef4f815bed
4215Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4216Date:   Wed Aug 17 05:11:04 2005 +0000
4217
4218    Define USESHADOW if getspnam() is available Define USE_XINERAMA if
4219        pkg-config finds xinerama module Fix XDM_LIBS settings by various
4220        options
4221
4222commit 1abcef080aa3bd268a496c81b965d2db1086112e
4223Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4224Date:   Tue Aug 16 02:21:37 2005 +0000
4225
4226    Fix quoting on BINDIR definition for xdmshell
4227
4228commit e130f52f3b5f70f8cb478a2f64be2cd0c1fc553f
4229Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4230Date:   Tue Aug 16 01:19:40 2005 +0000
4231
4232    Convert cpp substitutions from __projectroot__/... to XDMDIR and BINDIR so
4233        they get correct pathnames in both modular & monolithic trees.
4234
4235commit 6b2d39036681c603f74bdd63f62198fbcdaae98f
4236Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4237Date:   Mon Aug 15 23:08:42 2005 +0000
4238
4239    Install xdm config files & man page Convert many more Imakefile checks into
4240        autoconf checks for xdm
4241
4242commit 7cd1bfa8acde5b494960c0b7e5b97abd89121545
4243Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4244Date:   Sat Aug 13 02:46:59 2005 +0000
4245
4246    Install chooser in $(libdir)/xdm, not $(bindir)
4247
4248commit 6ae3766444c62ee920b94807ac514d1003ca4fee
4249Author: Daniel Stone <daniel@fooishbar.org>
4250Date:   Wed Aug 10 11:17:06 2005 +0000
4251
4252    Add build system for sessreg, broken out from xdm.
4253
4254commit 23b64bbec8561ea707633f4e73ec8e1616e48c8f
4255Author: Adam Jackson <ajax@nwnk.net>
4256Date:   Wed Aug 3 04:14:23 2005 +0000
4257
4258    General fix: need to pull in more xtrans macros to get UNIXCONN etc defined
4259        OSX fixes: Define __DARWIN__, workaround some lastlog breakage.
4260
4261commit fbeae50b9153d45afa90df2b540141b74a436594
4262Author: Kevin E Martin <kem@kem.org>
4263Date:   Fri Jul 29 21:22:31 2005 +0000
4264
4265    Various changes preparing packages for RC0:
4266    - Verify and update package version numbers as needed
4267    - Implement versioning scheme
4268    - Change bug address to point to bugzilla bug entry form
4269    - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
4270        reenable it)
4271    - Fix makedepend to use pkgconfig and pass distcheck
4272    - Update build script to build macros first
4273    - Update modular Xorg version
4274
4275commit f07aa24d8eb865b4b15fdb0c059e70ab437a97f9
4276Author: Kevin E Martin <kem@kem.org>
4277Date:   Thu Jul 28 01:10:49 2005 +0000
4278
4279    Add -D_XOPEN_SOURCE for Linux
4280
4281commit ac5184384d6347ea97da5cc7f85e9687ff060641
4282Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
4283Date:   Wed Jul 27 22:37:02 2005 +0000
4284
4285    Add XPROTO_CFLAGS to XDM_CFLAGS and CHOOSER_CFLAGS, also add _BSD_SOURCE to
4286        CHOOSER_FLAGS
4287
4288commit b92f8751058bf2bc94967b84f71c4c88a5f007df
4289Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4290Date:   Thu Jul 14 22:58:25 2005 +0000
4291
4292    Set HAS_VFORK if autoconf has set HAVE_WORKING_VFORK.
4293    Add #include "config.h" for modularization
4294
4295commit e3b9c2dfffb74fe0bb96c21c198b8f08dfff65f0
4296Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4297Date:   Thu Jul 14 22:55:17 2005 +0000
4298
4299    Makefile.am:
4300    - Remove hardcoded definitions of _XOPEN_SOURCE, _POSIX_SOURCE, &
4301        _BSD_SOURCE
4302    configure.ac:
4303    - Use xtrans.m4 macros for IPv6 & SecureRPC support
4304    - Add PAM support
4305    - Add checks for vfork & mkstemp functions
4306    - Add libXdmcp to CHOOSER_LIBS
4307
4308commit 90b6e7d98567f77981adca5c2b9acc71d07f1442
4309Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
4310Date:   Fri Jul 8 20:45:03 2005 +0000
4311
4312    Add build system for xdm
4313
4314commit ac796dbe8d2877d479cb25397e2982b9e73b87ad
4315Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4316Date:   Tue Jul 5 18:52:33 2005 +0000
4317
4318    Bugzilla #2901 <https://bugs.freedesktop.org/show_bug.cgi?id=2901> Patch
4319        #2317 <https://bugs.freedesktop.org/attachment.cgi?id=2317>
4320    This patch fixes several problems arising if xdm is compiled with IPv6
4321        support, but the (linux) kernel does not support IPv6. (Peter
4322        Breitenlohner)
4323
4324commit 13b06d4e40a4d8a309b97dbab13cd6ac6aa469ad
4325Author: Adam Jackson <ajax@nwnk.net>
4326Date:   Mon Jun 20 02:59:16 2005 +0000
4327
4328    Bug #2959: Make sure displays other than :0 get entries in utmp when
4329        started from xdm. (Tim Waugh)
4330
4331commit f890eac42449a34b258128749075220f860421c3
4332Author: Kean Johnson <kean@armory.com>
4333Date:   Fri Jun 10 06:54:09 2005 +0000
4334
4335    file Xsession.cpp was initially added on branch sco_port_update.
4336
4337commit 9ab8ed5d49559eed0c7357c1a390bcd08b217d7a
4338Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4339Date:   Tue May 24 00:10:17 2005 +0000
4340
4341    Bugzilla #2165 <https://bugs.freedesktop.org/show_bug.cgi?id=2165> Patches
4342        #1599 & 2754 XDM Chooser enhancements: scrollwheel, no mouse (Thomas
4343        Reifferscheid)
4344
4345commit dd32476e8b55a0c191376d61918e78a61d76ae43
4346Author: Matthieu Herrb <matthieu.herrb@laas.fr>
4347Date:   Wed Dec 15 20:49:08 2004 +0000
4348
4349    Remove unused define.
4350
4351commit 7a776dd5a49283ddb29c37eed565b7bd86a5ad8a
4352Author: Matthieu Herrb <matthieu.herrb@laas.fr>
4353Date:   Thu Nov 11 15:44:31 2004 +0000
4354
4355    update shared lib revisions on OpenBSD (Bug #1828).
4356    update references to xf86site.def in comments (Bug #1827).
4357    fix kbd driver for wskbd protocol and pure wscons console driver (Bug
4358        #1825).
4359    don't add '-4' to generated default file name (bug #1826).
4360    typo in resource name (XFree86 bug #1300, X.org bug #1825)
4361
4362commit e58e367fd2a7d5e395cee23cfab6716219c74f67
4363Author: Matthieu Herrb <matthieu.herrb@laas.fr>
4364Date:   Thu Oct 21 06:03:13 2004 +0000
4365
4366    programs/xdm/greeter/verify.c Make BSDAUTH able to use non-default login
4367        classes. (Bugzilla #1676, Pierre Lalet).
4368
4369commit 40a8dac56de796db130b53dc1b01ea7421d0bf93
4370Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4371Date:   Sat Aug 7 19:22:01 2004 +0000
4372
4373    Check to see if array->data is NULL before we dereference it, instead of
4374        after. (Prevents segfault when array->data is initialized to NULL, but
4375        array->length is not set to 0.)
4376    Always initialize both data & length in ARRAYs.
4377
4378commit 0f92f0f76b812a29bbb748e7588a7208be4c30e2
4379Author: Matthieu Herrb <matthieu.herrb@laas.fr>
4380Date:   Mon Jul 26 22:56:33 2004 +0000
4381
4382    Fix log file location in manual page.
4383
4384commit 616e67f2b69018a7c6ffd91f1742ece51c4c5f78
4385Author: Eric Anholt <anholt@freebsd.org>
4386Date:   Tue Jul 6 00:44:39 2004 +0000
4387
4388    XFree86 bugzilla #1376: xdm opens random tcp sockets
4389    "Even when DisplayManager.requestPort is set to 0, xdm will open a
4390        chooserFd tcp socket on all interfaces. This apparently cannot be
4391        disabled by configuration and presents a possible security risk. Older
4392        versions of xdm/socket.c appear to have checked and aborted if
4393        request_port == 0, but the current one does not..."
4394
4395commit c5072fb61a23d4b4063d9c2f6043c23ff200af1b
4396Author: Egbert Eich <eich@suse.de>
4397Date:   Mon May 24 19:05:01 2004 +0000
4398
4399    Muffle compiler warnings.
4400    fix option name in log message.
4401    improve debugging messages.
4402
4403commit 1a5767483ccfb5e95555ff9bed0a1ec5456be725
4404Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
4405Date:   Sat Apr 24 23:28:17 2004 +0000
4406
4407    xc/programs/xdm/greeter/verify.c Fix typo in Solaris console restriction
4408        code (Xfree() -> XFree())
4409    xc/programs/xdm/greeter/Imakefile Link with PamLibraries if building with
4410        PAM support
4411
4412commit ec8b11f4b1ea888e28d71ee6f3903933d73aa65d
4413Author: Egbert Eich <eich@suse.de>
4414Date:   Fri Apr 23 19:54:43 2004 +0000
4415
4416    Merging XORG-CURRENT into trunk
4417
4418commit 37f2b9991615b9f440c08c15457c54ee69f27f38
4419Author: Keith Packard <keithp@keithp.com>
4420Date:   Sat Mar 27 01:44:18 2004 +0000
4421
4422    file xorg-bw.xpm was initially added on branch XORG-RELEASE-1-TM.
4423
4424commit a6bfe9be2718bf7eb78ec4b7c0f8f32ddff9d5ab
4425Author: Keith Packard <keithp@keithp.com>
4426Date:   Sat Mar 27 01:44:18 2004 +0000
4427
4428    file xorg.xpm was initially added on branch XORG-RELEASE-1-TM.
4429
4430commit 69a0d00505815453ed192d9ce8da11ad1449d79b
4431Author: Egbert Eich <eich@suse.de>
4432Date:   Sun Mar 14 08:35:13 2004 +0000
4433
4434    Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
4435
4436commit 819eb99db26dc93c189170ca00f268463c1f13ba
4437Author: Egbert Eich <eich@suse.de>
4438Date:   Wed Mar 3 12:13:00 2004 +0000
4439
4440    Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
4441
4442commit 71d3a63e7fb725820d68fae4acc4b8868ea7e95d
4443Author: Egbert Eich <eich@suse.de>
4444Date:   Thu Feb 26 13:36:17 2004 +0000
4445
4446    readding XFree86's cvs IDs
4447
4448commit aaa7fe57361c3df1dc35775fa9610b16755d1d02
4449Author: Egbert Eich <eich@suse.de>
4450Date:   Thu Feb 26 09:24:04 2004 +0000
4451
4452    Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
4453
4454commit 102dcbe36ca6c5ef6c8efcfbf6ce6fa3542142ec
4455Author: Egbert Eich <eich@suse.de>
4456Date:   Thu Jan 29 08:09:07 2004 +0000
4457
4458    Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004
4459
4460commit 0bd68eefddac98eaebb353dce62971a34a565842
4461Author: Kaleb Keithley <kaleb@freedesktop.org>
4462Date:   Fri Dec 19 20:55:50 2003 +0000
4463
4464    XFree86 4.3.99.902 (RC 2)
4465
4466commit 450fda6015f1799648ff7da87fdb2c46d42415f8
4467Author: Kaleb Keithley <kaleb@freedesktop.org>
4468Date:   Thu Dec 4 22:03:47 2003 +0000
4469
4470    XFree86 4.3.99.901 (RC 1)
4471
4472commit ca56bbdb0d398371332467534deaefdb77883bd7
4473Author: Kaleb Keithley <kaleb@freedesktop.org>
4474Date:   Tue Nov 25 19:29:12 2003 +0000
4475
4476    XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
4477
4478commit 19bd1c5e3910088ac0e92ca005427192a223c8a0
4479Author: Kaleb Keithley <kaleb@freedesktop.org>
4480Date:   Tue Nov 25 19:29:11 2003 +0000
4481
4482    Initial revision
4483
4484commit 6c29c43354706a933c0bc73a9c800bdfd1a9a827
4485Author: Kaleb Keithley <kaleb@freedesktop.org>
4486Date:   Fri Nov 14 16:49:22 2003 +0000
4487
4488    XFree86 4.3.0.1
4489
4490commit fa5d4a38a4dae7f24cdf3b8650dd931294c0fdc6
4491Author: Kaleb Keithley <kaleb@freedesktop.org>
4492Date:   Fri Nov 14 16:49:22 2003 +0000
4493
4494    Initial revision
4495
4496commit df3e1beed5bbb631975127133464b7e24fc38497
4497Author: Kaleb Keithley <kaleb@freedesktop.org>
4498Date:   Fri Nov 14 15:54:53 2003 +0000
4499
4500    R6.6 is the Xorg base-line
4501