summaryrefslogtreecommitdiffstats
path: root/security/selinux/nlmsgtab.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2016-01-10 06:35:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-28 00:13:28 +0100
commit4a510969374ab8853451c337e43d28fb864e43fd (patch)
tree7868ef29c68bd7265dcf6fe5b2ab4088abeb7842 /security/selinux/nlmsgtab.c
parenttty: Remove unreferenced tty flags macro TTY_DEBUG (diff)
downloadlinux-4a510969374ab8853451c337e43d28fb864e43fd.tar.xz
linux-4a510969374ab8853451c337e43d28fb864e43fd.zip
tty: Make tty_files_lock per-tty
Access to tty->tty_files list is always per-tty, never for all ttys simultaneously. Replace global tty_files_lock spinlock with per-tty ->files_lock. Initialize when the ->tty_files list is inited, in alloc_tty_struct(). Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/selinux/nlmsgtab.c')
0 files changed, 0 insertions, 0 deletions