lkml.org 
[lkml]   [2012]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] delete seven tty headers
On 06/08/2012 04:03 PM, Arnd Bergmann wrote:
> I think we should just apply the patches the way you sent them. We are
> in the much stricter about binary compatibility than about source level
> compatibility, and we already broke any potential user space applications
> that might be using these headers by removing the drivers implementing
> the kernel side of them, after deciding that they were unused!

Yes, but this patch is about breaking builds of toolkits. Some of the
tools from such toolkits still might work without the removed drivers.

> Building user space code against new kernel headers to run on old
> kernels is not really supported, because that might rely on new interfaces
> to be present. The only reason to keep the headers around would be to
> keep broken user space code building. I would not expect such code to
> still exist for the two header files, and if it does, then giving
> it an extra six months before it needs to be fixed is not going to
> make much of a difference.

I agree (I wrote I doubt there are any users at all). But I would prefer
going through the deprecation phase (adding a #warning) anyway. Removing
the headers completely in a year, or maybe sooner is OK then.

> OTOH, if it turns out that a modern distro still contains a package
> that relies on these headers, I would advocate putting a minimal
> header file with a #warning back into the kernel.

I think this is too late. Distros would find this out after months and
there will be no reason to re-add empty headers and backport them to
stable trees in between at that time...

> The only reference I could find on the internet to the ioctl commands
> that are getting removed is in the FreeBSD "stallion" user space,
> and they ditched the driver four years ago:
> http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/173526.html

I wish google codesearch was not abandoned...

thanks,
--
js
suse labs




\
 
 \ /
  Last update: 2012-06-11 15:23    [W:0.688 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site