whitespace fixes: audit filtering
Signed-off-by: Daniel Walker <dwalker@mvista.com> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
1bfbc608ba
commit
9ce34218a8
@@ -1498,7 +1498,7 @@ int audit_receive_filter(int type, int pid, int uid, int seq, void *data,
|
|||||||
* auditctl to read from it... which isn't ever going to
|
* auditctl to read from it... which isn't ever going to
|
||||||
* happen if we're actually running in the context of auditctl
|
* happen if we're actually running in the context of auditctl
|
||||||
* trying to _send_ the stuff */
|
* trying to _send_ the stuff */
|
||||||
|
|
||||||
dest = kmalloc(sizeof(struct audit_netlink_list), GFP_KERNEL);
|
dest = kmalloc(sizeof(struct audit_netlink_list), GFP_KERNEL);
|
||||||
if (!dest)
|
if (!dest)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
@@ -1678,7 +1678,7 @@ int audit_filter_type(int type)
|
|||||||
{
|
{
|
||||||
struct audit_entry *e;
|
struct audit_entry *e;
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
rcu_read_lock();
|
rcu_read_lock();
|
||||||
if (list_empty(&audit_filter_list[AUDIT_FILTER_TYPE]))
|
if (list_empty(&audit_filter_list[AUDIT_FILTER_TYPE]))
|
||||||
goto unlock_and_return;
|
goto unlock_and_return;
|
||||||
|
Reference in New Issue
Block a user