Re: [PATCH] weston-launch: Protect KDGKBMODE K_OFF ioctl by KERNEL_VERSION check

2016-11-16 Thread Daniel Stone
Hi Krzysztof, On 27 September 2016 at 22:44, Dima Ryazanov wrote: > The kernel version used to build Weston isn't necessarily the same as the > version that will be used to run it. Weston should already work fine on > older versions: the second ioctl will return an error - but it's ok as long > a

Re: [PATCH] weston-launch: Protect KDGKBMODE K_OFF ioctl by KERNEL_VERSION check

2016-09-27 Thread Dima Ryazanov
The kernel version used to build Weston isn't necessarily the same as the version that will be used to run it. Weston should already work fine on older versions: the second ioctl will return an error - but it's ok as long as the first one succeeds. Also, a compile-time check would prevent Weston b

[PATCH] weston-launch: Protect KDGKBMODE K_OFF ioctl by KERNEL_VERSION check

2016-09-27 Thread Krzysztof Konopko
From: Tomasz SZKUTKOWSKI This patch disables unsupported ioctl `KDGKBMODE K_OFF` command if Weston is built against kernel older than 2.6.39, as this ioctl has been introduced in 2.6.39 kernel version. No functional changes have been observed by disabling this ioctl. Signed-off-by: Tomasz SZKUT

[PATCH] weston-launch: Protect KDGKBMODE K_OFF ioctl by KERNEL_VERSION check

2016-09-15 Thread Krzysztof Konopko
From: Tomasz SZKUTKOWSKI This patch disables unsupported ioctl `KDGKBMODE K_OFF` command if Weston is built against kernel older than 2.6.39, as this ioctl has been introduced in 2.6.39 kernel version. No functional changes have been observed by disabling this ioctl. Signed-off-by: Tomasz SZKUT