aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tty_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/tty_io.c')
-rw-r--r--drivers/char/tty_io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index e40544947135..13a53575a016 100644
--- a/drivers/char/tty_io.c
+++ b/drivers/char/tty_io.c
@@ -3530,7 +3530,7 @@ void __do_SAK(struct tty_struct *tty)
3530 do_each_pid_task(session, PIDTYPE_SID, p) { 3530 do_each_pid_task(session, PIDTYPE_SID, p) {
3531 printk(KERN_NOTICE "SAK: killed process %d" 3531 printk(KERN_NOTICE "SAK: killed process %d"
3532 " (%s): task_session_nr(p)==tty->session\n", 3532 " (%s): task_session_nr(p)==tty->session\n",
3533 p->pid, p->comm); 3533 task_pid_nr(p), p->comm);
3534 send_sig(SIGKILL, p, 1); 3534 send_sig(SIGKILL, p, 1);
3535 } while_each_pid_task(session, PIDTYPE_SID, p); 3535 } while_each_pid_task(session, PIDTYPE_SID, p);
3536 /* Now kill any processes that happen to have the 3536 /* Now kill any processes that happen to have the
@@ -3540,7 +3540,7 @@ void __do_SAK(struct tty_struct *tty)
3540 if (p->signal->tty == tty) { 3540 if (p->signal->tty == tty) {
3541 printk(KERN_NOTICE "SAK: killed process %d" 3541 printk(KERN_NOTICE "SAK: killed process %d"
3542 " (%s): task_session_nr(p)==tty->session\n", 3542 " (%s): task_session_nr(p)==tty->session\n",
3543 p->pid, p->comm); 3543 task_pid_nr(p), p->comm);
3544 send_sig(SIGKILL, p, 1); 3544 send_sig(SIGKILL, p, 1);
3545 continue; 3545 continue;
3546 } 3546 }
@@ -3560,7 +3560,7 @@ void __do_SAK(struct tty_struct *tty)
3560 filp->private_data == tty) { 3560 filp->private_data == tty) {
3561 printk(KERN_NOTICE "SAK: killed process %d" 3561 printk(KERN_NOTICE "SAK: killed process %d"
3562 " (%s): fd#%d opened to the tty\n", 3562 " (%s): fd#%d opened to the tty\n",
3563 p->pid, p->comm, i); 3563 task_pid_nr(p), p->comm, i);
3564 force_sig(SIGKILL, p); 3564 force_sig(SIGKILL, p);
3565 break; 3565 break;
3566 } 3566 }