[PATCH] dix: if the scroll valuator reaches INT_MAX, reset to 0

2012-06-07 Thread Peter Hutterer
Too much scrolling down may eventually trigger an overflow of the valuator. If this happens, reset the valuator to 0 and skip this event for button emulation. Clients will have to figure out a way to deal with this, but a scroll event from (close to) INT_MAX to 0 is a hint of that it needs to be

Re: [PATCH evdev 1/6] Use xf86IDrvMsg in emuMB.c instead of ErrorF

2012-06-07 Thread walter harms
I guess the message should read ?! replacing ErrorF() with xf86IDrvMsg() to make ErrorF obsolete re, wh Am 07.06.2012 03:36, schrieb Peter Hutterer: Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/emuMB.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH evdev 1/6] Use xf86IDrvMsg in emuMB.c instead of ErrorF

2012-06-07 Thread Peter Hutterer
On 7/06/12 19:27 , walter harms wrote: I guess the message should read ?! replacing ErrorF() with xf86IDrvMsg() to make ErrorF obsolete not quite, ErrorF is still the primary error logging function inside the server. For drivers though we have xf86IDrvMsg, which automatically logs the

Re: Security: Absolute Client vetting or trust a remote root?

2012-06-07 Thread Mike Mestnik
Forgot the action item. Along with reading about what's up and the various positions, form your own opinion. I'm not saying you should be in one camp or the other or that you even have to pick one side... ever. Just that you have an idea about what you think. As a proposed 'quick fix' with any

Security: Absolute Client vetting or trust a remote root?

2012-06-07 Thread Mike Mestnik
Hello, I just got done slamming, perhaps as a troll, a lwn.net article. I may have gone too far and I don't believe you can go to far when it comes to security. I'm not the type to give up, you've attached with a keylogger to my X... Well now your keylogger is attached to my sub-server and

Re: Security: Absolute Client vetting or trust a remote root?

2012-06-07 Thread Michal Suchanek
Hello. There has never been any security in the X protocol beyond the connection authentication. You have not been told it was removed because it has not, there has never been. There is some stuff in place that discriminates remote and local clients and forbids remote clients doing some stuff

[PATCH] xserver: fix build on arm tinderbox

2012-06-07 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com Rob Clark got an ARM tinderbox up and running, and this code is built there but not here, this should fix it, though I hope that code never gets executed. Signed-off-by: Dave Airlie airl...@redhat.com --- hw/xfree86/int10/generic.c |8 1 file

Re: [PATCH evdev 1/6] Use xf86IDrvMsg in emuMB.c instead of ErrorF

2012-06-07 Thread Chase Douglas
On 06/06/2012 06:36 PM, Peter Hutterer wrote: Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/emuMB.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emuMB.c b/src/emuMB.c index eb01495..b25eac8 100644 --- a/src/emuMB.c +++ b/src/emuMB.c @@

Re: [PATCH] dix: if the scroll valuator reaches INT_MAX, reset to 0

