Pixmap cursor bug?

2023-12-20 Thread mouse
, and I suspect this is moderately widespread; I've seen it on recent Ubuntu, recent RaspOS, and old NetBSD. I wrote a tiny test (ftp.rodents-montreal.org:/mouse/misc/cursor-bug.c - also available over HTTP as well, though I'm not sure what Content-Type: it'll be served as) and people on NetBSD's tech

Re: Pixmap cursor bug?

2024-01-25 Thread mouse
>> [...bug in some CreateCursor implementations...] >> [test case ftp.rodents-montreal.org:/mouse/misc/cursor-bug.c] >> I wrote patches to fix this for two server versions (fairly old server versions, by now) >> (though I do have low-to-negative confidence I got the

Two long-standing server bugs

2013-09-01 Thread Mouse
program for them available from ftp.rodents-montreal.org, in /mouse/X/cursorbug.c; it has an extensive comment header explaining what the bugs in question are, and the code is deliberately minimalist, intended to be easy to understand. I wrote to NetBSD's tech-x11 list about this; someone

Re: Two long-standing server bugs

2013-09-01 Thread Mouse
Operating System: NetBSD DP-Frank.Rodents-Montreal.ORG 5.2 NetBSD 5.2 (DP) #0: Tue May 14 03:28:46 EDT 2013 mo...@dp.rodents-montreal.org:/home/mouse/kbuild/DP amd64 Build Date: 09 July 2009 12:14:03AM I know at least some of that is false; I've done a build-and-reinstall of the world

Re: Odd XBell(3) inconsistancy

2013-09-05 Thread Mouse
there are also portability reasons to not depend on nonzero values of the argument doing anything meaningful (possibly excepting -100 and 100, to which the above remarks apply). /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org

Re: Remove declaration-after-statement C warning

2013-09-11 Thread Mouse
not clear it really makes any pragmatic difference. Now, at least.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: Remove declaration-after-statement C warning

2013-09-11 Thread Mouse
like the syntax, because it looks as though it is going to have horrible parsing ambiguities in the presence of comma operators or multiple variable declarations in the init portion.) I should ask my go-to guy for C questions about this. /~\ The ASCII Mouse \ / Ribbon

Re: Remove declaration-after-statement C warning

2013-09-12 Thread Mouse
to decide whether you consider that a plausible SE case.) It was originally done that way to make it easier for Fortran compilers, AFAIK. A C feature was done to make it easier for FORTRAN compilers? I'm not sure what that could even _mean_. /~\ The ASCII Mouse

Re: [PATCH] xf86VGAarbiter,vgaHW: Only wrap co-operating VGA drivers

2013-09-12 Thread Mouse
that impossible? (Seems dubious to me, especially given the existence of PCI-to-ISA bridges - but I don't know peecee video hardware very well.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7

Re: [REPOST PATCH xauth] Don't crash when running past the end of the chain

2013-09-18 Thread Mouse
far as to say that adding FamilyLocal, or, worse, replacing it with FamilyLocal, is a bug. Though, as always, that opinion is probably worth what you paid for it. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email

Re: [REPOST PATCH xauth] Don't crash when running past the end of the chain

2013-09-19 Thread Mouse
and/or ::1, or for names that resolve to one/both of those but also at least one other address.) I can repost the patches here, but [...] No, not relevant; it's the behaviour I'm talking about, not the implementation of it. /~\ The ASCII Mouse \ / Ribbon Campaign X Against

Re: [PATCH:libXdmcp 3/4] Ensure ARRAYofARRAY8 pointers are initialized to NULL

2013-09-30 Thread Mouse
makes the porting effort a lot higher in such cases. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: xkb, us keyboard intl variant, sharp s. ß s

2013-09-30 Thread Mouse
work with). The above guess is based on core X keyboard mapping, for which the first four KeySyms have reasonably well-defined interpretation. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61

Re: [PATCH 2/4] glx: Fix memory leak in context garbage collection (v2)

2013-10-08 Thread Mouse
conceptually wrong, even though if (as seems likely) False is #defined to 0 it's actually valid C. Should this maybe be 0 instead of False? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7

Re: [PATCH 2/4] glx: Fix memory leak in context garbage collection (v2)

2013-10-08 Thread Mouse
(http://ftp.rodents-montreal.org/mouse/blah/2009-10-09-1.html) for why. I do, however, agree that NULL, for all its problems, is better than False in this usage. :-) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org

Re: [RFC] X.Org minimum requirements for Autotools policy review

2013-10-24 Thread Mouse
for open-source work no matter _what_ it actually turns out to permit. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: SIGUSR1 to xinit

2013-10-27 Thread Mouse
, but my stance on this would be don't do that, then. PID 1 is init is so ingrained in the UNIX way that I would even go so far as to call it a bug for Linux to be handing out PID 1 to anything but init under any circumstances. /~\ The ASCII Mouse \ / Ribbon Campaign X

Re: [PATCH 2/2] Add APIs to send file descriptors through the network

2013-11-01 Thread Mouse
#define CMSPACE(x) (sizeof(struct cmsghdr)+(x)) #define CMLEN(x) (sizeof(struct cmsghdr)+(x)) #define CMSKIP(x) (sizeof(struct cmsghdr)) #endif #endif /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email

Re: [ANNOUNCE] libxshmfence 1.0

2013-11-02 Thread Mouse
; there probably exist uses for mutex-free condvars, and this may be one of them) In any case, the mutex does not have to actually cause any trouble, if present; it can be acquired and released immediately around the condvar calls. /~\ The ASCII Mouse \ / Ribbon

