public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Kevin P. Fleming" <kpfleming@cox.net>
To: LKML <linux-kernel@vger.kernel.org>
Subject: 2.6.0-test5 _IOR/_IOW changes are breaking userspace
Date: Fri, 12 Sep 2003 11:20:43 -0700	[thread overview]
Message-ID: <3F620E7B.4090706@cox.net> (raw)

Sorry to bring up this discussion again, but the situation is getting 
worse. Previously, it was only apps that needed to issue sysctls that 
would break with the new kernel headers.

As of 2.6.0-test5, many apps that issue ioctls can no longer be 
compiled using the kernel headers that they have always used. So far 
this morning I have found three parts of util-linux-2.12, and at least 
one in mdadm-1.3.0. As I continue my build I suspect device-mapper, 
xfsprogs, mt-st and others will also have failures. The worst part is 
that the changes required to get the apps to compile are incompatible 
with all previous kernel headers.

As things get closer to 2.6.0 (for real), this is going to become a 
larger and larger problem. Without a set of userspace-compatible 
kernel headers available (and it sounds like the project to do that 
for real is 2.7 material), userspace applications have to be compiled 
against older "sanitized" headers that may not include new kernel 
features at all.

In the particular case of the ioctls used by util-linux and mdadm, 
using the RedHat "sanitized" headers would not be a problem. However, 
I want to compile device-mappper using its new version 4 ioctls, which 
I suspect are not included in the sanitized headers because they are 
not in 2.4 at all. I also need my kernel header package to include XFS 
  headers, and they are not a standard part of 2.4 either.


             reply	other threads:[~2003-09-12 18:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-12 18:20 Kevin P. Fleming [this message]
2003-09-12 18:33 ` 2.6.0-test5 _IOR/_IOW changes are breaking userspace Kevin P. Fleming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F620E7B.4090706@cox.net \
    --to=kpfleming@cox.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox