mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Rhino <rhino9@terra.com.br>
Cc: linux-kernel@vger.kernel.org, Roland McGrath <roland@redhat.com>
Subject: Re: 2.6.0-test6-mm3
Date: Sat, 4 Oct 2003 09:49:13 -0700	[thread overview]
Message-ID: <20031004094913.77d878ec.akpm@osdl.org> (raw)
In-Reply-To: <20031004105227.7e63240c.rhino9@terra.com.br>

Rhino <rhino9@terra.com.br> wrote:
>
> got these endless messages :
> 
>  pid 4220 pgrp 4220 sid 3542 tty 00000000 ENOTTY vs tty f7984000 sid 0
>  pid 4221 pgrp 4220 sid 3542 tty 00000000 ENOTTY vs tty f7984000 sid 0
>  pid 4219 pgrp 3542 sid 3542 tty 00000000 ENOTTY vs tty f7984000 sid 0

I don't know why that was added actually; maybe it is just left-over
debugging code. 

 drivers/char/tty_io.c |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff -puN drivers/char/tty_io.c~job-control-remove-debug drivers/char/tty_io.c
--- 25/drivers/char/tty_io.c~job-control-remove-debug	2003-10-04 09:46:56.000000000 -0700
+++ 25-akpm/drivers/char/tty_io.c	2003-10-04 09:47:21.000000000 -0700
@@ -1591,22 +1591,13 @@ static int tiocspgrp(struct tty_struct *
 	pid_t pgrp;
 	int retval = tty_check_change(real_tty);
 
-	if (retval == -EIO) {
-		printk(KERN_WARNING "pid %d pgrp %d tty_check_change EIO\n",
-			current->pid, current->signal->pgrp);
+	if (retval == -EIO)
 		return -ENOTTY;
-	}
 	if (retval)
 		return retval;
 	if (!process_tty(current) || (process_tty(current) != real_tty) ||
-			(real_tty->session != process_session(current))) {
-		printk(KERN_WARNING "pid %d pgrp %d sid %d tty %p "
-				"ENOTTY vs tty %p sid %d\n",
-			current->pid, process_group(current),
-			process_session(current), process_tty(current),
-			real_tty, real_tty->session);
+			(real_tty->session != process_session(current)))
 		return -ENOTTY;
-	}
 	if (get_user(pgrp, (pid_t *) arg))
 		return -EFAULT;
 	if (pgrp < 0)

_
 

  reply	other threads:[~2003-10-04 16:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-04  9:12 2.6.0-test6-mm3 Andrew Morton
2003-10-04 14:52 ` 2.6.0-test6-mm3 Rhino
2003-10-04 16:49   ` Andrew Morton [this message]
2003-10-04 20:02     ` 2.6.0-test6-mm3 Roland McGrath
2003-10-04 19:29 ` 2.6.0-test6-mm3 Jeff Garzik

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=20031004094913.77d878ec.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rhino9@terra.com.br \
    --cc=roland@redhat.com \
    /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

Powered by JetHome