summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2013-04-30 11:01:14 -0400
committerEric Paris <eparis@redhat.com>2013-04-30 15:31:28 -0400
commitbde02ca858448cf54a4226774dd1481f3bcc455e (patch)
treed5d7144d1314cba0c055b3804db35e06987a7956 /include
parent4d3fb709b285ac885c40950a837edbfc90029c5f (diff)
downloadlinux-bde02ca858448cf54a4226774dd1481f3bcc455e.tar.gz
linux-bde02ca858448cf54a4226774dd1481f3bcc455e.tar.bz2
linux-bde02ca858448cf54a4226774dd1481f3bcc455e.zip
audit: use spin_lock_irqsave/restore in audit tty code
Some of the callers of the audit tty function use spin_lock_irqsave/restore. We were using the forced always enable version, which seems really bad. Since I don't know every one of these code paths well enough, it makes sense to just switch everything to the safe version. Maybe it's a little overzealous, but it's a lot better than an unlucky deadlock when we return to a caller with irq enabled and they expect it to be disabled. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions