audit: use spin_lock in audit_receive_msg to process tty logging
authorEric Paris <eparis@redhat.com>
Tue, 30 Apr 2013 15:28:04 +0000 (11:28 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 30 Apr 2013 19:31:28 +0000 (15:31 -0400)
commit7173c54e3a9deb491a586e7e107375109ee48bcb
treeeb421f7b9c16125217cb2797e0c24e535cd1f1bc
parentbee0a224e791cccbc7ecd7faf2d5932942668976
audit: use spin_lock in audit_receive_msg to process tty logging

This function is called when we receive a netlink message from
userspace.  We don't need to worry about it coming from irq context or
irqs making it re-entrant.

Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit.c