git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f0c5fa
)
audit: rework AUDIT_TTY_SET to only grab spin_lock once
author
Eric Paris
<eparis@redhat.com>
Tue, 14 Jan 2014 02:12:34 +0000
(21:12 -0500)
committer
Eric Paris
<eparis@redhat.com>
Tue, 14 Jan 2014 03:33:41 +0000
(22:33 -0500)
We can simplify the AUDIT_TTY_SET code to only grab the spin_lock one
time. We need to determine if the new values are valid and if so, set
the new values at the same time we grab the old onces. While we are
here get rid of 'res' and just use err.
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit.c
patch
|
blob
|
history
diff --cc
kernel/audit.c
Simple merge