mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [PATCH 1/3] tty: Add the new termios2 ioctls to the compatible list.
Date: Mon, 19 Nov 2007 23:02:49 -0800	[thread overview]
Message-ID: <20071119230249.874ba094.akpm@linux-foundation.org> (raw)
In-Reply-To: <20071119125206.GA8623@osiris.boeblingen.de.ibm.com>

On Mon, 19 Nov 2007 13:52:06 +0100 Heiko Carstens <heiko.carstens@de.ibm.com> wrote:

> From: Heiko Carstens <heiko.carstens@de.ibm.com>
> 
> Make them depend on TCGETS2. If that one is implemented the rest
> should be there as well.
> 
> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
> ---
> 
>  fs/compat_ioctl.c |    6 ++++++
>  1 file changed, 6 insertions(+)
> 
> Index: linux-2.6/fs/compat_ioctl.c
> ===================================================================
> --- linux-2.6.orig/fs/compat_ioctl.c
> +++ linux-2.6/fs/compat_ioctl.c
> @@ -1954,6 +1954,12 @@ ULONG_IOCTL(TIOCSCTTY)
>  COMPATIBLE_IOCTL(TIOCGPTN)
>  COMPATIBLE_IOCTL(TIOCSPTLCK)
>  COMPATIBLE_IOCTL(TIOCSERGETLSR)
> +#ifdef TCGETS2
> +COMPATIBLE_IOCTL(TCGETS2)
> +COMPATIBLE_IOCTL(TCSETS2)
> +COMPATIBLE_IOCTL(TCSETSW2)
> +COMPATIBLE_IOCTL(TCSETSF2)
> +#endif
>  /* Little f */
>  COMPATIBLE_IOCTL(FIOCLEX)
>  COMPATIBLE_IOCTL(FIONCLEX)

Should this be in 2.6.24?

  parent reply	other threads:[~2007-11-20  7:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-19 12:52 Heiko Carstens
2007-11-19 13:50 ` Alan Cox
2007-11-20  7:02 ` Andrew Morton [this message]
2007-11-20  8:30   ` Heiko Carstens

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=20071119230249.874ba094.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=heiko.carstens@de.ibm.com \
    --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

all inboxes | Powered by JetHome®