diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1087,6 +1087,7 @@ EXPORT_SYMBOL(sys_close); | |||
1087 | asmlinkage long sys_vhangup(void) | 1087 | asmlinkage long sys_vhangup(void) |
1088 | { | 1088 | { |
1089 | if (capable(CAP_SYS_TTY_CONFIG)) { | 1089 | if (capable(CAP_SYS_TTY_CONFIG)) { |
1090 | /* XXX: this needs locking */ | ||
1090 | tty_vhangup(current->signal->tty); | 1091 | tty_vhangup(current->signal->tty); |
1091 | return 0; | 1092 | return 0; |
1092 | } | 1093 | } |