| .. | .. |
|---|
| 44 | 44 | tty_pgrp = tty->pgrp; |
|---|
| 45 | 45 | spin_unlock_irqrestore(&tty->ctrl_lock, flags); |
|---|
| 46 | 46 | |
|---|
| 47 | | - if (tty_pgrp && pgrp != tty->pgrp) { |
|---|
| 47 | + if (tty_pgrp && pgrp != tty_pgrp) { |
|---|
| 48 | 48 | if (is_ignored(sig)) { |
|---|
| 49 | 49 | if (sig == SIGTTIN) |
|---|
| 50 | 50 | ret = -EIO; |
|---|
| .. | .. |
|---|
| 178 | 178 | |
|---|
| 179 | 179 | /** |
|---|
| 180 | 180 | * tty_signal_session_leader - sends SIGHUP to session leader |
|---|
| 181 | | - * @tty controlling tty |
|---|
| 182 | | - * @exit_session if non-zero, signal all foreground group processes |
|---|
| 181 | + * @tty: controlling tty |
|---|
| 182 | + * @exit_session: if non-zero, signal all foreground group processes |
|---|
| 183 | 183 | * |
|---|
| 184 | 184 | * Send SIGHUP and SIGCONT to the session leader and its process group. |
|---|
| 185 | 185 | * Optionally, signal all processes in the foreground process group. |
|---|
| .. | .. |
|---|
| 316 | 316 | read_unlock(&tasklist_lock); |
|---|
| 317 | 317 | } |
|---|
| 318 | 318 | |
|---|
| 319 | | -/** |
|---|
| 319 | +/* |
|---|
| 320 | 320 | * |
|---|
| 321 | 321 | * no_tty - Ensure the current process does not have a controlling tty |
|---|
| 322 | 322 | */ |
|---|