summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2013-04-30 16:46:46 +0200
committerEric Paris <eparis@redhat.com>2013-04-30 21:31:28 +0200
commitbee0a224e791cccbc7ecd7faf2d5932942668976 (patch)
tree2ce6e13d41ce4c6b30e68ca18700d695ca950206 /block
parentaudit: do not needlessly take a spinlock in copy_signal (diff)
downloadlinux-bee0a224e791cccbc7ecd7faf2d5932942668976.tar.xz
linux-bee0a224e791cccbc7ecd7faf2d5932942668976.zip
audit: do not needlessly take a lock in tty_audit_exit
We were doing spin_lock_irq and spin_unlock_irq. This is STOOPID. If we were in interupt context we were already screwed and called panic() in do_exit(). So the irq stuff is useless. Also, these values can only be changed by receiving a netlink message from current. Since we are in do_exit() clearly we aren't in the syscall sending the netlink message to change these values. Thus, just read them and go with it. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions