Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
xcap
xcap-capability-linux
Commits
d6e0e158
Commit
d6e0e158
authored
Jun 20, 2005
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AUDIT: Drop user-generated messages immediately while auditing disabled.
Signed-off-by:
David Woodhouse
<
dwmw2@infradead.org
>
parent
df517985
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
kernel/audit.c
kernel/audit.c
+1
-1
No files found.
kernel/audit.c
View file @
d6e0e158
...
...
@@ -437,7 +437,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
if
(
!
tsk
)
return
-
ESRCH
;
if
(
audit_filter_user
(
tsk
,
msg_type
))
{
if
(
audit_enabled
&&
audit_filter_user
(
tsk
,
msg_type
))
{
ab
=
audit_log_start
(
NULL
,
msg_type
);
if
(
ab
)
{
audit_log_format
(
ab
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment