Decode TIOCSCTTY's third parameter
* term.c (term_ioctl): Decode TIOCSCTTY's third parameter. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
parent
7f3aca1af9
commit
6a4ac6ccc8
8
term.c
8
term.c
@ -326,6 +326,11 @@ int term_ioctl(struct tcb *tcp, long code, long arg)
|
||||
printxval(tcflsh_options, arg, "TC???");
|
||||
return 1;
|
||||
#endif
|
||||
#ifdef TIOCSCTTY
|
||||
case TIOCSCTTY:
|
||||
tprintf(", %ld", arg);
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
/* ioctls with an indirect parameter displayed as modem flags */
|
||||
|
||||
@ -425,9 +430,6 @@ int term_ioctl(struct tcb *tcp, long code, long arg)
|
||||
|
||||
/* ioctls with no parameters */
|
||||
|
||||
#ifdef TIOCSCTTY
|
||||
case TIOCSCTTY:
|
||||
#endif
|
||||
#ifdef TIOCNOTTY
|
||||
case TIOCNOTTY:
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user