[3.8.y.z extended stable] Patch "drm: Pad drm_mode_get_connector to 64-bit boundary" has been added to staging queue

2013-11-07 Thread Kamal Mostafa
This is a note to let you know that I have just added a patch titled drm: Pad drm_mode_get_connector to 64-bit boundary to the linux-3.8.y-queue branch of the 3.8.y.z extended stable tree which can be found at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-

[3.5.y.z extended stable] Patch "drm: Pad drm_mode_get_connector to 64-bit boundary" has been added to staging queue

2013-11-06 Thread Luis Henriques
This is a note to let you know that I have just added a patch titled drm: Pad drm_mode_get_connector to 64-bit boundary to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree which can be found at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-

[PATCH] drm: Pad drm_mode_get_connector to 64-bit boundary

2013-10-17 Thread Ben Hutchings
On Wed, 2013-10-16 at 13:09 +0300, Ville Syrj?l? wrote: > On Wed, Oct 16, 2013 at 09:49:02AM +0100, Chris Wilson wrote: > > Pavel Roskin reported that DRM_IOCTL_MODE_GETCONNECTOR was overwritting > > the 4 bytes beyond the end of its structure with a 32-bit userspace > > running on a 64-bit kernel.

[PATCH] drm: Pad drm_mode_get_connector to 64-bit boundary

2013-10-16 Thread Jani Nikula
On Wed, 16 Oct 2013, Chris Wilson wrote: > On Wed, Oct 16, 2013 at 01:14:53PM +0300, Jani Nikula wrote: >> > --- a/include/uapi/drm/drm_mode.h >> > +++ b/include/uapi/drm/drm_mode.h >> > @@ -223,6 +223,8 @@ struct drm_mode_get_connector { >> >__u32 connection; >> >__u32 mm_width, mm_height

[PATCH] drm: Pad drm_mode_get_connector to 64-bit boundary

2013-10-16 Thread Jani Nikula
On Wed, 16 Oct 2013, Chris Wilson wrote: > Pavel Roskin reported that DRM_IOCTL_MODE_GETCONNECTOR was overwritting > the 4 bytes beyond the end of its structure with a 32-bit userspace > running on a 64-bit kernel. This is due to the padding gcc inserts as > the drm_mode_get_connector struct inclu

[PATCH] drm: Pad drm_mode_get_connector to 64-bit boundary

2013-10-16 Thread Ville Syrjälä
On Wed, Oct 16, 2013 at 09:49:02AM +0100, Chris Wilson wrote: > Pavel Roskin reported that DRM_IOCTL_MODE_GETCONNECTOR was overwritting > the 4 bytes beyond the end of its structure with a 32-bit userspace > running on a 64-bit kernel. This is due to the padding gcc inserts as > the drm_mode_get_co

[PATCH] drm: Pad drm_mode_get_connector to 64-bit boundary

2013-10-16 Thread Chris Wilson
On Wed, Oct 16, 2013 at 01:14:53PM +0300, Jani Nikula wrote: > > --- a/include/uapi/drm/drm_mode.h > > +++ b/include/uapi/drm/drm_mode.h > > @@ -223,6 +223,8 @@ struct drm_mode_get_connector { > > __u32 connection; > > __u32 mm_width, mm_height; /**< HxW in millimeters */ > > __u32 subp

[PATCH] drm: Pad drm_mode_get_connector to 64-bit boundary

2013-10-16 Thread Chris Wilson
Pavel Roskin reported that DRM_IOCTL_MODE_GETCONNECTOR was overwritting the 4 bytes beyond the end of its structure with a 32-bit userspace running on a 64-bit kernel. This is due to the padding gcc inserts as the drm_mode_get_connector struct includes a u64 and its size is not a natural multiple o