audit: do not needlessly take a spinlock in copy_signal
authorEric Paris <eparis@redhat.com>
Tue, 30 Apr 2013 14:43:10 +0000 (10:43 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 30 Apr 2013 19:31:28 +0000 (15:31 -0400)
commit2ce88dd04276839002a3b31161090d282316610b
treed327c9d66847d261bfdd1bebd853e9c368f36dab
parent46e959ea2969cc1668d09b0dc55226946cf781f1
audit: do not needlessly take a spinlock in copy_signal

current->signal->audit_* can only change from a netlink message from
current.  Obviously in this case we cannot be handling a netlink message
from current.  So there is no change these can change under us.  No need
to take a lock to read them.

Signed-off-by: Eric Paris <eparis@redhat.com>
drivers/tty/tty_audit.c