Re: [PATCH] smartsched: Tweak the default scheduler intervals

2013-11-05 Thread Mouse
hardware outweighed the win of scheduling an unusual timer internval. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: [PATCH 4/7] Add support for receiving fds in replies

2013-11-06 Thread Mouse
Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org

Re: [Xcb] [PATCH 4/8] Add xcb_send_fd API

2013-11-07 Thread Mouse
break the server - and wasn't this concern about a client-side thing? I'm not entirely sure how all these parts fit together, but that was the impression I got. Was that impression wrong? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents

Re: [PATCH 4/7] Add support for receiving fds in replies

2013-11-07 Thread Mouse
is (still) broken like that. Perhaps fortunately for X, it's easy to test for if you don't mind building and running a test program - which, since X seems to have now drunk the autoconf koolaid :(, I infer is not a problem. /~\ The ASCII Mouse \ / Ribbon Campaign X

Re: [PATCH libxcb] Fix alignment issues in FD passing code

2013-11-11 Thread Mouse
. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B ___ xorg-devel@lists.x.org: X.Org development Archives: http

Re: Fwd: [oss-security] I miss LSD, slides, paper and tools relating to finding UNIX system level vulnerabilities (as given at 44CON)

2013-11-14 Thread Mouse
a lot more than file descriptors - and I've wished for it often enough before; it would hardly be specific to this application.) /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39

Re: Fwd: [oss-security] I miss LSD, slides, paper and tools relating to finding UNIX system level vulnerabilities (as given at 44CON)

2013-11-15 Thread Mouse
approach at least abstracts away the knowledge about where to put the files; I'm not convinced that's a good thing, because it also removes control over where to put the files (when there are files). /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML

Re: [PATCH libX11 1/2] xcb_io: Fix Xlib 32-bit request number wrapping

2013-11-17 Thread Mouse
, something is wrong anyway (from my understanding). After all this is the trigger of the bug. Does anyone know whether the bug triggers on systems with 64-bit longs? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email

Re: [PATCH libX11 1/2] xcb_io: Fix Xlib 32-bit request number wrapping

2013-11-17 Thread Mouse
bits aren't all the same, but they can be fixed with a little more code. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

Re: [PATCH 00/37] Warning fixes (post 1.15 proposed changes)

2013-11-18 Thread Mouse
the price. In something as big as X, the conversion would admittedly be a big job, but I would most definitely recommend doing it (though I realize that is armchair quarterbacking). I think the only thing I use a qualifier-stripper for is writev(). /~\ The ASCII Mouse

Re: [PATCH 00/37] Warning fixes (post 1.15 proposed changes)

2013-11-20 Thread Mouse
Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info

Re: [PATCH 28/44] xfree86/dri: Mark DRIDrvMsg and dri_drm_debug_print _X_ATTRIBUTE_PRINTF

2013-12-13 Thread Mouse
really pointers to someone reading the code, which they'd better not be if they're being kept in 32-bit ints on 64-bit-pointer architectures. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D

Re: security extension

2014-01-05 Thread Mouse
[...the security extension...] A lot of people use X remotely with ssh which is unsafe without something like this. What's unsafe about that? I don't see anything offhand, but I haven't thought about it for long enough for that to mean much. /~\ The ASCII Mouse

Re: [PATCH 0/4] fb support for 8bpp bitmaps

2014-01-15 Thread Mouse
Ideally, we'll eventually write code which makes all core operations faster with the GPU than with the CPU. What if there is no GPU? Will support for such systems be dropped? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents

Re: [PATCH 0/3] linux: Allow console switching to work without root rights

2014-01-22 Thread Mouse
that's the same when it's on stdout of course (well, worse, since you can't filter at all). Can't? Is there anything x.org runs on that doesn't support something greppish? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents

Re: evdev on non-Linux systems (Re: [PATCH 01/12] dbus-core: Move to hw/xfree86/common dir)

2014-01-30 Thread Mouse
had its weaknesses, but it ran on a _lot_ of hardware and software pairings. Is X.org dropping - has X.org dropped - that? Sure sounds like it. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8

Re: evdev on non-Linux systems (Re: [PATCH 01/12] dbus-core: Move to hw/xfree86/common dir)

2014-01-30 Thread Mouse
Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info