Eric Paris bee0a224e7 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>
2013-04-30 15:31:28 -04:00
..
2012-12-11 14:08:47 -08:00
2012-11-21 15:27:46 -08:00
2012-11-21 15:22:52 -08:00
2012-11-21 15:27:46 -08:00
2012-11-21 15:27:46 -08:00
2012-11-21 15:27:46 -08:00
2012-11-15 17:20:57 -08:00
2012-08-10 12:55:47 -07:00
2012-11-21 15:27:46 -08:00
2012-11-21 15:25:06 -08:00
2012-11-21 15:27:46 -08:00
2012-11-21 15:27:46 -08:00
2012-11-21 15:27:46 -08:00
2012-11-15 17:20:58 -08:00