2012-06-07 Thread Chase Douglas
On 06/07/2012 12:00 AM, Peter Hutterer wrote: Too much scrolling down may eventually trigger an overflow of the valuator. If this happens, reset the valuator to 0 and skip this event for button emulation. Clients will have to figure out a way to deal with this, but a scroll event from (close

Re: Security: Absolute Client vetting or trust a remote root?

2012-06-07 Thread Alan Coopersmith
On 06/ 7/12 05:12 AM, Mike Mestnik wrote: The fix is to disable this code whenever a TCP client is connected. People who care about security already fixed that by running with -nolisten tcp. -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris

[PATCH] openchrome: update to new API.

2012-06-07 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com Signed-off-by: Dave Airlie airl...@redhat.com --- src/Makefile.am |1 + src/compat-api.h | 105 ++ src/via_accel.c | 36 +-- src/via_bios.h |2 +- src/via_cursor.c |6 ++--

Re: [PATCH v5 2/5] Add XInput 2.x integration test framework

2012-06-07 Thread Chase Douglas
On 06/04/2012 09:41 PM, Peter Hutterer wrote: On Fri, May 25, 2012 at 09:06:09AM -0700, Chase Douglas wrote: Signed-off-by: Chase Douglas chase.doug...@canonical.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- configure.ac | 14 +++ test/integration/.gitignore

Re: [PATCH v5 3/5] Add test for XIQueryPointer button mask when physical touch is active

2012-06-07 Thread Chase Douglas
On 06/04/2012 09:41 PM, Peter Hutterer wrote: On Fri, May 25, 2012 at 09:06:10AM -0700, Chase Douglas wrote: Signed-off-by: Chase Douglas chase.doug...@canonical.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- Changes since v4: * Allocate XI event mask using mask length * Skip

Re: [PATCH v5 4/5] Add test for touch end on device disable

2012-06-07 Thread Chase Douglas
On 06/04/2012 09:41 PM, Peter Hutterer wrote: On Fri, May 25, 2012 at 09:06:11AM -0700, Chase Douglas wrote: When a device is disabled, all physically active touches must end. Signed-off-by: Chase Douglas chase.doug...@canonical.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net ---

[PATCH v6 0/5] Add input tests and a fix

2012-06-07 Thread Chase Douglas
This patchset hopefully is the finale for adding an integration test framework built on xorg-gtest, a couple of tests for XInput 2.x bugs, and a fix for a touch-related bug. I have updated the branch with these patches on git.freedesktop.org:

[PATCH v6 1/5] Add xorg-gtest integration test framework

2012-06-07 Thread Chase Douglas
Signed-off-by: Chase Douglas chase.doug...@canonical.com --- configure.ac| 21 +- m4/xorg-gtest.m4| 110 +++ test/Makefile.am|2 +- test/integration/Makefile-xorg-gtest.am | 64

[PATCH v6 2/5] Add XInput 2.x integration test framework

2012-06-07 Thread Chase Douglas
Signed-off-by: Chase Douglas chase.doug...@canonical.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- configure.ac | 14 +++ test/integration/.gitignore |1 + test/integration/Makefile.am | 24 ++ test/integration/xi2.cpp | 194

[PATCH v6 3/5] Add test for XIQueryPointer button mask when physical touch is active

2012-06-07 Thread Chase Douglas
Signed-off-by: Chase Douglas chase.doug...@canonical.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- .../recordings/ntrig_dell_xt2/device.prop | 32 .../recordings/ntrig_dell_xt2/touch_1_begin.record | 11 +++ .../recordings/ntrig_dell_xt2/touch_1_end.record |

[PATCH v6 4/5] Add test for touch end on device disable

2012-06-07 Thread Chase Douglas
When a device is disabled, all physically active touches must end. Signed-off-by: Chase Douglas chase.doug...@canonical.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- test/integration/xi2.cpp | 79 ++ 1 file changed, 79 insertions(+)

Re: [PATCH] dix: if the scroll valuator reaches INT_MAX, reset to 0

2012-06-07 Thread Peter Hutterer
On Thu, Jun 07, 2012 at 07:47:02AM -0700, Chase Douglas wrote: On 06/07/2012 12:00 AM, Peter Hutterer wrote: Too much scrolling down may eventually trigger an overflow of the valuator. If this happens, reset the valuator to 0 and skip this event for button emulation. Clients will have to

Looking ahead to the 7.8 katamari

2012-06-07 Thread Alan Coopersmith
As is traditional when we release a katamari, I have created a new wiki page http://wiki.x.org/wiki/Releases/7.8 to hold the incomplete todo items carried forward from the 7.7 page, and a few other things that have been discussed but not previously put into the wiki. Developers, please use your X

[PULL] integration tests

2012-06-07 Thread Peter Hutterer
This is the first few tests and basic layout of the integration test suite Chase wrote. It's not unlike XTS, but based on xorg-gtest and googletest, plus it's integrated into the server repo so we can keep behaviour tests in lockstep with the actual patches. The current tests need to be run as

Re: Security: Absolute Client vetting or trust a remote root?

2012-06-07 Thread Mike Mestnik
On 06/07/12 12:30, Alan Coopersmith wrote: On 06/ 7/12 05:12 AM, Mike Mestnik wrote: The fix is to disable this code whenever a TCP client is connected. People who care about security already fixed that by running with -nolisten tcp. That disables a major feature of the Network Transparent

Re: [PATCH v6 0/5] Add input tests and a fix

2012-06-07 Thread Peter Hutterer
On Thu, Jun 07, 2012 at 02:12:01PM -0700, Chase Douglas wrote: This patchset hopefully is the finale for adding an integration test framework built on xorg-gtest, a couple of tests for XInput 2.x bugs, and a fix for a touch-related bug. I have updated the branch with these patches on

Re: Security: Absolute Client vetting or trust a remote root?

2012-06-07 Thread Peter Hutterer
On Thu, Jun 07, 2012 at 07:03:25AM -0500, Mike Mestnik wrote: Hello, I just got done slamming, perhaps as a troll, a lwn.net article. I may have gone too far and I don't believe you can go to far when it comes to security. I'm not the type to give up, you've attached with a keylogger to

Re: Security: Absolute Client vetting or trust a remote root?

2012-06-07 Thread Mike Mestnik
On 06/07/12 21:07, Peter Hutterer wrote: On Thu, Jun 07, 2012 at 07:03:25AM -0500, Mike Mestnik wrote: Hello, I just got done slamming, perhaps as a troll, a lwn.net article. I may have gone too far and I don't believe you can go to far when it comes to security. I'm not the type to give

Re: Security: Absolute Client vetting or trust a remote root?

2012-06-07 Thread Mike Mestnik
On 06/07/12 21:33, Mike Mestnik wrote: On 06/07/12 21:07, Peter Hutterer wrote: On Thu, Jun 07, 2012 at 07:03:25AM -0500, Mike Mestnik wrote: Hello, I just got done slamming, perhaps as a troll, a lwn.net article. I may have gone too far and I don't believe you can go to far when it comes

Re: Security: Absolute Client vetting or trust a remote root?

2012-06-07 Thread Alan Coopersmith
On 06/ 7/12 06:43 PM, Mike Mestnik wrote: On 06/07/12 12:30, Alan Coopersmith wrote: On 06/ 7/12 05:12 AM, Mike Mestnik wrote: The fix is to disable this code whenever a TCP client is connected. People who care about security already fixed that by running with -nolisten tcp. That disables

[PATCH] Make stub version of fbdevHWAdjustFrame match new prototype in fbdevhw.h

2012-06-07 Thread Alan Coopersmith
Removed flags argument to match api rework in commit 1f0e8bd5eb1a55 Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- hw/xfree86/fbdevhw/fbdevhwstub.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/fbdevhw/fbdevhwstub.c

Re: [PATCH xf86-input-synaptics v2 2/2] Turn down the default sensitivity for unibody MacBook touchpads

2012-06-07 Thread Peter Hutterer
On Wed, Jun 06, 2012 at 03:34:40PM -0700, Chase Douglas wrote: The touchpads are too sensitive by default. A touch is activated when a finger hovers a millimeter off the device. This change turns down the default sensitivity so that accidental touchpad interactions are lessened and pointer